In this short tutorial, we will install WordPress on an Ubuntu server. Before you begin you will need to configure and verify network connectivity.

You will also need to install the following software:

  • Apache2
  • php5
  • vsftp (or your favorite FTP program)
  • openssh-server (or your favorite ssh program)
  • MySQL

To begin installing WordPress, first, we will download and install the WordPress software: wget http://wordpress.org/latest.tar.gz

Then extract the file: sudo tar -zxvf latest.tar.gz The extracted file is named WordPress.

Now move the wordpress folder into the /var/www directory: sudo mv wordpress /var/www/wordpress

Change directory to /var/www: cd /var/www

Start the mysql software installed on your server: mysql -u -root -p

Next, enter the command: Create database wordpress; This command creates a database called wordpess.

To confirm that the database was created successful enter the command: Show databases;

Once you have confirmed the “WordPress” database enter the command: Exit

Rename your wp-config.sample.php file to wp-config.php:  sudo mv wp-config-sample.php wp-config.php

Next, edit the file wp-config.php: sudo nano wp-config.php

For the next step, we will install php5-mysql. This is very important:  sudo apt-get install php5-MySQL

Finally, restart apache: sudo /etc/init.d/apache2 restart

Test to ensure that the install was successful- enter your IP address into your internet browser and hit enter. If the install was successful you should be directed to a WordPress activation page.

You are done!,  WordPress has now been installed.

To find out how to use one WordPress database for several blogs… Check-out http://flawlesspix.com for more info.

 

ServerPronto offers the best affordable and secure hosting service in all dedicated server packages.

Comments are closed.