- # apt-get install mysql
- # apt-get install apache2
- # apt-get install php5
- # apt-get install wordpress
- # mysql -u root
- mysql> CREATE DATABASE wordpress
- mysql> GRANT ALL PRIVILEGES ON *.* TO wordpress@localhost
 IDENTIFIED BY ‘wordpresspassword’ WITH GRANT OPTION;
- mysql> FLUSH PRIVILEGES;
- #mv wp-config-sample.php wp-config.php
- Edit wp-config.php to enter the correct setting: // ** MySQL settings ** // 
 define('DB_NAME', 'wordpress');
 define('DB_USER', 'wordpress');
 define('DB_PASSWORD', 'wordpresspassword');
 define('DB_HOST', 'localhost');
- Add to /etc/apache2/sites-available/default: Alias /blog "/usr/share/wordpress/" 
 <Directory "/usr/share/wordpress/">
 Options FollowSymLinks
 AllowOverride Limit Options FileInfo
 DirectoryIndex index.php
 </Directory>
- #/etc/init.d/apache2 restart
- Goto: http://localhost/blog/wp-admin/install.php
- Follow the instruction to create a login
- Use generated login to log in and start blogging.
Wednesday, November 01, 2006
How to Install WordPress On Debian Etch
Complete the following the steps: 
Subscribe to:
Post Comments (Atom)




1 comment:
apt-get kicks arse! better than yum especially when the silly au yum mirrors keep dying. I have to admit I still use yum more for the RHEL updates.
Post a Comment