启动nginx

首先使用whereis nginx 找到nginx

nginx -c /path/to/config/file

启动nginx

supervisorctl

mysql                            FATAL      Exited too quickly (process log may have details)

nginx                            EXITED     Jun 16 09:54 AM

php-fpm                          RUNNING    pid 17, uptime 6 days, 2:38:11

sshd                             RUNNING    pid 16, uptime 6 days, 2:38:11

wushuu_manager.sh                EXITED     Jun 10 12:18 PM

进入之后,敲入:nginx start 命令。

你可能感兴趣的:(启动nginx)