My linux server configurations
Posted by jianyu
on Jul 9, 2009
This site is hosted on a linode.com vps server, Running on Ubuntu 9.4
Installations:
1. Enabled universe sources.
2. Change time zone by dpkg-reconfigure tzdata
3. Since new ubuntu don't have package localeconf, change locale by locale-gen en_US.UTF-8
4. Install nginx, php5-common, php5-cgi, php5-gd, drupal6, mysql-server, mysql-client, php5-mysql, phpmyadmin,
5. Setup php-fastcgi, drupal6
6. nginx rewrite for drupal clean url:
http://drupal.org/node/110224
if (!-e $request_filename) {
rewrite ^/(.*)$ /index.php?q=$1 last;
}
7. Create system backup mechanism:
bzr for /etc:
http://www.jianyu.net/content/use-bzr-backup-track-system-configurations-changing-history