CentOS上面用Shell脚本一键安装LAMP(2)

3)脚本的用法
#下载安装脚本和源码包
wget https://sourceforge.net/projects/opensourcefile/files/Install_Centos_LAMP_v.0.1.zip/download --no-check-certificate
unzip Install_Centos_LAMP_v.0.1.zip
chmod +x Install_Centos_LAMP_v.0.1.sh
#查看脚本的用法,可通过该脚本安装apache,mysql,php,启动,关闭和重启apache和mysql。
./Install_Centos_LAMP_v.0.1.sh
: Please see the script of the usage:
: Usage:
./Install_Centos_LAMP_v.0.1.sh (apache|mysql|php) install
./Install_Centos_LAMP_v.0.1.sh apache (start|stop|restart)
./Install_Centos_LAMP_v.0.1.sh mysql (start|stop|restart)

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:http://www.heiqu.com/236bef1db0c25ce1200eab32fcb653bc.html