之前进行的操作
yum -y install gcc pcre-devel openssl-devel
之后照着 这个来的
http://www.osyunwei.com/archives/1217.html到这一步的时候过不去了
提示是
Restarting nginx (via systemctl): Job for nginx.service failed. See 'systemctl status nginx.service' and 'journalctl -xn' for details.
[FAILED]
查看了一下
nginx.service - SYSV: Nginx is a high-performance web and proxy server.
Loaded: loaded (/etc/rc.d/init.d/nginx)
Active: failed (Result: exit-code) since Sat 2014-07-26 08:58:02 UTC; 1min 46s ago
Process: 17546 ExecStart=/etc/rc.d/init.d/nginx start (code=exited, status=1/FAILURE)
Jul 26 08:58:02 localhost.localdomain systemd[1]: Starting SYSV: Nginx is a high-performance web and proxy server....
Jul 26 08:58:02 localhost.localdomain nginx[17546]: /etc/rc.d/init.d/nginx: line 20: [: =: unary operator expected
Jul 26 08:58:02 localhost.localdomain nginx[17546]: nginx already running....
Jul 26 08:58:02 localhost.localdomain systemd[1]: nginx.service: control process exited, code=exited status=1
Jul 26 08:58:02 localhost.localdomain systemd[1]: Failed to start SYSV: Nginx is a high-performance web and proxy server..
Jul 26 08:58:02 localhost.localdomain systemd[1]: Unit nginx.service entered failed state.
Failed to start SYSV
求解决方案