Complete the following the steps:
// ** MySQL settings ** //1. # apt-get install wordpress
2. # mysql -u root
3. mysql> CREATE DATABASE wordpress
4. mysql> GRANT ALL PRIVILEGES ON *.* TO wordpress@localhost
IDENTIFIED BY ‘wordpresspassword’ WITH GRANT OPTION;
5. mysql> FLUSH PRIVILEGES;
6. #mv wp-config-sample.php wp-config.php
7. Edit wp-config.php to enter the correct setting:
define('DB_NAME', 'wordpress');
define('DB_USER', 'wordpress');
define('DB_PASSWORD', 'wordpresspassword');
define('DB_HOST', 'localhost');
Alias /blog "/usr/share/wordpress/"8. Add to /etc/apache2/sites-available/default:
<Directory "/usr/share/wordpress/">
Options FollowSymLinks
AllowOverride Limit Options FileInfo
DirectoryIndex index.php
</Directory>
9. #/etc/init.d/apache2 restart
10. Goto: http://localhost/blog/wp-admin/install.php
11. Follow the instruction to create a login
12. Use generated login to log in and start blogging.
see also: http://forum.excito.net/viewtopic.php?t=1560