This article will walk you through How to install WordPress on CentOS7 server.
1. Start with your server
login via SSH or KVM, via root.
2. Disable selinux.
setenforce 0
sed -i ‘s/enforcing/disabled/g’
/etc/selinux/config
3. Now run the following
command to install all the needed packages for your LAMP stack, which will host
the WordPress website.
yum install
httpd php php-common php-mysqlnd php-mbstring php-gd mariadb-server mod_ssl -y
4. The next step is updating the Apache config to
allow for htaccess to be used.
sed -i
‘s/AllowOverride none/AllowOverride all/g’ /etc/httpd/conf/httpd.conf
5. Now start Apache &
MySQL on the server.
systemctl
start httpd && systemctl start mariadb
6. You should now be able to
confirm that Apache is started by going to either the domain name you have
pointed to the server or your server IP address. In this example, we are using
the server IP address.
7. Create the MySQL database
and user for WordPress, enter the mysql command to get to a prompt ( select a
different password to the below one, just make sure it is safe!).
mysql
CREATE
DATABASE wordpress;
GRANT ALL
PRIVILEGES ON wordpress.* TO ‘wordpress’@’localhost’ IDENTIFIED BY
‘Eh4wph8WItSO’;
8. Download and put into
place the newest version of WordPress.
tar zxvf
latest.tar.gz
mkdir
/var/www/html/
mv wordpress/*
/var/www/html/
9. Update the permissions so
that we can upload files through the WordPress control panel.
chown -R
apache:apache /var/www/html
10. To complete the
WordPress installation, go to your website URL or IP address in the browser.
There will be following pages you should go through to complete the install. On
the following page you need to enter the details that you used earlier when
creating the MySQL database.
11. Your website is now
setup and ready to login to. If you go to your URL or server IP address you can see a basic WordPress
installation. You can login to your WordPress admin control panel at http://IP-ADDRESS/wp-admin/.
We deliver robust USA VPS
Server Hosting and France Dedicated Server Hosting solutions for
WordPress. We boast an excellent set of features with the Best DDos
protection that should satisfy even the most expert users, and a new easy
website designing tool makes the web host more welcoming to newbies, too.
For more information visit - https://www.youtube.com/watch?v=f2NB_VDCdmQ
3 Comments
Very well you explain about in your video about Installation On Latest Centos 7 Without Cpanel/WHM. Onlive Server are also offer UK VPS Server Hosting plans at very affordable price.
ReplyDeleteNice tutorial. I did not have much idea about WordPress installation system but through your post I know very well how to install WordPress ion latest Centos 7. Good team, we are also offering Australia VPS Server services at an affordable price. By the way good job team.
ReplyDeleteNice Video and very helpful Information WordPress Installation On Latest Centos 7 for me. because, I was don't know information about WordPress installation system. So thanks for sharing this video. other than this, If you want web hosting services then here can you get Cloud VPS Server, Dedicated Server, VPS Hosting and etc services.
ReplyDeleteYour Post is Publishing