打印

LNMP一键安装包bug反馈

我用的是centos5.4版本。安装脚本centos.sh我认为需要修改的地方有:
centos.sh的命令,在添加用户和组的时候都出现失败,仔细查看了一下,问题出在:
groupadd mysql
useradd -g mysql mysql
groupadd www
useradd -g www www

应改为:

/usr/sbin/groupadd mysql
/usr/sbin/useradd -g mysql mysql
/usr/sbin/groupadd www
/usr/sbin/useradd -g www www
-------------------------------------------------------------------------------------
自己仔细看了一下,是自己错了,需要注意的情况是:在使用root权限的时候一定要移到root环境下,如果拥有了root权限而不是root环境,还是不行的

[ 本帖最后由 gun007007 于 2010-2-25 20:48 编辑 ]

TOP

/root/run.sh: line 2: /usr/local/php/sbin/php-fpm: 没有那个文件或目录
[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
[emerg]: still could not bind()

TOP