surfman 发表于 2017-9-24 22:41:14

在新建主机,添加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!

surfman 发表于 2017-9-24 22:50:03

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
#

surfman 发表于 2017-9-24 22:51:05

军哥怎么解决呀,谢谢

licess 发表于 2017-9-25 09:12:55

回复 2# 的帖子

你系统里dag的源仓库上设置了 http://apt.sw.be/ 的这个源应该是早就无法使用了,更换个其他源再试试

surfman 发表于 2017-9-25 19:45:45

替换下dag.repo里面的源地地址就好了
页: [1]
查看完整版本: 在新建主机,添加ssl 的时候出错、php7 没有安装成功,困惑