Haproxy 配置
2015年11月6日
没有评论
1.下载 jedis-2.5.2.jar tomcat-redis-session-manager1.2.jar commons-pool2-2.2.jar 这三个包,复制到Tomcat_HOME/lib 下
2.修改Tomcat_HOME/conf/context.xml
在<Context></Context> 里增加如下内容
<Valve className="com.orangefunction.tomcat.redissessions.RedisSessionHandlerValve" /> <Manager className="com.orangefunction.tomcat.redissessions.RedisSessionManager" host="localhost" port="6379" password="123456" database="1" maxInactiveInterval="60"/>
redis 服务器地址 端口 密码 等参数请根据实际情况自行修改
refer to:https://github.com/jcoleman/tomcat-redis-session-manager
1.安装 PGDG RPM 文件
yum localinstall http://yum.postgresql.org/9.3/redhat/rhel-6-x86_64/pgdg-centos93-9.3-1.noarch.rpm
2.查看可用包
yum list postgres*
3.安装postgresql 阅读全文…
1.环境
系统信息 CentOS-6.5-x86_64
服务器节点IP:192.168.1.200 , 192.168.1.201 , 192.168.1.202
2.关闭SELinux
修改/etc/selinux/config 文件
将SELINUX=enforcing改为SELINUX=disabled
重启机器(可以通过/usr/sbin/sestatus -v 查看状态)
3.安装基础软件支撑
yum -y install tcp_wrappers wget http://pkgs.repoforge.org/socat/socat-1.7.2.4-1.el6.rf.x86_64.rpm rpm -iv socat-1.7.2.4-1.el6.rf.x86_64.rpm
4.安装Mariadb Galera Cluster
阅读全文…