帮助与文档

帮助与文档 >  云服务器 > 如何安装宝塔

如何安装宝塔

安装宝塔,按照顺序执行5个命令后就可以了。

curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo


curl -o /etc/yum.repos.d/epel.repo https://mirrors.aliyun.com/repo/epel-7.repo


yum clean all


yum makecache


yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh 73e2f07f