nginx学习—worker_cpu_affinity说明

Filed under: 东写西读 | Leave a Comment 

官方说明:http://wiki.nginx.org/NginxHttpMainModule#worker_cpu_affinity
worker_cpu_affinity
Syntax: worker_cpu_affinity cpumask [cpumask...]
Defaul...


让vim显示空格,及tab字符 vim 多行注释

Filed under: 东写西读 | Leave a Comment 

1、显示 TAB 键

文件中有 TAB 键的时候,你是看不见的。要把它显示出来:

:set list

现在 TAB 键显示为 ^I,而 $显示在每行的结尾,以便你能找到可能会被你忽略的空白字符在...


Python 2.6+Django 1.2.1 + Nginx

Filed under: 东写西读 | Leave a Comment 

Python 2.6.5 + Django 1.2.1 + Nginx Installation && Configuration
fastcgi+django,fastcgi+php

一、install
## 万恶的XXX,封掉了python下的所有目录,首页上的download链接是打不开的,不过可以到其...


升级nginx,查看已经安装的模块,并隐藏或者修改版本号

Filed under: 东写西读 | Leave a Comment 

升级,查看已经安装的模块

[root@mail ~]# /opt/nginx/sbin/nginx -V
nginx version: nginx/0.5.34
built by gcc 3.4.6 20060404 (Red Hat 3.4.6-3)
configure arguments: –prefix=/opt/nginx –sbin-path=/opt/nginx/s...


linux下Rsync同步镜像服务器配置教程

Filed under: 东写西读 | Leave a Comment 

主服务器:192.168.0.220 (CentOS 4.4)
从服务器:192.168.0.248 (CentOS 5)
============================== 1> 在两台主机上分别安装rsync ======================

默认一般都是安装了的

[root@office ~...


Page 5 of 36« First...«34567»...Last »