摘要: 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 阅读全文
posted @ 2012-07-06 16:48 HQER 阅读(3073) 评论(0) 推荐(0) 编辑