#!/bin/bash |
apt-get update |
apt-get upgrade |
apt-get install gcc |
apt-get install make |
apt-get install lighttpd |
aptitude install mysql-server mysql-client |
aptitude install php5-cgi php5-dev php5-curl php5-gd php5-idn php-pear php5-imagick php5-imap php5-mcrypt php5-memcache php5- ps php5-pspell php5-recode php5-snmp php5-tidy php5-xmlrpc php5-xsl php5-common php5-mysql |
apt-get install php5-xcache |
cat cgi.fix_pathinfo=1>>/etc/php5/cgi/php.ini |
lighty- enable -mod fastcgi |
lighty- enable -mod fastcgi-php |
service lighttpd force-reload |
/etc/init.d/lighttpd restart |