SVicente's Blog

Follow me and you'll know what I like to do

How to install WordPress in a Linux webserver

Interesting tip! I got it from:
http://www.supriyadisw.net/2006/12/wordpress-installation-on-ubuntu-with-lamp

WordPress Installation on Ubuntu with LAMP


Desktop using LAMP. Why ? One reason is that you can do a lot of developing (playing around) much quicker as there is no need to use ftp. If You like me, play around with WordPress as a developer (perhaps you create your own theme or plugin), you should install WordPress locally in your Ubuntu Linux Desktop.

You do not need to convert your Ubuntu Desktop into Ubuntu Server. You only need install addition packages that you need to run WordPress on your Ubuntu Linux desktop.

Get ready?! Let?s start to install WorPress on Ubuntu Linux desktop.

Install LAMP

You can view my previous post about LAMP Installation On Ubuntu, if you have not already done so.

Download WordPress

You can download WordPress from their official website into your Ubuntu desktop.

Extract your WordPress archieve into your server directory

sudo tar zxvf wordpress-x.x.x.tar.gz --directory=/var/www/

Prepare MySQL Database for WordPress

Create a database for WordPress on your Ubuntu, as well as a MySQL user who has all privileges for accessing and modifying it. You can use phpMyAdmin to make it easier ;)

  • First create dababase: wordpress
  • Then create a new user: wordpress with password: wordpresspassword

Write down the values you used for databasename, wordpressusername, hostname, and password for future purpose ;)

Configure WordPress Setting

Copy the wp-config-sample.php file to wp-config.php. Open and edit wp-config.php file

// ** MySQL settings ** //
define('DB_NAME', 'wordpress');
define('DB_USER', 'wordpress');
define('DB_PASSWORD', 'wordpresspassword');
define('DB_HOST', 'localhost');

Run the Install Script

Using your favorite web browser (Firefox by default), visit wp-admin/install.php within the directory into which you just installed WordPress on your web site. For example: point your browser to http://localhost/wordpress/wp-admin/install.php
.

Preview your New WordPress

Point your browser to http://localhost/wordpress.

Well done! You have your own WordPress on Your Ubuntu Linux Desktop.

April 29, 2009 - Posted by | Linux | ,

10 Comments »

  1. I blog quite often and I really appreciate your information. Your
    article has really peaked my interest. I’m going to book
    mark your website and keep checking for new details about once
    per week. I opted in for your RSS feed as well.

    Comment by rollingstonestshirtonline.net | September 21, 2015 | Reply

    • Thank you.

      Comment by svicente99 | September 21, 2015 | Reply

  2. Louise is the Director of Advertising and marketing and a professional with greater than thirteen years expertise in the discipline of Web Advertising.

    Comment by website redesign Los Angeles | September 21, 2015 | Reply

  3. I used to be recommended this website through my cousin. I am not sure whether
    this put up is written by him as nobody else recognise such
    distinctive about my difficulty. You’re wonderful!
    Thanks!

    Comment by Iran toman | October 9, 2015 | Reply

  4. This actually answered my problem, many thanks!

    Comment by Alena | October 20, 2015 | Reply

  5. Nice post. I understand something more difficult
    on various blogs everyday. It will always be exciting
    to see information from different writers and practice a little something at their store.

    Comment by Etta | October 20, 2015 | Reply

  6. I’m impressed, I must say. Truly rarely do I encounter a website that’s equally educative and interesting, and
    I’d like to let you know, you’ve struck the nail to the head.

    Comment by Felipa | October 23, 2015 | Reply

  7. h my goodness! A fantastic article dude. Thanks Nevertheless I am
    experiencing situation with ur rss. Don’t know why
    Unable to contribute to it. Is there anyone receiving similar rss issue?
    Anyone who knows kindly respond.Thanks

    Comment by Rueben | October 23, 2015 | Reply

  8. It’s difficult to find knowledgeable people on this topic, however you seem like do you know what you’re speaking about!
    Thanks

    Comment by Everette | October 24, 2015 | Reply

  9. To uninstall the plan from the Control Panel and removal of the extensions /
    add-on from the web browsers just support you in removing just the portion of the adware and malware,
    but these days most of computer threats such as which are designed with the support
    of sophisticated technology cannot be very easily removed with regular
    techniques, hence the want is to make use of the prime-class malware remover computer software such as SpyHunter that
    can aid you to get rid of automatically.

    Comment by bongacams hack | December 22, 2015 | Reply


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: