jrgf 发表于 2015-8-21 13:47:00

debian linux下配置lnmp环境

  用到哪些就安装哪些
  安装配置时遇到:
  deb cdrom:/ wheezy main
  解决方法:在/etc/apt/source.list里将这行删除,然后sudoapt-getupdate 就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 installphp5-gd      //查看gd库是否安装    php5-m|grep   -i   gd
  
页: [1]
查看完整版本: debian linux下配置lnmp环境