hus 发表于 2017-5-12 11:22:52

MySQL install failed 请帮看下什么原因

安装lnmp1.3出错

服务器信息:
#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

# 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

# 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.

licess 发表于 2017-5-12 11:47:07

cmake: command not found

日志里没有cmake的安装记录,你手动yum install cmake 看一下
如果能正常安装上再重新安装一下lnmp就行,安装不上需要提供一下执行 yum install cmake 后的日志信息

hus 发表于 2017-5-12 12:35:40

安装cmake后可以了 谢谢军哥

建议lnmp一键安装包检测一些系统必备的命令 没有的话自动安装

licess 发表于 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: PYCURL ERROR 7 - "Failed to connect to 2001:da8:a807::25: Network is unreachable"
Trying other mirror.
页: [1]
查看完整版本: MySQL install failed 请帮看下什么原因