VPS侦探论坛

 找回密码
 注册
查看: 2744|回复: 2

LNMP在CentOS上安装错误,日志在附件里

[复制链接]
发表于 2019-12-6 13:21:05 | 显示全部楼层 |阅读模式


这个是才买的云。 XEN的


Press any key to install...or Press Ctrl+c to cancel

You will install lnmp stack.
nginx-1.16.1
mysql-8.0.13
php-7.2.24
Enable InnoDB: y
Print lnmp.conf infomation...
Download Mirror: https://soft.vpser.net
Nginx Additional Modules:
PHP Additional Modules:
Database Directory: /usr/local/mysql/var
Default Website Directory: /home/wwwroot/default
LNMP Version: 1.6
CentOS 6.9
CentOS release 6.9 (Final)
Kernel \r on an \m

CentOS release 6.9 (Final)
CentOS release 6.9 (Final)
CentOS release 6.9 (Final)
Linux XS103191226 2.6.32-696.18.7.el6.x86_64 #1 SMP Thu Jan 4 17:31:22 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Memory is: 3953 MB
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/VolGroup-lv_root
                      8.3G  2.1G  5.9G  26% /
tmpfs                 1.9G     0  1.9G   0% /dev/shm
/dev/xvda1            477M   28M  424M   7% /boot
OpenSSL 1.0.1e-fips 11 Feb 2013
Hosts: ok.
PING lnmp.org (168.235.75.115) 56(84) bytes of data.
64 bytes from 168.235.75.115: icmp_seq=1 ttl=52 time=129 ms

--- lnmp.org ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 277ms
rtt min/avg/max/mdev = 129.845/129.845/129.845/0.000 ms
DNS...ok
Server Location: JP
Try http://soft.vpser.net ...
http://soft.vpser.net http code: 200
PING out.vpser.net (104.238.161.196) 56(84) bytes of data.
64 bytes from 104.238.161.196.vultr.com (104.238.161.196): icmp_seq=1 ttl=52 time=40.3 ms
64 bytes from 104.238.161.196.vultr.com (104.238.161.196): icmp_seq=2 ttl=52 time=31.4 ms
64 bytes from 104.238.161.196.vultr.com (104.238.161.196): icmp_seq=3 ttl=52 time=40.3 ms

--- out.vpser.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2043ms
rtt min/avg/max/mdev = 31.479/37.373/40.331/4.174 ms
Setting timezone...
[+] Installing ntp...
Loaded plugins: fastestmirror
Setting up Install Process
Determining fastest mirrors
* base: ty1.mirror.newmediaexpress.com
* extras: ty1.mirror.newmediaexpress.com
* updates: ty1.mirror.newmediaexpress.com
Resolving Dependencies
--> Running transaction check
---> Package ntpdate.x86_64 0:4.2.6p5-15.el6.centos will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package        Arch          Version                      Repository      Size
================================================================================
Installing:
ntpdate        x86_64        4.2.6p5-15.el6.centos        updates         79 k

Transaction Summary
================================================================================
Install       1 Package(s)

Total download size: 79 k
Installed size: 123 k
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.

  Installing : ntpdate-4.2.6p5-15.el6.centos.x86_64                         1/1

  Verifying  : ntpdate-4.2.6p5-15.el6.centos.x86_64              

===========中间省略=============
============================Install PHPMyAdmin=================================
============================phpMyAdmin install completed=======================
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: ty1.mirror.newmediaexpress.com
* extras: ty1.mirror.newmediaexpress.com
* updates: ty1.mirror.newmediaexpress.com
No package iptables-services available.
Error: Nothing to do
iptables: Saving firewall rules to /etc/sysconfig/iptables: [  OK  ]
iptables: Trying to reload firewall rules: [  OK  ]
Add iptables service at system startup...
Add Startup and Starting LNMP...
Add nginx service at system startup...
Starting nginx...  done
Add mysql service at system startup...
error reading information on service mysql: No such file or directory
error reading information on service mysql: No such file or directory
include/end.sh: line 51: /etc/init.d/mysql: No such file or directory
Add php-fpm service at system startup...
Starting php-fpm  done
============================== Check install ==============================
Checking ...
Nginx: OK
Error: MySQL install failed.
PHP: OK
PHP-FPM: OK
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.

最后就是安装不成功,让我贴上日志,但是文件太大了没有上传,以上就截取了一部分。

本帖子中包含更多资源

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

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


最后降低版本就可以了。 mysql 5.6  php7.1
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2019-12-6 16:50:59 | 显示全部楼层

论坛搜索:centos 6 mysql 8

https://bbs.vpser.net/thread-18845-1-1.html

基本原则就是老旧发行版不装最新版程序,老旧版程序不在装最新linux发行版上安装。
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-20 19:35 , Processed in 0.026376 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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