Installing Word Press on Debian
Well I got the deb and installed it then changed the permissions on the files
sudo apt-get wordpress sudo chown -R webapp:webapp /usr/share/wordpress sudo chown -R webapp:webapp /etc/wordpress
then I created a mysql database
create database wordpress create user bloguser@localhost identified by xxxxxxx create user bloguser@myhost identified by xxxxxxx grant ALL on wordpress.* to bloguser
I added this section to /etc/apache2/sites-avalible/default
Alias /wordpress/ "/usr/share/wordpress/"
Alias /blog/ "/usr/share/wordpress/"
<Directory "/usr/share/wordpress/">
Options MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Allow from all
# AuthType digest
# AuthName personal_info
# AuthDigestFile /etc/apache2/digest/personal_info
# Require user friend family
</Directory>
Then I put db login information in /etc/wordpress/wp-config.php Then I patched /usr/share/wordpress/wp-admin/setup-config.ph by following the diff here http://trac.wordpress.org/attachment/ticket/2544/2544.diff
I also removed white space at the end of /usr/share/wordpress/wp-config.php which was the cause of "Can not modify headers" errors
Finally I copy in my theme to /usr/share/wordpress/wp-content/themes/ericp