随笔分类 - 网络编程
摘要:LVS安装部署一、LVS安装(CENTOS)1、LVS模块ip_vs已经内置在LINUX内核中,一般情况下ip_vs并没有启动,可以通过lsmod|grepip_vs查看,能够看到信息表示模块已经加载,否则用modprobeip_vs来启动。2、192.168.0.156/200/201上都启动ip_vs模块。二、VIP服务器IPVSADM安装1、ipvsadm下载地址http://www.linuxvirtualserver.org/software/index.html2、源代码安装的话请根据内核版本(uname-a)来选择版本,注意对应版本对内核版本的要求。3、CentOS5.5上直接用
阅读全文
摘要:Redis Sentinel - 监控软件说明文档http://redis.io/topics/sentinel使用说明:http://blog.163.com/a12333a_li/blog/static/87594285201304103257837/sentinel.conf{port 26379sentinel monitor mymaster 127.0.0.1 6379 1sentinel down-after-milliseconds mymaster 30000sentinel can-failover mymaster yessentinel parallel-syncs m
阅读全文
摘要:一、下载luajit 2.0http://luajit.org/download.html二、下载nginx源代码http://www.nginx.org/en/download.html三、下载nginx_devel_kithttps://github.com/simpl/ngx_devel_kit/tags四、下载lua-nginx-modulehttps://github.com/chaoslawful/lua-nginx-module/tags五、先安装luajitmake & make install六、设置环境变量:export LUAJIT_LIB=/usr/local/
阅读全文
摘要:memcached有很多版本的Client,具体可参照:http://code.google.com/p/memcached/wiki/Clients本次只讨论libmemcached这个client的安装及使用官网:http://libmemcached.org/libMemcached.htmllibMemcached was designed to provide the greatest number of options to use Memcached. Some of the features provided:Asynchronous and Synchronous Trans
阅读全文
摘要:Memcached是什么?存在意义?(提供缓存,提高系统性能)http://blog.developers.api.sina.com.cn/?p=124linux上安装Memcached:Memcached官网:http://memcached.org/本次安装基于1.4.7稳定版本http://memcached.googlecode.com/files/memcached-1.4.7.tar.gz另外,Memcached用到了libevent来做socket处理。libevent官网:http://www.monkey.org/~provos/libevent/本次安装基于libevent
阅读全文
浙公网安备 33010602011771号