How to install wordpress manually on domain.

Started by Rahul Sambre, June 07, 2016, 07:51:05 PM

Previous topic - Next topic

Rahul Sambre

Hi,

Simply Login to the server by using SSH.
Then go to the document root of the domain that is "/home/user/public_html"
We can download Wordpress file in public_html from their website via using below command.

Quotewget http://wordpress.org/latest.tar.gz

Above command will download the zipped wordpress package to domains public_html directory.
You can unzip it the the below command.

Quotetar -xzvf latest.tar.gz

Then create a wordpress database.[You can refer How to create database]
Then move the wordpress config file wp-config-sample.php to wp-config.php

Quotemv wp-config-sample.php wp-config.php

Then open the wordpress config by using below command.

Quotevi wp-config.php

Find the section that contains the field below and substitute in the correct name for your database, username, and password

Quote// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define('DB_NAME', 'place here DB name');

/** MySQL database username */
define('DB_USER', 'Place here user name');

/** MySQL database password */
define('DB_PASSWORD', 'Place here DB password');

Give ownership of the directory to the apache user. by using below command.

Quotechown username:username Wordpress directory -R

Move all wordpress file to public_html.
Once that is all done, Access the page by adding /wp-admin to your site's domain like (Domain.com/wp-admin) and fill online form.

That's all !!!  :)