There is a better way installing ‘open-vm-tools’: 1. Adding ‘contrib’ and ‘non-free’ to ‘/etc/apt/sources.list’deb http://ftp.gb.debian.org/debian/ lenny main contrib non-free deb-src http://ftp.gb.debian.org/debian/ lenny main contrib non-free deb http://security.debian.org/ lenny/updates main contrib non-free
# apt-get update # apt-get install module-assistant open-vm-source open-vm-tools # module-assistant prepare # module-assistant build open-vm-source # module-assistant install open-vm-source # reboot
This is the blog about linux server and business English experience of my life.
Sunday, March 6, 2011
Installing VMware tools on lenny
Install WordPress on Debian Lenny
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.
Subscribe to:
Posts (Atom)