- 积分
- 44
- 威望
-
- 金钱
-
- 注册时间
- 2014-1-2
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
楼主 |
发表于 2014-1-2 23:03:13
|
显示全部楼层
-e "s|%%ERROR_LOG_PATH%%|/usr/local/nginx/logs/error.log|"
< man/nginx.8 > objs/nginx.8
make[1]: Leaving directory `/lnmp1.0-full/nginx-1.2.7'
make -f objs/Makefile install
make[1]: Entering directory `/lnmp1.0-full/nginx-1.2.7'
test -d '/usr/local/nginx' || mkdir -p '/usr/local/nginx'
test -d '/usr/local/nginx/sbin' || mkdir -p '/usr/local/nginx/sbin'
test ! -f '/usr/local/nginx/sbin/nginx' || mv '/usr/local/nginx/sbin/nginx' '/usr/local/nginx/sbin/nginx.old'
cp objs/nginx '/usr/local/nginx/sbin/nginx'
test -d '/usr/local/nginx/conf' || mkdir -p '/usr/local/nginx/conf'
cp conf/koi-win '/usr/local/nginx/conf'
cp conf/koi-utf '/usr/local/nginx/conf'
cp conf/win-utf '/usr/local/nginx/conf'
test -f '/usr/local/nginx/conf/mime.types' || cp conf/mime.types '/usr/local/nginx/conf'
cp conf/mime.types '/usr/local/nginx/conf/mime.types.default'
test -f '/usr/local/nginx/conf/fastcgi_params' || cp conf/fastcgi_params '/usr/local/nginx/conf'
cp conf/fastcgi_params '/usr/local/nginx/conf/fastcgi_params.default'
test -f '/usr/local/nginx/conf/fastcgi.conf' || cp conf/fastcgi.conf '/usr/local/nginx/conf'
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 `/lnmp1.0-full/nginx-1.2.7'
ln: 创建符号链接 "/usr/bin/nginx": 文件已存在
Create PHP Info Tool...
Copy PHP Prober...
p.php
============================Install PHPMyAdmin=================================
mkdir: 无法创建目录"/home/wwwroot/default/phpmyadmin/upload/": 文件已存在
mkdir: 无法创建目录"/home/wwwroot/default/phpmyadmin/save/": 文件已存在
============================phpMyAdmin install completed=================================
============================add nginx and php-fpm on startup============================
Download new nginx init.d file......
--2014-01-02 16:41:16-- http://soft.vpser.net/lnmp/ext/init.d.nginx
正在解析主机 soft.vpser.net... 96.44.153.111
正在连接 soft.vpser.net|96.44.153.111|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 416 Requested Range Not Satisfiable
文件已下载完成;不会进行任何操作。
===========================add nginx and php-fpm on startup completed====================
Starting LNMP...
Starting MySQL.. SUCCESS!
Starting php-fpm [02-Jan-2014 16:41:19] ERROR: An another FPM instance seems to already listen on /tmp/php-cgi.sock
[02-Jan-2014 16:41:19] ERROR: FPM initialization failed
failed
Starting nginx daemon: nginxnginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] still could not bind()
nginx already running.
# Generated by iptables-save v1.4.7 on Thu Jan 2 16:41:21 2014
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
-A INPUT -p tcp -m tcp --dport 80 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 80 -j ACCEPT
COMMIT
# Completed on Thu Jan 2 16:41:21 2014
===================================== Check install ===================================
Checking...
Nginx: OK
PHP: OK
PHP-FPM: OK
MySQL: OK
Install lnmp 1.0 completed! enjoy it.
=========================================================================
LNMP V1.0 for CentOS/RadHat Linux VPS Written by Licess
=========================================================================
For more information please visit http://www.lnmp.org/
lnmp status manage: /root/lnmp {start|stop|reload|restart|kill|status}
default mysql root password:danipp100xia
phpinfo : http://yourIP/phpinfo.php
phpMyAdmin : http://yourIP/phpmyadmin/
Prober : http://yourIP/p.php
Add VirtualHost : /root/vhost.sh
The path of some dirs:
mysql dir: /usr/local/mysql
php dir: /usr/local/php
nginx dir: /usr/local/nginx
web dir : /home/wwwroot/default
=========================================================================
=========================================================================
Manager for LNMP V1.0 , Written by Licess
=========================================================================
LNMP is a tool to auto-compile & install Nginx+MySQL+PHP on Linux
This script is a tool to Manage status of lnmp
For more information please visit http://www.lnmp.org
Usage: /root/lnmp {start|stop|reload|restart|kill|status}
=========================================================================
Nginx is stop!
php-fpm is runing!
SUCCESS! MySQL running (26923)
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:49161 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:5900 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:5800 0.0.0.0:* LISTEN
tcp 0 0 :::5900 :::* LISTEN
tcp 0 0 :::111 :::* LISTEN
tcp 0 0 :::22 :::* LISTEN
tcp 0 0 ::1:631 :::* LISTEN
tcp 0 0 :::50360 :::* LISTEN
tcp 0 0 :::5989 :::* LISTEN
tcp 0 0 :::5800 :::* LISTEN
[root@qyzgnet lnmp1.0-full]# /root/lnmp restart
=========================================================================
Manager for LNMP V1.0 , Written by Licess
=========================================================================
LNMP is a tool to auto-compile & install Nginx+MySQL+PHP on Linux
This script is a tool to Manage status of lnmp
For more information please visit http://www.lnmp.org
Usage: /root/lnmp {start|stop|reload|restart|kill|status}
=========================================================================
Stoping LNMP...
Stopping nginx daemon: nginxcat: /usr/local/nginx/logs/nginx.pid: 没有那个文件或目录
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
nginx not running.
Gracefully shutting down php-fpm . done
Shutting down MySQL. SUCCESS!
Starting LNMP...
Starting nginx daemon: nginxnginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] still could not bind()
nginx already running.
Starting php-fpm done
Starting MySQL.. SUCCESS!
[root@qyzgnet lnmp1.0-full]#
这个安装好后最后一段信息,还有我重启lnmp的信息 |
|