1、下载解压lamp安装包
wget –no-check-certificate https://github.com/teddysun/lamp-yum/archive/master.zip -O lamp-yum.zip
unzip lamp-yum.zip
cd lamp-yum-master/
chmod +x *.sh
./lamp.sh 2>&1 | tee lamp.log
再进行编译,就完成了之前讲解的apache与mysql与php的安装
2. cPanel安装
cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest
安装完成之后,可以使用IP:2086 或者是 IP:2087 进行访问。
3. 宝塔面板安装
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install.sh && sh install.sh
文章来源:https://bl.idcspy.com/bluehost-centos/