【已解决】curl: (6) Could not resolve host: download.bt.cn
curl -sSO http://download.bt.cn/install/install_panel.sh && bash install_panel.shcurl: (6) Could not resolve host: download.bt.cn
腾讯晕的国内服务器,无法安装
您好,检查一下DNS设置,可将DNS设置成通用的DNS:114.114.114.114 8.8.8.8 root@VM-0-8-ubuntu:~# wget -O install.sh http://download.bt.cn/install/install-ubuntu_6.0.sh && sudo bash install.sh
--2021-06-09 15:38:47--http://download.bt.cn/install/install-ubuntu_6.0.sh
Resolving download.bt.cn (download.bt.cn)... 125.88.182.172
Connecting to download.bt.cn (download.bt.cn)|125.88.182.172|:80... ^C
root@VM-0-8-ubuntu:~# ping download.bt.cn
PING download.bt.cn (125.88.182.172) 56(84) bytes of data.https://cdn.jsdelivr.net/gh/hishis/forum-master/public/images/patch.gif piaoyun 发表于 2021-6-9 15:40
root@VM-0-8-ubuntu:~# wget -O install.sh http://download.bt.cn/install/install-ubuntu_6.0.sh && sudo ...
服务器内执行下面命令后再重新安装看看
sed -i '/download.bt.cn/d' /etc/hosts
谢花郎 发表于 2021-6-9 15:46
服务器内执行下面命令后再重新安装看看
执行这个命令后,可以安装了https://cdn.jsdelivr.net/gh/hishis/forum-master/public/images/patch.gif sed -i '/download.bt.cn/d' /etc/hosts
执行的这个后也没法安装
已加载插件:fastestmirror
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock error was
14: curl#6 - "Could not resolve host: mirrorlist.centos.org; 未知的错误"
显示我上面打的这个
页:
[1]