反反复复蒸腾大便,重做系统无数,估计IDC杀我的心都有了。 这里弄个简单的流程给大家吧,LNAMP 首先替换该死的源…… vi /etc/apt/sources.list 然后替换成下列

deb http://ftp.us.debian.org/debian lenny main contrib non-free
deb http://ftp.debian.org/debian lenny main contrib non-free
deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free
deb http://security.debian.org/ lenny/updates main contrib non-free
deb http://packages.dotdeb.org stable all
deb-src http://packages.dotdeb.org stable all

升级 apt-get update然后你需要什么就安装什么吧

apt-get install mysql-server-5.1
apt-get install nginx apache2 php5 php5-common php5-cgi php5-mysql php5-curl php5-gd php5-idn php-pear php5-imagick php5-imap php5-mcrypt php5-memcache php5-mhash php5-ming php5-ps php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl

您缺啥就安装啥吧,哎~~