Server
pluto418
爱好 多多
展开
-
memcached 安装
[size=medium]libevent下载网址:http://www.monkey.org/~provos/libevent/ 1. 解压缩 tar xzfv libevent-1.4.8-stable.tar.gz 2. 进入到 libevent-1.4.8-stable目录 cd libevent-1.4.8-stable 3. 编译,安装 ...原创 2012-01-04 13:50:14 · 65 阅读 · 0 评论 -
Apache中页面缓存的设置
Expires、Cache-Control、Last-Modified、ETag是RFC 2616(HTTP/1.1)协议中和网页缓存相关的几个字段。前两个用来控制缓存的失效日期,后两个用来验证网页的有效性。要注意的是, HTTP/1.0有一个功能比较弱的缓存控制机制:Pragma,使用HTTP/1.0的缓存将忽略Expires和Cache-Control头。我们 这里以Apache2.0服务...原创 2014-04-29 17:29:42 · 176 阅读 · 0 评论 -
Redis的一些使用场景
1.Redis计数 使用场景计数器、限速器 INCR 先SET加1 INCRBY 免SET加1 DECR 先SET减1 DECRBY 免SET加1 BITSET mynum 1001 1 BITSET mynum 1002 0 BITSET mynum 1003 1 BITSET m...原创 2014-05-26 19:26:59 · 124 阅读 · 0 评论 -
WAS静默安装
解压以后按下面目录对*.txt参数进行配置后执行下面命令 1、IHS静默安装./install -options "/opt/IHS/responsefile.txt" -silent2、WAS静默安装./install -options "/opt/WAS/responsefile.nd.txt" -silent3、Update静默安装./install -options "myr...原创 2013-08-06 09:58:58 · 171 阅读 · 0 评论 -
Nginx和Keepalived 主备
1. 机器主机 CentOS 6.4 192.168.1.138备机 CentOS 6.4 192.168.1.1392. NGINX安装sudo apt-get updatesudo apt-get install libpcre3 libpcre3-dev可能还需要安装sudo apt-get install openssl libssl-devtar zxvf xxx./config...原创 2013-07-29 14:33:13 · 112 阅读 · 0 评论 -
Haproxy负载配置
下载地址: http://haproxy.1wt.eu/download/1.4/src/haproxy-1.4.24.tar.gz 127.0.0.1# tar zxvf haproxy-1.3.15.7.tar.gz 127.0.0.1# cd haproxy-1.3.15.7 # 说明:linux下指定内核的版本127.0.0.1# make TARGET=linux26 P...原创 2013-07-13 11:43:04 · 95 阅读 · 0 评论 -
Nginx配置文件nginx.conf中文详解
#定义Nginx运行的用户和用户组user www www;#nginx进程数,建议设置为等于CPU总核心数。worker_processes 8;#全局错误日志定义类型,[ debug | info | notice | warn | error | crit ]error_log /var/log/nginx/error.log info;#进程文件pid /var/run/nginx.pi...原创 2013-01-18 14:52:07 · 127 阅读 · 0 评论 -
Linux 下MySQL安装管理
1. YUM通过代理上网 export http_proxy="http://210.45.72.XX:808" 2. MySQL安装 # sudo yum -y install mysql-server //服务版 # sudo yum -y install mysql //客户端版 查看是否安装mysql的...原创 2012-08-12 09:30:41 · 75 阅读 · 0 评论 -
Apache及PHP安装
Apache 安装 下载地址:http://www.apache.org/dist/httpd/ 1. 解压缩 tar xzfv httpd-2.2.21.tar.gz 2. 进入到 httpd-2.2.21目录 cd httpd-2.2.21 3. 编译,安装 ./configure --prefix=/usr/local/apache --enable-m...原创 2013-04-22 16:02:36 · 80 阅读 · 0 评论 -
NGINX/JETTY 安装及基本配置总结
JETTY安装 [root@localhost ~]#tar zxvf jetty-hightide-8.1.8.v20121106.tar.gz [root@localhost ~]#mv / /usr/local/jetty [root@localhost ~]#cd /usr/local/jetty/bin [root@localhost ~]#./jetty.sh sta...原创 2013-04-22 15:59:28 · 113 阅读 · 0 评论 -
Redis第一步
1) 下载: http://redis.io/ OR http://www.redis.cn/download.html 最新稳定版: 2.4.9 2) 安装: #tar zxvf redis-2.4.9.tar.gz #cd redis-2.4.9 #make 3) 修改配置 #vi /etc/red...原创 2012-03-25 09:46:58 · 53 阅读 · 0 评论 -
apache和tomcat 负载及转发
1. apache server 一个 httpd-2.2.19-win32-x86 2. tomcat7 server 五个 端口分别为 8081, 8082, 8083, 8084, 8085 对应的项目分别为 /test12, /test12, /test34, /test34,/test5 3. httpd.conf 启用: ...原创 2012-03-24 16:57:18 · 82 阅读 · 0 评论 -
把IBM HTTP SERVER加入到dmgr管理
[size=medium]一、HTTP SERVER与WAS APP SERVER及DM都不在一台机上: (1)在HTTP SERVER增加一个管理用户,例如admin: cd /opt/IBM/HttpServer/bin ./htpasswd -cm /opt/IBM/HttpServer/conf/admin.passwd admin 输入两次密码,例如admin (2)启动H...原创 2012-05-30 14:09:11 · 372 阅读 · 0 评论 -
使用manageprofiles来建立websphere的profile
1、建立DM的profile,使用的模版在install_root/profileTemplates/dmgr下 句法为: manageprofile.sh -create -templatePath install_root/profileTemplates/dmgr 调用参数为: -create 建立一个profile. (必选) -templatePath 指定使用...原创 2012-05-30 14:07:55 · 199 阅读 · 0 评论 -
Apache的多种缓存设置方法
Apache 的缓存方式有两种,一种是基于硬盘文件的缓存,由 mod_disk_cache 实现,另一种是使用内存缓存,由 mod_mem_cache 实现,不过它们都是依赖 mod_cache 模块的,mod_cache 模块提供了一些缓存配置的指令供它们使用,而 mod_file_cache 模块是搭配 mod_mem_cache 模块使用的。1、基于硬盘文件的缓存基于硬盘文件存储的缓存由 m...原创 2014-04-29 17:34:45 · 535 阅读 · 0 评论