在新建主机,添加ssl 的时候出错、php7 没有安装成功,困惑
安装的lnmp 1.2 然后升级到1.4.安装了php 5.2 和5.3,php7 没有安装成功,困惑在新建主机,添加ssl 的时候出错,如下提示:
It will be processed automatically.
You select the exist rewrite rule:/usr/local/nginx/conf/wordpress.conf
Test Nginx configure file......
nginx: the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
nginx: configuration file /usr/local/nginx/conf/nginx.conf test is successful
Reload Nginx......
/bin/certbot
Starting create SSL Certificate use Let's Encrypt...
Bootstrapping dependencies for RedHat-based OSes... (you can skip this with --no-bootstrap)
yum is /usr/bin/yum
To use Certbot, packages from the EPEL repository need to be installed.
Enable the EPEL repository and try running Certbot again.
Let's Encrypt SSL Certificate create failed! https://www.vpser.net/build/letsencrypt-certbot.html#pip.conf 按这里,第一步都出错了
# yum install epel-release
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
http://apt.sw.be/redhat/el6/en/x86_64/dag/repodata/repomd.xml: PYCURL ERROR 6 - "Couldn't resolve host 'apt.sw.be'"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: dag. Please verify its path and try again
# 军哥怎么解决呀,谢谢
回复 2# 的帖子
你系统里dag的源仓库上设置了 http://apt.sw.be/ 的这个源应该是早就无法使用了,更换个其他源再试试 替换下dag.repo里面的源地地址就好了
页:
[1]