摘要:
1,启动nginx。找到自己的nginx安装目录,我的安装目录为/usr/local/webserver/nginx。[root@CentOS sbin]# /usr/local/webserver/nginx/sbin/nginx上面代码就是启动nginx。不过一般都在安装nginx时加入开机自动启动。[root@CentOS sbin]# vi /etc/rc.d/rc.local #!/bin/sh## This script will be executed *after* all the other init scripts.# You can put your own initia 阅读全文