How to install WordPress?

How to install WordPress?

November 9, 2017 0 By Nitikesh Pattanayak

For Hosting,

Log into the Cpanel/ZPanel.

Then under Software category, you will find Site Software. Click on it.

Then Select WordPress And Click on it Again.

After the steps, Provide the Information related to your business/Blog E.g: Title, Description, Username, Password etc.

Congratulations!! You have successfully Installed WordPress in Your Hosting Provider.

 

For VPS,

You can either install cPanel/zPanel into your server by typing:

cd /home && curl -o latest -L http://httpupdate.cpanel.net/latest && sh latest (For Centos)
#cPanel currently does not support for Debian based OS. But we can use zPanel.
wget https://raw.githubusercontent.com/zpanel/installers/master/install/beta/Ubuntu-14_04-LTS/ubuntu-14.04-LTS-apache2.4.9-php5.5.14.sh

Or You can configure it manually,

Download WordPress and extract it.

wget https://wordpress.org/latest.zip

unzip latest.zip

cd latest

#Now install mysql in the server.

sudo apt-get install mysql-server (Ubuntu)

sudo yum install mysql-server (CentOS)

#Now create a database using mysql server

mysql -u USERNAME -p

>Create database demo;
>exit

Now run apache2 in the server and copy all the files to /var/www/html folder to avoid unnecessary configuration setting changes.

cd ~/latest

cp -r * /var/www/html

#Now restart your apache server.

service apache2 restart

Now visit your ip/domain to access your wordpress Site and install it.