Ubuntu-22.04-x64搭建lnmp2.2安装SSL证书失败
更新时间:2025-09-20 03:32:42|栏目:PHP教程|点击:22 次
报错:
Create Virtul Host directory...... set permissions of Virtual Host directory...... You select the exist rewrite rule:/usr/local/nginx/conf/rewrite/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...... Reload service php-fpm done --2025-09-20 02:18:50-- https://soft.vpser.net/lib/acme.sh/latest.tar.gz Resolving soft.vpser.net (soft.vpser.net)... failed: Name or service not known. wget: unable to resolve host address ‘soft.vpser.net’ tar (child): latest.tar.gz: Cannot open: No such file or directory tar (child): Error is not recoverable: exiting now tar: Child returned status 2 tar: Error is not recoverable: exiting now /usr/bin/lnmp: line 1186: cd: acme.sh-*: No such file or directory /usr/bin/lnmp: line 1187: ./acme.sh: No such file or directory sed: can't read /usr/local/acme.sh/acme.sh: No such file or directory /usr/bin/lnmp: line 1192: /usr/local/acme.sh/upgrade.sh: No such file or directory chmod: cannot access '/usr/local/acme.sh/upgrade.sh': No such file or directory Restarting cron (via systemctl): cron.service. /usr/bin/lnmp: line 1220: /usr/local/acme.sh/acme.sh.env: No such file or directory Generate ssl certificate using Let's Encrypt... /usr/bin/lnmp: line 1336: /usr/local/acme.sh/acme.sh: No such file or directory Generate SSL Certificate failed! |
原因:
soft.vpser.net这个网址失效,不能下载!
处理方法:
打开/usr/bin/lnmp这个文件
soft.vpser.net替换为soft.lnmp.com
执行:lnmp ssl add 命令添加ssl证书
就可以了。
注意上传后文件没权限,chmod 755 /usr/bin/lnmp
栏 目:PHP教程
下一篇:PHP 7安装使用体验之性能大提升,兼容性强,扩展支
本文标题:PHP中实现九九乘法口诀表
本文地址:http://tp2.com/index.php?m=home&c=View&a=index&aid=172
您可能感兴趣的文章
- 11-23PHP面向对象 封装与继承
- 11-23PHP 7安装使用体验之性能大提升,兼容性强,扩展支
- 11-23PHP中实现九九乘法口诀表
- 11-23PHP中实现一个简易三角形的方法
- 11-23PHP中利用for循环判断一个数是不是回文数
- 11-23隐藏PHP版本与PHP基本安全设置
- 11-23nginx+php 打开php错误提示的方法
- 11-23php中 == 和 === 的区别和应用说明
- 11-23PHP常用正则表达式汇总大全
- 11-23PHP保留两位小数的几种方法


阅读排行
推荐教程
- 11-22PHP自定义函数判断是否为Get、Post及Ajax提交的方法
- 11-23php中 == 和 === 的区别和应用说明
- 11-23PHP 7安装使用体验之性能大提升,兼容性强,扩展支
- 11-23隐藏PHP版本与PHP基本安全设置
- 11-23PHP+MYSQL 读写分离简单实战
- 11-22详解PHP防止直接访问.php 文件的实现方法
- 11-22PHP编程求最大公约数与最小公倍数的方法示例
- 11-22PHP实现上传多图即时显示与即时删除的方法
- 11-23PHP保留两位小数的几种方法
- 11-23nginx+php 打开php错误提示的方法