用到哪些就安装哪些
安装配置时遇到:
deb cdrom:[Debian GNU/Linux 7.1.0 _Wheezy_ - Official amd64 CD Binary-1 20130615-23:06]/ wheezy main
解决方法:在/etc/apt/source.list 里将这行删除,然后sudo apt-get update 就ok了
apt-get install php5
apt-get install php5-curl // 安装curl扩展,在支付宝接口处有用
apt-get install rcconf //安装后把apache从启动项中去除
/etc/init.d/apache2 stop
apt-get install php5-fpm
apt-get install php5-mysql
apt-get install php5-mcrypt
apt-get install nginx
apt-get install mysql-server-5.5
apt-get install redis-server
apt-get install openssh-server
apt-get install emacs23 emacs23-nox
apt-get install tmux
apt-get install git
apt-get install curl
apt-get install php5-gd //查看gd库是否安装 php5-m|grep -i gd