1.连接上VPS后,先执行下面命令:
echo -e "nameserver 2001:67c:2b0::4\nnameserver 2001:67c:2b0::6" > /etc/resolv.conf
2.然后编辑
/etc/yum/pluginconf.d/fastestmirror.conf
命令如下:
vi /etc/yum/pluginconf.d/fastestmirror.conf
enable=0 #将1改为0
3.系统升级,可忽略
yum -y update
4.安装宝塔
curl -sSO http://download.bt.cn/install/install_panel.sh && bash install_panel.sh
5.要顺利安装V2,宝塔安装完毕后进系统工具箱,修改DNS为:
2a09:11c0:f1:bbf0::70
2a01:4f8:c2c:123f::1