lnmp1.1安装mysql失败
请指教!安装结束时显示以下内容:
.....
Error: /usr/local/mysql not found!!!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.
我的系统:Linux localhost.localdomain 3.10.0-123.el7.x86_64 #1 SMP Mon Jun 30 12:09:22 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
配置:内存32G,硬盘够大,主板和cpu也是比较好的配置(就个人电脑而言,不是专业服务器) 已加载插件:fastestmirror, langpacks
/var/run/yum.pid 已被锁定,PID 为 5209 的另一个程序正在运行。
Another app is currently holding the yum lock; waiting for it to exit...
另一个应用程序是:PackageKit
内存:167 M RSS (1.5 GB VSZ)
已启动: Fri Jul 17 14:48:19 2015 - 1:33:38之前
状态:睡眠中,进程ID:5209
Another app is currently holding the yum lock; waiting for it to exit...
yum 被占用,需要保证yum没被使用中
patching file vio/viossl.c
CMake Error: The current CMakeCache.txt directory /home/work/package/lnmp1.1-full/mysql-5.5.37/CMakeCache.txt is different than the directory /home/sjdb/packages/lnmp1.1-full/mysql-5.5.37 where CMakeCache.txt was created. This may result in binaries being created in the wrong place. If you are not sure, reedit the CMakeCache.txt
CMake Error: The source "/home/work/package/lnmp1.1-full/mysql-5.5.37/CMakeLists.txt" does not match the source "/home/sjdb/packages/lnmp1.1-full/mysql-5.5.37/CMakeLists.txt" used to generate cache.Re-run cmake with a different source directory.
CMake Error: The source directory "/home/sjdb/packages/lnmp1.1-full/mysql-5.5.37" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
make: *** 错误 1
按这个提示是应该在这个目录里多次安装过mysql造成的
重新安装需要先卸载或重装系统,并删除lnmp目录后重新下载安装,要不会有缓存等干扰无法获取到有用信息 非常感谢您的答复。
按这个提示是应该在这个目录里多次安装过mysql造成的
不过我这台是全新的机器,之前没有安装包的操作,不知道为什么会存在重复安装的错误。
上周五安装1.1失败后,我后来又重新下载和安装lnmp1.2就成功了。
页:
[1]