摘要:
Nginx rewrite 规则 与 proxy_pass 实现 ~ 大小写敏感匹配 ~* 大小写不敏感匹配 !~ 大小写敏感不匹配 !~* 大小写不敏感不匹配 -f 检测文件存在 -d 检测目录存在 -e 检测文件,目录或者符号链接存在 -x 检测文件可执行 break – 停止rewrite检测 阅读全文
摘要:
Cacti 监控安装配置 环境: 安装Cacti 的服务器 Linux 6.4 x64 ip 10.8.8.11 一: 配置iptables , selinux vi /etc/sysconfig/iptables # Firewall configuration written by system 阅读全文
摘要:
CentOS 6.4 x64 Varnish 安装配置 Varnish的官方网址为http://varnish-cache.org 首先下载Varnish 稳定版本3.0.3 wget http://repo.varnish-cache.org/source/varnish-3.0.3.tar.gz 阅读全文
摘要:
利用 gperftools 对nginx 与 mysql 进行 内存管理 性能优化 降低负载. Gperftools 是由谷歌开发。官方对gperftools 的介绍为: These tools are for use by developers so that they can create mo 阅读全文
摘要:
环境 CentOS 5.8 X64 wget http://www.samba.org/samba/ftp/stable/samba-3.6.9.tar.gz tar zxvf samba-3.6.9.tar.gz cd samba-3.6.9 cd source3 sh autogen.sh ./ 阅读全文
摘要:
简单记录一下...虽然安装很简单... 首先下载配置安装 jdk http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u25-download-346242.html 下载bin的安装 (需要注册个帐号) 32位 http://d 阅读全文
摘要:
系统 CentOS 5.8 x64 wget http://haproxy.1wt.eu/download/1.3/src/haproxy-1.3.26.tar.gz cd haproxy-1.3.26 make TARGET=linux26 PREFIX=/opt/local/haproxy ma 阅读全文
摘要:
一、MFS 简介.... MooseFS(Moose File System,mfs)是一种分布式文件系统,它将数据分布在网络中的 不同服务器上,支持FUSE,客户端可以作为一个 普通的Unix 文件系统使用MooseFS。 MooseFS中共有四种角色: 1. 主控服务器master server 阅读全文
摘要:
sersync 主要用于服务器同步,web镜像等功能。sersync是使用c++编写,在结合rsync同步的时候,节省了运行时耗和网络资源。因此更快。sersync配置起来很简单。另外本项目相比较其他脚本开源项目,使用多线程进行同步,尤其在同步较大文件时,能够保证多个服务器实时保持同步状态,同步及时 阅读全文
摘要:
实际环境架构 分别在3台机器运行一个mongod实例(称为mongod shard11,mongod shard12,mongod shard13)组织replica set1,作为cluster的shard1 分别在3台机器运行一个mongod实例(称为mongod shard21,mongod 阅读全文