VPS侦探论坛

 找回密码
 注册
查看: 4093|回复: 3

MySQL install failed 请帮看下什么原因

[复制链接]
发表于 2017-5-12 11:22:52 | 显示全部楼层 |阅读模式

安装lnmp1.3出错

服务器信息:

[root@xxx ~]#  uname -a
Linux cysc 2.6.32-642.el6.x86_64 #1 SMP Tue May 10 17:27:01 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

[root@xxx ~]# cat /proc/version
Linux version 2.6.32-642.el6.x86_64 (mockbuild@worker1.bsys.centos.org) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-17) (GCC) ) #1 SMP Tue May 10 17:27:01 UTC 2016

[root@xxx ~]# cat /etc/issue
CentOS release 6.8 (Final)
Kernel \r on an \m


错误信息:
============================== Check install ==============================
Checking ...
Nginx: OK
Error: MySQL install failed.
PHP: OK
PHP-FPM: OK
Sorry, Failed to install LNMP!
Please visit http://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
发表于 2017-5-12 11:47:07 | 显示全部楼层


cmake: command not found

日志里没有cmake的安装记录,你手动yum install cmake 看一下
如果能正常安装上再重新安装一下lnmp就行,安装不上需要提供一下执行 yum install cmake 后的日志信息
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2017-5-12 12:35:40 | 显示全部楼层

安装cmake后可以了 谢谢军哥


建议lnmp一键安装包检测一些系统必备的命令 没有的话自动安装
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2017-5-12 12:47:48 | 显示全部楼层

回复 3# 的帖子




cmake 等这些都是基本包肯定都会去安装,你可以自己去安装包源码里核实,所有lnmp默认安装需要的都会去安装,如果系统上yum有错误、没设置网络源、网络不稳定或有其他问题肯定日志中没记录
就比如你这个
Error: Cannot find a valid baseurl for repo: extras
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=extras&infra=stock error was
12: Timeout on http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=extras&infra=stock: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds')
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
Error: Cannot find a valid baseurl for repo: updates
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=updates&infra=stock error was
12: Timeout on http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=updates&infra=stock: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds')
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirrors.btte.net
* epel: mirrors.neusoft.edu.cn
* extras: mirrors.neusoft.edu.cn
* updates: mirrors.btte.net
http://mirrors.neusoft.edu.cn/centos/6.9/extras/x86_64/repodata/1b43133bfe09067a4816563f80792c23ae179d4652ba74dad71372d315a9632d-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 7 - "Failed to connect to 2001:da8:a807::25: Network is unreachable"
Trying other mirror.
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-26 05:18 , Processed in 0.026470 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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