前言

当不能从网址https://raw.githubusercontent.com获取信息时,需要进行对应的处理

报错信息
~]# /usr/local/bin/certbot-auto renew --dry-run
/usr/local/bin/certbot-auto has insecure permissions!
To learn how to fix them, visit https://community.letsencrypt.org/t/certbot-auto-deployment-best-practices/91979/
Upgrading certbot-auto 1.6.0 to 1.9.0...
Couldn't download https://raw.githubusercontent.com/certbot/certbot/v1.9.0/letsencrypt-auto-source/letsencrypt-auto. <urlopen error [Errno 111] Connection refused>
解决方法
cat >> /etc/hosts <<-EOF
199.232.4.133 raw.githubusercontent.com
EOF
结语

… …

Logo

瓜分20万奖金 获得内推名额 丰厚实物奖励 易参与易上手

更多推荐