VPS侦探论坛

标题: PHP&NGINX安装失败~~ [打印本页]

作者: lzj46672    时间: 2020-10-13 11:11
标题: PHP&NGINX安装失败~~
============================== Check install ==============================
Checking ...
Error: Nginx install failed.
MySQL: OK
Error: PHP install failed.
Sorry, Failed to install LNMP!
Please visit https://bbs.vpser.net/forum-25-1.html feedback errors and logs.
You can download /root/lnmp-install.log from your server,and upload lnmp-install.log to LNMP Forum.



日志太大,上传不了附件,请直接下载
https://securitytcjf.com/lnmp-install.7z


作者: licess    时间: 2020-10-13 12:32
checking whether to enable multibyte regex support (requires oniguruma)... yes
checking for oniguruma... no
configure: error: Package requirements (oniguruma) were not met:

No package 'oniguruma' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

。。。。。。。。。。

。。。。。。。。。。。。。

Operating system: x86_64-whatever-linux2
This system (linux-x86_64) is not supported. See file INSTALL for details.
make[1]: *** [/root/lnmp1.7/src/openssl-1.1.1g/.openssl/include/openssl/ssl.h] Error 1

第一个错误的话是因为缺少oniguruma-devel,这个在安装包里都是有的,但是因为epel源有问题
Loaded plugins: fastestmirror
http://ftp.jaist.ac.jp/pub/Linux ... primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below knowledge base article

https://access.redhat.com/articles/1320623

If above article doesn't help to resolve this issue please create a bug on https://bugs.centos.org/

https://mirrors.thzhost.com/epel ... primary.sqlite.bz2: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
http://ftp.iij.ad.jp/pub/linux/F ... primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirror.earthlink.iq/epel/ ... updateinfo.xml.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirror.poliwangi.ac.id/ep ... primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirror.poliwangi.ac.id/ep ... updateinfo.xml.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirror.earthlink.iq/epel/ ... primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.jaist.ac.jp/pub/Linux ... updateinfo.xml.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
https://mirrors.thzhost.com/epel ... updateinfo.xml.bz2: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
http://ftp.iij.ad.jp/pub/linux/F ... updateinfo.xml.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.

而无法安装,可以执行:wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo
后再试一下

nginx的安装错误原因不大清楚,有可能前面源修复好了就可以了




欢迎光临 VPS侦探论坛 (https://bbs.lnmp.com/) Powered by Discuz! X3.4