VPS侦探论坛

 找回密码
 注册
查看: 1923|回复: 8

麒麟系统离线安装php失败,lnmp1.9

[复制链接]
发表于 2023-5-30 15:26:57 | 显示全部楼层 |阅读模式

[backcolor=rgba(1, 43, 54, 0.96)]NAME="Kylin Linux Advanced Server"
[backcolor=rgba(1, 43, 54, 0.96)]VERSION="V10 (Sword)"
[backcolor=rgba(1, 43, 54, 0.96)]ID="kylin"
[backcolor=rgba(1, 43, 54, 0.96)]VERSION_ID="V10"
[backcolor=rgba(1, 43, 54, 0.96)]PRETTY_NAME="Kylin Linux Advanced Server V10 (Sword)"
[backcolor=rgba(1, 43, 54, 0.96)]ANSI_COLOR="0;31"


[backcolor=rgba(1, 43, 54, 0.96)]Nginx: OK
[backcolor=rgba(1, 43, 54, 0.96)]Do not install MySQL/MariaDB.
[backcolor=rgba(1, 43, 54, 0.96)]Error: PHP install failed.
[backcolor=rgba(1, 43, 54, 0.96)]Sorry, Failed to install LNMP!
[backcolor=rgba(1, 43, 54, 0.96)]Please visit https://bbs.vpser.net/forum-25-1.html feedback errors and logs.
[backcolor=rgba(1, 43, 54, 0.96)]You can download /root/lnmp-install.log from your server,and upload lnmp-install.log to LNMP Forum.

美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2023-5-30 15:30:46 | 显示全部楼层


本帖最后由 leedow 于 2023-5-30 15:39 编辑

日志传错了,稍后上传
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2023-5-30 15:44:45 | 显示全部楼层

日志文件:  https://t.wss.ink/f/bc0dbkufzy7 复制链接到浏览器打开
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2023-5-30 20:22:10 | 显示全部楼层



[+] Yum installing dependent packages...
kylin-v10-sp2                                   0.0  B/s |   0  B     00:00   
Errors during downloading metadata for repository 'kylin-v10-sp2':
  - Curl error (7): Couldn't connect to server for http://21.253.167.153/ks10.2-adv-os-aarch64/repodata/repomd.xml [Failed to connect to 21.253.167.153 port 80: Connection refused]
Error: Failed to download metadata for repo 'kylin-v10-sp2': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

你系统上都没可以正常工作的源,肯定是无法安装成功的

另外你这系统做过修改或者你直接用centos的源安装过软件包或直接用过centos的安装包?
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2023-5-31 09:45:46 | 显示全部楼层

licess 发表于 2023-5-30 20:22
你系统上都没可以正常工作的源,肯定是无法安装成功的

另外你这系统做过修改或者你直接用centos的源安装 ...

没有用centos的源安装过啥。有点奇怪你发的日志是我发错的日志,我后来重新发的日志里源是正常的,我现在下载日志里也没有搜到这段信息。我重新提交下试试, 这个是最新的日志文件,麻烦大佬再帮忙看下  https://t.wss.ink/f/bc82xuv13vn 复制链接到浏览器打开  ,我自己搜了下有很多Error: Unable to find a match:XXXX   类似的信息,是这个原因吗?

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

发表于 2023-6-1 08:29:22 | 显示全部楼层

leedow 发表于 2023-5-31 09:45
没有用centos的源安装过啥。有点奇怪你发的日志是我发错的日志,我后来重新发的日志里源是正常的,我现在 ...

CentOS V10

Authorized users only. All activities may be monitored and reported.
CentOS Linux release 7.6.1811 (Core)
你这个获取到的是CentOS
有可能你系统上的 /etc/issue 文件被修改成了centos或者 rpm -qa|grep centos-linux-release 看一下

下载lnmp2.0,使用lnmp2.0进行安装
 楼主| 发表于 2023-6-1 11:00:00 | 显示全部楼层

licess 发表于 2023-6-1 08:29
CentOS V10

Authorized users only. All activities may be monitored and reported.

使用2.0 unable to find a math的错误没有了,但PHP还是安装失败,完整日志 https://t.wss.ink/f/bcivso7gh4v 复制链接到浏览器打开   ,麻烦再辛苦帮忙看下,感谢,我找了下好像就这部分有错误 See the pkg-config man page for more details.
make: *** No targets specified and no makefile found.  Stop.
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target 'install'.  Stop.
Copy new php configure file...
Modify php.ini......
include/php.sh: line 205: pear: command not found
include/php.sh: line 206: pecl: command not found
Install ZendGuardLoader for PHP 7.4...
unavailable now.
Creating new php-fpm configure file...
Copy php-fpm init.d file...
cp: cannot stat '/home/lnmp2.0-full/src/php-7.4.33/sapi/fpm/init.d.php-fpm': No such file or directory
chmod: cannot access '/etc/init.d/php-fpm': No such file or directory
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2023-6-1 13:38:23 | 显示全部楼层

leedow 发表于 2023-6-1 11:00
使用2.0 unable to find a math的错误没有了,但PHP还是安装失败,完整日志 https://t.wss.ink/f/bcivso7 ...
No match for argument: oniguruma-devel
Error: Unable to find a match: oniguruma-devel

。。。。。
checking whether to enable multibyte regex support (requires oniguruma)... yes
checking for oniguruma... no
configure: error: Package requirements (oniguruma) were not met:

Package 'oniguruma', required by 'virtual:world', not found

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

Alternatively, you may set the environment variables ONIG_CFLAGS
and ONIG_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

你这个 Kylin Linux Advanced Server release V10 (Sword) 光盘源里面没有所需的oniguruma-devel依赖包
这个系统版本可能是V10SP2,官网源里面 https://update.cs2c.com.cn/NS/V1 ... se/x86_64/Packages/ 是有的可以自己下载然后安装或 https://github.com/kkos/oniguruma/releases 下载源码编译安装
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2023-11-23 15:52:05 | 显示全部楼层


哥们你后面问题解决了吗?我这边也跟你一样,麻烦给个解决方案啊,谢谢
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-23 18:18 , Processed in 0.028385 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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