目前業界已經有愈來愈多網站棄 Apache 不用...而改用輕量化的 Nginx...在這邊介紹一下安裝步驟:
(1)安裝 Nginx
# aptitude install nginx
(2)安裝 php5-fpm
# aptitude install fcgiwrap php5-fpm php5-xcache php5-mysql php5-pgsql php5-curl php5-gd php5-intl php-pear php5-imagick php5-imap php5-mcrypt php5-memcache php5-ming php5-ps php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl
(3)安裝 MySQL
# aptitude install mysql-server
(4)啟動服務
# service php5-fpm restart
# service nginx restart
# service mysql restart
這樣就可以囉~~