Installing WordPress on Ubuntu (debian)

Posted by Martin Perron on Jun 16, 2008 in HowTo - Linux2 comments

First, you need LAMP (Lamp stand for Linux Apache MySQL PHP)

Install php5 apache2
Create a MySQL user wordpress with a password and a Database named wordpress

# cd /var/www/
# wget http://wordpress.org/latest.zip
Optional: (# apt-get install unzip)
# unzip latest.zip
# cd wordpress
# cp wp-config-sample.php wp-config.php

# nano wp-config.php

// ** MySQL settings ** //
define(’DB_NAME’, ‘wordpress’); // The name of the database
define(’DB_USER’, ‘wordpress’); // Your MySQL username
define(’DB_PASSWORD’, ‘yourpasswordhere’); // …and password
define(’DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this
define(’DB_CHARSET’, ‘utf8′);
define(’DB_COLLATE’, ”);

Now run the install script by loadind the page in firefox:
http://hostofthemachine/wordpress/wp-admin/install.php

To preview:
http://hostofthemachine/wordpress

  • Share/Save/Bookmark

2 comments

» Comments RSS Feed
  1. [...] Installing WordPress on Ubuntu debian Geekzine org Posted by root 2 hours 3 minutes ago (http://geekzine.org) Jun 16 2008 first you need lamp lamp stand for linux apache mysql php install php5 apache2 create a ubuntu pocket guide pdf download middot automatize backup with rsync and crontab with date martin perron thanks for the comment articles rss comments rss p Discuss  |  Bury |  News | Installing WordPress on Ubuntu debian Geekzine org [...]

  2. After spending at least four hours today on my first virtual server with LAMP I found your instructions and they were the first comprehensible easy to follow set that ACTUALLY WORKED!

    Kudos to you for helping a sysadmin who is a Linux/UBUNTU neophyte get a wordpress blog installed.

Leave a comment