Lnmp一键安装
1.LNMP:Linux系统下Nginx+MySQL+PHP这种网站服务器架构。
2.screen -S lnmp
3.wget -c http://soft.vpser.net/lnmp/lnmp1.4.tar.gz && tar zxf lnmp1.4.tar.gz && cd lnmp1.4 && ./install.sh lnmp
lamp一键安装
1.lamp 的全称是linux + apache + mysql +php
2.事前准备(安装 wget、screen、unzip,创建 screen 会话)
- yum -y install wget screen git // for CentOS
- apt-get -y install wget screen git // for Debian/Ubuntu
3.git clone 并赋予脚本执行权限
- git clone teddysun/lamp
- cd lamp
- chmod +x *.sh
4.开始安装
- screen -S lamp
- ./lamp.sh