VPS侦探论坛

 找回密码
 注册
查看: 3347|回复: 4

在新建主机,添加ssl 的时候出错、php7 没有安装成功,困惑

[复制链接]
发表于 2017-9-24 22:41:14 | 显示全部楼层 |阅读模式

安装的lnmp 1.2 然后升级到1.4.安装了php 5.2 和5.3,php7 没有安装成功,困惑
在新建主机,添加ssl 的时候出错,如下提示:
  1. It will be processed automatically.
  2. You select the exist rewrite rule:/usr/local/nginx/conf/wordpress.conf
  3. Test Nginx configure file......
  4. nginx: the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
  5. nginx: configuration file /usr/local/nginx/conf/nginx.conf test is successful
  6. Reload Nginx......
  7. /bin/certbot [found]
  8. Starting create SSL Certificate use Let's Encrypt...
  9. Bootstrapping dependencies for RedHat-based OSes... (you can skip this with --no-bootstrap)
  10. yum is /usr/bin/yum
  11. To use Certbot, packages from the EPEL repository need to be installed.
  12. Enable the EPEL repository and try running Certbot again.
  13. Let's Encrypt SSL Certificate create failed!
复制代码
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2017-9-24 22:50:03 | 显示全部楼层


https://www.vpser.net/build/letsencrypt-certbot.html#pip.conf 按这里,第一步都出错了

  1. [root@lvyizhen lnmp1.4]# yum install epel-release
  2. Loaded plugins: fastestmirror, refresh-packagekit
  3. Loading mirror speeds from cached hostfile
  4. http://apt.sw.be/redhat/el6/en/x86_64/dag/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'apt.sw.be'"
  5. Trying other mirror.
  6. Error: Cannot retrieve repository metadata (repomd.xml) for repository: dag. Please verify its path and try again
  7. [root@lvyizhen lnmp1.4]#
复制代码
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2017-9-24 22:51:05 | 显示全部楼层

军哥怎么解决呀,谢谢
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2017-9-25 09:12:55 | 显示全部楼层

回复 2# 的帖子




你系统里dag的源仓库上设置了 http://apt.sw.be/ 的这个源应该是早就无法使用了,更换个其他源再试试
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2017-9-25 19:45:45 | 显示全部楼层

替换下dag.repo里面的源地地址就好了

军哥运维代购:http://shop63846532.taobao.com/

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-25 07:19 , Processed in 0.026639 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表