CentOS6.5 install lnmp

2018-03-08 15:25:47 阅读:40 编辑

LEMP stack/LAMP stack/LNMP stack installation scripts for CentOS/RedHat Debian and Ubuntu

1. 可以只安装某个组件

2. 可以卸载某个组件

3. 安装

yum -y install wget screen python   // For CentOS / RedHat
wget http://mirrors.linuxeye.com/lnmp-full.tar.gz   // Contains the source code
tar xzf lnmp-full.tar.gz
cd lnmp    // If you need to modify the directory (installation, data storage, Nginx logs), modify options.conf file
screen -S lnmp    // if network interruption, you can execute the command `screen -r lnmp` reconnect install Windows
./install.sh   // Do not sh install.sh or bash install.sh such execution

4. 卸载

./uninstall.sh

然后会提示,让你选择要卸载的这个组件

GitHub

lnmp、lamp、lnmpa 一键安装包