MilesWeb
MilesWeb Hosting Forum

Please login or register.

Login with username, password and session length

 

News:

SMF - Just Installed!


Author Topic: How to install wordpress manually on domain.  (Read 3000 times)

0 Members and 1 Guest are viewing this topic.

Offline Rahul Sambre

  • Newbie
  • *
  • Posts: 24
  • Karma: +0/-0
    • View Profile
How to install wordpress manually on domain.
« on: June 07, 2016, 07:51:05 PM »
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.

Quote
wget 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.

Quote
tar -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

Quote
mv wp-config-sample.php wp-config.php

Then open the wordpress config by using below command.

Quote
vi 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.

Quote
chown 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 !!!  :)
« Last Edit: June 13, 2016, 03:51:47 PM by Rahul Sambre »

MilesWeb Hosting Forum

How to install wordpress manually on domain.
« on: June 07, 2016, 07:51:05 PM »