Install WordPress on Debian Lenny

First, update your DNS and point to the server.

aptitude install mysql-server php5 wordpress
chown :www-data /etc/wordpress/*
mkdir /usr/share/wordpress/wp-content/uploads
chown www-data:www-data /usr/share/wordpress/wp-content/uploads
chown -R www-data:www-data /usr/share/wordpress/wp-content/themes

Create /etc/apache2/sites-available/blog file

<VirtualHost *:80>
DocumentRoot /var/www/
<Directory /var/www/>
AllowOverride All
Order Deny,Allow
Allow from all

Run the following commands:

a2ensite blog
/etc/init.d/apache2 reload
ln -s /usr/share/wordpress /var/www/
cd /usr/share/doc/wordpress/examples
sh setup-mysql -n blog

Now, access to continue the configuration of wordpress.


1. Multiple WordPress blogs on a Debian server


One thought on “Install WordPress on Debian Lenny

  1. Magnusofdoom

    Thanks, this guide actually worked, and it wasn’t that much of a hassle. However, after following the steps above, you do need to restart Apache before you can install WordPress.
    Thanks again dude!


Leave a Reply

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

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

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s