CentOS 6.3安装Nginx开启目录浏览、下载功能
上传一些资料到服务器上,客户端可以通IE下载;上传方法有多种,参考: SecureCRT 安装上传(rz)和下载(sz) http://yanghuawu.blog.51cto.com/2638960/1009591 13、nginx关闭进程命令 方法一 停止操作是通过向nginx进程发送信号来进行的 步骤1:查询nginx主进程号 [root@localhost ~]# ps -ef | grep nginx 在进程列表里 面找master进程,它的编号就是主进程号了。 步骤2:发送信号 从容停止Nginx: [root@localhost ~]# kill -QUIT 主进程号 快速停止Nginx: [root@localhost ~]# kill -TERM 主进程号 强制停止Nginx: [root@localhost ~]# kill -9 nginx 方法二 [root@localhost ~]# yum install lsof [root@localhost ~]# lsof -i :80 [root@localhost ~]#kill -9 进程号 14、安装过程中问题 --------------------------------------------------------------------- 有报错: ./configure: error: the HTTP rewrite module requires the PCRE library. You can either disable the module by using --without-http_rewrite_module option, or install the PCRE library into the system, or build the PCRE library statically from the source with nginx by using --with-pcre=<path> option. (编辑:应用网_丽江站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |