VPS侦探论坛

 找回密码
 注册
查看: 4008|回复: 1

军哥来看一下,lnmp安装错误。

[复制链接]
发表于 2016-3-22 10:34:01 | 显示全部楼层 |阅读模式

cp conf/fastcgi.conf '/usr/local/nginx/conf/fastcgi.conf.default'
test -f '/usr/local/nginx/conf/uwsgi_params'            || cp conf/uwsgi_params '/usr/local/nginx/conf'
cp conf/uwsgi_params            '/usr/local/nginx/conf/uwsgi_params.default'
test -f '/usr/local/nginx/conf/scgi_params'             || cp conf/scgi_params '/usr/local/nginx/conf'
cp conf/scgi_params             '/usr/local/nginx/conf/scgi_params.default'
test -f '/usr/local/nginx/conf/nginx.conf'              || cp conf/nginx.conf '/usr/local/nginx/conf/nginx.conf'
cp conf/nginx.conf '/usr/local/nginx/conf/nginx.conf.default'
test -d '/usr/local/nginx/logs'                 || mkdir -p '/usr/local/nginx/logs'
test -d '/usr/local/nginx/logs' ||              mkdir -p '/usr/local/nginx/logs'
test -d '/usr/local/nginx/html'                 || cp -R html '/usr/local/nginx'
test -d '/usr/local/nginx/logs' ||              mkdir -p '/usr/local/nginx/logs'
make[1]: Leaving directory `/root/lnmp1.2-full/src/nginx-1.8.0'
chown: 正在更改"/home/wwwroot/default/.user.ini" 的所有者: 不允许的操作
mkdir: 无法创建目录"/usr/local/nginx/conf/vhost": 文件已存在
include/nginx.sh: line 54: /home/wwwroot/default/.user.ini: 权限不够
chmod: 更改"/home/wwwroot/default/.user.ini" 的权限: 不允许的操作
Create PHP Info Tool...
Copy PHP Prober...
============================Install PHPMyAdmin=================================
============================phpMyAdmin install completed=======================
iptables: Saving firewall rules to /etc/sysconfig/iptables: [  OK  ]
Add Startup and Starting LNMP...
Add nginx service at system startup...
Starting nginx... nginx (pid 884 882) already running.
Add mysql service at system startup...
在 mysql 服务中读取信息时出错:没有那个文件或目录
在 mysql 服务中读取信息时出错:没有那个文件或目录
include/end.sh: line 16: /etc/init.d/mysql: 没有那个文件或目录
Add php-fpm service at system startup...
在 php-fpm 服务中读取信息时出错:没有那个文件或目录
在 php-fpm 服务中读取信息时出错:没有那个文件或目录
include/end.sh: line 19: /etc/init.d/php-fpm: 没有那个文件或目录
============================== Check install ==============================
Checking ...
Nginx: OK
Error: MySQL install failed.
Error: PHP install failed.
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.
[root@kofang lnmp1.2-full]#
Broadcast message from root@kofang
        (unknown) at 10:29 ...

The system is going down for power off NOW!

日志文件以传。

本帖子中包含更多资源

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

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


There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

   No module named yum

Please install a package which provides this module, or
verify that the module is installed correctly.

It's possible that the above module doesn't match the
current version of Python, which is:
2.7.5 (default, Mar 15 2016, 14:10:12)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-4)]

If you cannot solve this problem yourself, please go to
the yum faq at:
  http://yum.baseurl.org/wiki/Faq
  
你系统上的yum有问题没法用导致的
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-29 01:27 , Processed in 0.025351 second(s), 18 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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