ServerPronto Dedicated Servers
       ServerPronto Home   ServerPronto University     
ServerPronto University  

Support of the day: WordPress installation on Ubuntu Server


November 30th, 2011

In this short tutorial we will install WordPress on a Ubuntu 11.04 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 successfully- 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.

Your 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.



Entry Filed under: Support of the day

 

1 Comment Add your own

  • 1. Francis  |  November 30th, 2011 at 9:55 pm

    Great tip! I use the WordPress blog engine on all of my web servers. My customers request it by name.

Leave a Comment

hidden
Comment:

Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Trackback this post  |  Subscribe to the comments via RSS Feed

 
Infolink ServerPronto Infolink Review Our Guarantee Why Choose ServerPronto? Why Choose ServerPronto? Review Our Guarantee Home About Why Choose ServerPronto? Compare Packages Frequently Asked Questions (FAQ) Order Now!