安装说明系统环境:CentOS-6.3软件:nginx-1.2.6.tar.gz安装方式:源码编译安装安装位置:/usr/local/nginx下载地址:http://nginx.org/en/download.html安装前提在安装nginx前,需要确保系统安装了g++、gcc、openssl-devel、pcre-devel和zlib-devel软件。安装必须软件:[root@..
分类:
其他好文 时间:
2015-04-21 18:47:49
阅读次数:
124
环境:CentOS6.5(最小化安装)Nginx:1.6.2Nagios:3.3.1安装基本环境:[root@localhostsoftware]#yum-yinstallgccgcc-c++[root@localhostsoftware]#yum-yinstallperl-develperl源码安装PHP:[root@localhostsoftware]#yum-yinstallmysqlmysql-devel[root@localhostsoftware]#..
分类:
移动开发 时间:
2015-04-21 09:59:08
阅读次数:
348
一、安装开发组件yum-ygroupinstall"DevelopmentTools""ServerPlatformDevelopment"--省事安装yum-yinstallpcre-devel--不安装此包,安装过程中会报错缺少pcre二、添加运行nginx程序的用户及组groupadd-rnginxuseradd-r-gnginxnginx三、编译和安装nginx./configure\--prefix=/u..
分类:
其他好文 时间:
2015-04-20 19:02:22
阅读次数:
138
#防火墙允许端口
iptables-AINPUT-mstate--stateNEW-mtcp-ptcp--dport80-jACCEPT
iptables-AINPUT-mstate--stateNEW-mtcp-ptcp--dport3306-jACCEPT
#SELinux配置
SELINUX=disabled
#Nginx安装
yum-yremovehttpd*php*
yum-yinstallnginx
servicenginxstart
chkconfignginxon
..
分类:
其他好文 时间:
2015-04-19 19:40:16
阅读次数:
153
转自http://www.cnblogs.com/zhuhongbao/archive/2013/06/04/3118061.htmlNginx安装部署Nginx ("engine x")是一个高性能的HTTP和反向代理服务器,也是一个IMAP/POP3/SMTP代理服务器。Nginx是由Igor ...
分类:
其他好文 时间:
2015-04-17 23:45:39
阅读次数:
263
nginx+memcached+tomcat集群session共享完整版集群环境1.nginx版本nginx-1.6.2.tar.gz2.jdk版本jdk-7u21-linux-x64.tar.gz3.tomcat版本7.0.294.memcached版本memcached-1.4.22.tar.gz5.CentOS6.5系统采用一台服务做测试一、nginx安装安装依赖包yum-yinstallgccgcc-c++1.安装pcr..
分类:
系统相关 时间:
2015-04-14 20:14:39
阅读次数:
312
Nginx+Keepalived负载均衡高可用(双机热备)
1.1 Nginx安装及配置
1.2 Keepalived安装及配置
1.3 WebServer安装
1.4 测试Nginx+Keepalived
环境如下:
CentOS 6.4_64K
eepalived-1.2.12
Nginx-1.4.4
vip:192.168.10.50
master:192.168...
分类:
其他好文 时间:
2015-04-14 16:50:58
阅读次数:
169
下载依赖yum -y install gcc pcre-devel zlib-devel openssl-devel下载nginxwget http://nginx.org/download/nginx-1.7.12.tar.gz解压tar -zxvfnginx-1.7.12.tar.gzcd ng...
分类:
其他好文 时间:
2015-04-10 17:11:51
阅读次数:
121
安装环境:1.CentOS-6.4-i3862.FastDFS_v4.063.fastdfs-nginx-module_v1.154.Nginx-1.5.6(安装见此)5.libevent-2.0.21-stabletrackerserverIP:192.168.1.11storage1serverIP:192.168.1.12group1storage2serverIP:192.168.1.13group2storage3serverIP:192.168.1.14group21..
分类:
Web程序 时间:
2015-04-10 11:40:54
阅读次数:
263
--准备工作(下载)
LuaJIT-2.0.3.tar.gz
ngx_devel_kit
nginx_lua_module
nginx-1.4.7
(1)安装LuaJIT
tar -zxvf LuaJIT-2.0.3.tar.gz
cd LuaJIT-2.0.3
make
make install
因为安装在缺省路径,所以LuaJIT对应的lib,include均在...
分类:
其他好文 时间:
2015-04-05 23:33:27
阅读次数:
217