Install wordpress on your VPS

Step 1 – Download WordPress

Download the actual WordPress files from the project’s website.

Luckily, the WordPress team always links the most recent stable version of their software to the same URL, so we can get the most up-to-date version of WordPress by typing this:

cd /home/username/public_html
wget http://wordpress.org/latest.tar.gz

This will download a compressed file that contains the archived directory contents of the WordPress files to our home directory.

We can extract the files to rebuild the WordPress directory we need by typing:

tar -xzvf latest.tar.gz

 

This will create a directory called wordpress in your home directory.

If you want your first page to be your wordpress home page, you will first need to copy all files in the directory wordpress to your public_html directory of your username. You can use midnight commander.

Whjen you have done this, you can just delete the wordpress directory in midnight commander.

While we are downloading things, we should also get a few more packages that we need. We can get these directly from Ubuntu’s default repositories after we update our local package index:

sudo apt-get update
sudo apt-get install php5-gd libssh2-php

This will allow you to work with images and will also allow you to install plugins and update portions of your site using your SSH login credentials.

Step 2 — Configure WordPress

Go the the wordpress configuration page:

http://yourvpsip/wp-config.php

Step Five — Complete Installation through the Web Interface

Now that you have your files in place and your software is configured, you can complete the installation through the web interface.

In your web browser, navigate to your server’s domain name or public IP address:

http://server_domain_name_or_IP

You will see the WordPress initial configuration page, where you will create an initial administrator account:

Wordpress initial config

Fill out the information for the site and the administrative account you wish to make. When you are finished, click on the install button at the bottom.

WordPress will confirm the installation, and then ask you to log in with the account you just created:

WordPress confirm install

Hit the button at the bottom and then fill out your account information:

WordPress login

You will be presented with the WordPress interface:

WordPress admin interface

Leave a Reply

Your email address will not be published. Required fields are marked *