lpm(lighttpd,php,mysql)自动安装脚本1.01

清华大佬耗费三个月吐血整理的几百G的资源,免费分享!....>>>

#!/bin/bash
#link:http://www.haodar.com/shell/
#极品菜鸟,人懒,半桶水
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