VPS侦探论坛

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

lnmp 1.6 安装失败

[复制链接]
发表于 2020-5-27 09:18:48 | 显示全部楼层 |阅读模式



尝试很多次,一直安装失败,最后报Error: PHP install failed.

但是附件太大传不上去怎么办?压缩了还有202KB  - -

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

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


没有日志确定不了什么原因,反馈必读上有上传的说明
如果是新发布的linux发行版上安装旧版php或使用1.6进行安装肯定是不行的,https://lnmp.org/install.html 安装要求上有说明
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2020-6-2 09:58:46 | 显示全部楼层



我今天又拿1.7试了一下,我发现了一个我一直都有的问题,就是装到一半就自动重启了,我以前是再重新尝试安装,然后就会到失败的页面,麻烦帮我看看我现在这是咋了
这个附件比较小  可以上传

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPSKVMLAVPS2EZ搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2020-6-2 10:00:07 | 显示全部楼层



实际上,我在其他的虚拟机之前装的都是好的,不知道为什么这个会有问题
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2020-6-2 14:05:19 | 显示全部楼层

xXx_xXx 发表于 2020-6-2 09:58
我今天又拿1.7试了一下,我发现了一个我一直都有的问题,就是装到一半就自动重启了,我以前是再重新尝试安装, ...

日志只有开头一部分,请传一下完整日志

美国VPS、VPN、域名代购:http://shop63846532.taobao.com/

 楼主| 发表于 2020-6-5 08:44:53 | 显示全部楼层

这个日志就是完整的日志了,我每次装到这个地方,服务器不知道为啥就重启了,安装就中断了
 楼主| 发表于 2020-6-5 11:09:36 | 显示全部楼层

又尝试了一次   

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

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



Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.aliyun.com
* extras: mirrors.163.com
* updates: mirrors.163.com
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction, or "yum-complete-transaction --cleanup-only" and "yum history redo last", first to finish them. If those don't work you'll have to try removing/installing packages by hand (maybe package-cleanup can help).
The program yum-complete-transaction is found in the yum-utils package.
--> Running transaction check
---> Package openssl-devel.x86_64 1:1.0.2k-19.el7 will be installed
--> Processing Dependency: krb5-devel(x86-64) for package: 1penssl-devel-1.0.2k-19.el7.x86_64
--> Running transaction check
---> Package krb5-devel.x86_64 0:1.15.1-46.el7 will be installed
--> Processing Dependency: libkadm5(x86-64) = 1.15.1-46.el7 for package: krb5-devel-1.15.1-46.el7.x86_64
--> Processing Dependency: krb5-libs(x86-64) = 1.15.1-46.el7 for package: krb5-devel-1.15.1-46.el7.x86_64
--> Processing Dependency: libverto-devel for package: krb5-devel-1.15.1-46.el7.x86_64
--> Processing Dependency: libselinux-devel for package: krb5-devel-1.15.1-46.el7.x86_64
--> Processing Dependency: keyutils-libs-devel for package: krb5-devel-1.15.1-46.el7.x86_64
--> Processing Dependency: libkdb5.so.8()(64bit) for package: krb5-devel-1.15.1-46.el7.x86_64
--> Running transaction check
---> Package keyutils-libs-devel.x86_64 0:1.5.8-3.el7 will be installed
---> Package krb5-libs.x86_64 0:1.11.3-49.el7 will be updated
---> Package krb5-libs.x86_64 0:1.15.1-46.el7 will be an update
---> Package libkadm5.x86_64 0:1.15.1-46.el7 will be installed
---> Package libselinux-devel.x86_64 0:2.5-15.el7 will be installed
--> Processing Dependency: libselinux(x86-64) = 2.5-15.el7 for package: libselinux-devel-2.5-15.el7.x86_64
--> Processing Dependency: libsepol-devel(x86-64) >= 2.5-10 for package: libselinux-devel-2.5-15.el7.x86_64
--> Processing Dependency: pkgconfig(libsepol) for package: libselinux-devel-2.5-15.el7.x86_64
---> Package libverto-devel.x86_64 0:0.2.5-4.el7 will be installed
--> Running transaction check
---> Package libselinux.x86_64 0:2.2.2-6.el7 will be updated
--> Processing Dependency: libselinux = 2.2.2-6.el7 for package: libselinux-utils-2.2.2-6.el7.x86_64
--> Processing Dependency: libselinux = 2.2.2-6.el7 for package: libselinux-python-2.2.2-6.el7.x86_64
---> Package libselinux.x86_64 0:2.5-15.el7 will be an update
--> Processing Dependency: libsepol(x86-64) >= 2.5-10 for package: libselinux-2.5-15.el7.x86_64
--> Processing Dependency: libsepol.so.1(LIBSEPOL_1.0)(64bit) for package: libselinux-2.5-15.el7.x86_64
---> Package libsepol-devel.x86_64 0:2.5-10.el7 will be installed
--> Running transaction check
---> Package libselinux-python.x86_64 0:2.2.2-6.el7 will be updated
---> Package libselinux-python.x86_64 0:2.5-15.el7 will be an update
---> Package libselinux-utils.x86_64 0:2.2.2-6.el7 will be updated
---> Package libselinux-utils.x86_64 0:2.5-15.el7 will be an update
---> Package libsepol.x86_64 0:2.1.9-3.el7 will be updated
---> Package libsepol.x86_64 0:2.5-10.el7 will be an update
--> Processing Conflict: libselinux-2.5-15.el7.x86_64 conflicts systemd < 219-20
--> Processing Conflict: libselinux-2.5-15.el7.x86_64 conflicts selinux-policy-base < 3.13.1-66
--> Restarting Dependency Resolution with new changes.
--> Running transaction check
---> Package libselinux.x86_64 0:2.2.2-6.el7 will be updated
---> Package libselinux.x86_64 0:2.2.2-6.el7 will be updated
---> Package selinux-policy-targeted.noarch 0:3.12.1-153.el7 will be updated
---> Package selinux-policy-targeted.noarch 0:3.13.1-266.el7 will be an update
--> Processing Dependency: selinux-policy = 3.13.1-266.el7 for package: selinux-policy-targeted-3.13.1-266.el7.noarch
--> Processing Dependency: selinux-policy = 3.13.1-266.el7 for package: selinux-policy-targeted-3.13.1-266.el7.noarch
--> Processing Dependency: policycoreutils >= 2.5-24 for package: selinux-policy-targeted-3.13.1-266.el7.noarch
--> Running transaction check
---> Package policycoreutils.x86_64 0:2.2.5-11.el7 will be updated
---> Package policycoreutils.x86_64 0:2.5-34.el7 will be an update
--> Processing Dependency: libsemanage >= 2.5-14 for package: policycoreutils-2.5-34.el7.x86_64
--> Processing Dependency: libsemanage.so.1(LIBSEMANAGE_1.1)(64bit) for package: policycoreutils-2.5-34.el7.x86_64
---> Package selinux-policy.noarch 0:3.12.1-153.el7 will be updated
---> Package selinux-policy.noarch 0:3.13.1-266.el7 will be an update
--> Running transaction check
---> Package libsemanage.x86_64 0:2.1.10-16.el7 will be updated
---> Package libsemanage.x86_64 0:2.5-14.el7 will be an update
--> Processing Conflict: libselinux-2.5-15.el7.x86_64 conflicts systemd < 219-20
--> Finished Dependency Resolution
Error: libselinux conflicts with systemd-208-11.el7.x86_64
You could try using --skip-broken to work around the problem
** Found 20 pre-existing rpmdb problem(s), 'yum check' output follows:
centos-release-7-8.2003.0.el7.centos.x86_64 is a duplicate with centos-release-7-0.1406.el7.centos.2.3.x86_64
cryptsetup-libs-2.0.3-6.el7.x86_64 is a duplicate with cryptsetup-libs-1.6.3-2.el7.x86_64
7:device-mapper-1.02.164-7.el7_8.2.x86_64 is a duplicate with 7:device-mapper-1.02.84-14.el7.x86_64
7:device-mapper-event-1.02.164-7.el7_8.2.x86_64 has installed conflicts lvm2-libs < ('7', '2.02.111', None): 7:lvm2-libs-2.02.105-14.el7.x86_64
7:device-mapper-event-1.02.164-7.el7_8.2.x86_64 is a duplicate with 7:device-mapper-event-1.02.84-14.el7.x86_64
7:device-mapper-event-libs-1.02.164-7.el7_8.2.x86_64 is a duplicate with 7:device-mapper-event-libs-1.02.84-14.el7.x86_64
7:device-mapper-libs-1.02.164-7.el7_8.2.x86_64 is a duplicate with 7:device-mapper-libs-1.02.84-14.el7.x86_64
device-mapper-persistent-data-0.8.5-2.el7.x86_64 is a duplicate with device-mapper-persistent-data-0.3.2-1.el7.x86_64
dracut-033-568.el7.x86_64 is a duplicate with dracut-033-161.el7.x86_64
expat-2.1.0-11.el7.x86_64 is a duplicate with expat-2.1.0-8.el7.x86_64
glib2-2.56.1-5.el7.x86_64 is a duplicate with glib2-2.36.3-5.el7.x86_64
kmod-20-28.el7.x86_64 is a duplicate with kmod-14-9.el7.x86_64
libblkid-2.23.2-63.el7.x86_64 is a duplicate with libblkid-2.23.2-16.el7.x86_64
libmount-2.23.2-63.el7.x86_64 is a duplicate with libmount-2.23.2-16.el7.x86_64
libuuid-2.23.2-63.el7.x86_64 is a duplicate with libuuid-2.23.2-16.el7.x86_64
systemd-219-73.el7_8.6.x86_64 has installed conflicts dracut < ('0', '033', '243'): dracut-033-161.el7.x86_64
systemd-219-73.el7_8.6.x86_64 has installed conflicts initscripts < ('0', '9.49.28', '1'): initscripts-9.49.17-1.el7.x86_64
systemd-219-73.el7_8.6.x86_64 is a duplicate with systemd-208-11.el7.x86_64
systemd-libs-219-73.el7_8.6.x86_64 is a duplicate with systemd-libs-208-11.el7.x86_64
util-linux-2.23.2-63.el7.x86_64 is a duplicate with util-linux-2.23.2-16.el7.x86_64

你这系统依赖关系有问题肯定是安装不上的,可以参考:https://bbs.vpser.net/thread-19120-1-1.html 解决
日志看lnmp结束没有重启中断,安装日志完整
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2020-6-10 14:29:31 | 显示全部楼层



奇怪,还是有问题,但是以前我这个系统安装是可以的,我在另外一个虚拟机里面,一样的操作系统,一样的操作,但又是可以的...有点搞不懂了,不行我把这个虚拟机彻底删掉重来一次
美国VPS推荐: 遨游主机LinodeLOCVPSKVMLAVPS2EZ搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2020-9-28 00:51 , Processed in 0.052812 second(s), 27 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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