First, update your DNS and point blog.example.com 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 fileServerName blog.example.com DocumentRoot /var/www/blog.example.com/ 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/blog.example.com # cd /usr/share/doc/wordpress/examples # sh setup-mysql -n blog blog.example.com
Now, access http://blog.example.com/ to continue the configuration of wordpress.
This is the blog about linux server and business English experience of my life.
Sunday, March 6, 2011
Install WordPress on Debian Lenny
Subscribe to:
Post Comments (Atom)
Thank you for the valuble information nice information can check about Aptitude also thanx
ReplyDeleteYou are always wel-come.
ReplyDeletehttp://bogatiaaresh.blogspot.jp/