rpm安装适用于想快速体验宝塔或者觉得编译安装太慢的情况;
rpm优点:安装时间短,迅速。
源码安装优点: 稳定性兼容性高于rpm安装。
注:RPM安装多数用于测试尝鲜,如果需要稳定建站的,请使用编译安装或等待正式版的到来,暂不支持5.X系统。
安装指令
1 | yum -y install screen wget && screen -S bt |
1 | wget -O install.sh http://103.224.251.79:5671/rpm/install.sh && sh install.sh |
如需添加php版本请使用下面这条指令(此为rpm添加方式)
1 | wget -O install.sh http://103.224.251.79:5671/rpm/install.sh && sh install.sh add |
若需添加其他php版本或切换nginx/apache请查看此文:宝塔软件添加PHP版本,切换Nginx/Apache与Mysql的方法
安装时间参考:单版本5分钟 (单核1G)