1、下载 nginx 下载页面 : http://nginx.org/en/download.html 
具体文件: http://nginx.org/download/nginx-1.7.0.zip 2、运行 nginx 解压第一步下载的 
nginx-1.7.0.zip 压缩包 解压到 c:...
                            
                            
                         
                    
                        
                            
                            
                                折腾了一下,尝试用Linux,部署mvc3。分别用过 centos 和 ubuntu 
,用ubuntu是比较容易部署的。操作步骤如下:一、终端分别如下操作sudo su ->输入密码apt-get install nginx apt-get 
install mono apt-get install....
                            
                            
                                分类:
Web程序   时间:
2014-05-19 11:02:12   
                                阅读次数:
647
                             
                    
                        
                            
                            
                                1.Jexus国内的官网:http://www.jexus.org2.Apache官网:http://mono-project.com/Mod_mono3.Nginx官网:http://mono-project.com/FastCGI_Nginx
                            
                            
                                分类:
Web程序   时间:
2014-05-18 19:59:10   
                                阅读次数:
385
                             
                    
                        
                            
                            
                                tcpcopy是一种应用请求复制(基于tcp的packets)工具,其应用领域较广,我们曾经应用于网易的广告投放系统,urs系统,nginx 
hmux协议开发等系统,避免了上线带来的很多问题。总体说来,tcpcopy主要有如下功能:1)分布式压力测试工具,利用在线数据,可以测试系统能够承受的压力大小...
                            
                            
                                分类:
其他好文   时间:
2014-05-18 19:16:49   
                                阅读次数:
537
                             
                    
                        
                            
                            
                                今天给nginx 升级的时候碰到一个问题通过执行 add-apt-repository 
命令来添加nginx 的ppa的时候发现 命令找不到root@ubuntu:~# sudo 
add-apt-repositoryppa:nginx/stablesudo: add-apt-repository: ...
                            
                            
                                分类:
其他好文   时间:
2014-05-17 22:10:10   
                                阅读次数:
336
                             
                    
                        
                            
                            
                                因业务需要需要用zabbix来监控nginxstatus,具体是如下的做法:1.首先在nginx的配置文件中添加如下内容,需要注意的是nginx的文件格式,在allow中我们需要注意的是需要添加zabbixserver的IP地址,不然无法采集到数据,2.重启nginx服务器查看nginx服务器是否能正常打开,Nginxstatus..
                            
                            
                                分类:
其他好文   时间:
2014-05-16 01:58:04   
                                阅读次数:
331
                             
                    
                        
                            
                            
                                打开 /usr/local/php/etc/php-fpm.conf 
调大以下两个参数(根据服务器实际情况,过大也不行) 5120 600
                            
                            
                                分类:
其他好文   时间:
2014-05-15 21:12:11   
                                阅读次数:
206
                             
                    
                        
                            
                            
                                server{if(!-e$request_filename){rewrite^(.*)$/index.phplast;}}如果if没有放在location时,在做memc缓存时,在错误日志里会提示以下信息2014/05/1210:45:51[error]11520#0:*325726srcache_fetch:cachesenttruncatedresponsebodywhilesendingtoclient,client:192.168.3.124,..
                            
                            
                                分类:
其他好文   时间:
2014-05-15 19:02:44   
                                阅读次数:
350
                             
                    
                        
                            
                            
                                #!/bin/bash
#function:cutnginxlogfilesshell
#cp/usr/local/nginx/logs/access.log/usr/local/nginx/logs/access.log.bak
log_cut_path="/var/log/nginx"
log_files_path="/usr/local/nginx/logs/"
log_files_dir=${log_cut_path}$(date-d"yesterday"+"%Y")/$(date-d"yesterd..
                            
                            
                                分类:
其他好文   时间:
2014-05-15 18:49:50   
                                阅读次数:
244
                             
                    
                        
                            
                            
                                一、环境ubuntu12.04.4nginx 1.6.0mariadb 10.0更新系统补丁sudo 
apt-get updatesudo apt-get dist-upgrade -y挂载swap分区dd 
if=/dev/zeroof=/media/fasthdd/swapfile.img bs=...
                            
                            
                                分类:
数据库   时间:
2014-05-15 17:23:21   
                                阅读次数:
1622