wordpress on debian howto

Installation
1. apt-get install wordpress
2. apt-get install proftpd
3. apt-get install mysql-server-5.1

Configuration
file 1
#cat /etc/wordpress/htaccess # For rewrite rules needed for making WordPress URL friendly # See Options -> Permalinks for details and please use the defaults, # especially in mind when hosting several blogs on one machine! ## ## Configuration for a single blog hosted on / (root of the website) ## RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] ## ## Configuration for a multi-site wordpress installation using subdomains ## # #RewriteEngine On #RewriteBase / #RewriteRule ^index\.php$ - [L] ## uploaded files #RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L] ## real files dealt directly #RewriteCond %{REQUEST_FILENAME} -f [OR] #RewriteCond %{REQUEST_FILENAME} -d #RewriteRule ^ - [L] ## other go through index.php #RewriteRule . index.php [L] #
file 2
#cat /etc/apache2/sites-available/50.56.90.242 ServerName 50.56.90.242 ServerAdmin ahiliation@yahoo.co.in DocumentRoot /var/www/50.56.90.242 DirectoryIndex index.php AllowOverride All Order Deny,Allow Allow from all #
1. cd /vaw/www/ 2. ln -s /usr/share/wordpress 50.56.90.242 3. a2ensite 50.56.90.242 4. /etc/init.d/apache2 restart 5 /usr/share/doc/wordpress/examples/setup-mysql -n beauty 50.56.90.242

Testing
1. open web browser...
2. http://50.56.90.242(your web site address or name )
3. carry on with the instruction on browser.

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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