
nginx
zvaljean
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
RedHat 6.5 企业级下安装nginx,做负载均衡
平台为:rhel 6.5 64bit 一、安装Nginx: 1、解决基本的工具和xia 2、安装 首先添加用户nginx,实现以之运行nginx服务进程: # groupadd -r nginx # useradd -r -g nginx nginx 接着开始编译和安装: # ./configure \ --prefix=原创 2014-11-20 15:42:49 · 661 阅读 · 0 评论 -
为nginx提供SysV init脚本
一下内容来自马哥教育: 新建文件/etc/rc.d/init.d/nginx,内容如下: #!/bin/sh # # nginx - this script starts and stops the nginx daemon # # chkconfig: - 85 15 # description: Nginx is an HTTP(S) server, HTTP(S) re转载 2014-11-20 15:54:26 · 614 阅读 · 0 评论 -
nginx 配置文件详解
1user nobody nobody; 2#启动进程 3worker_processes 5; 4#全局错误日志及PID文件 5error_log logs/error.log notice; 6pid logs/nginx.pid; 7#工作模式及连接数上限 8events { 9#工作模式有:select(标准模式),poll(标准模式),转载 2014-11-21 16:10:29 · 558 阅读 · 0 评论