Linux Pound 负载均衡 简介

来源:互联网 发布:致知什么意思 编辑:程序博客网 时间:2024/05/22 03:12

 资料:http://d.hatena.ne.jp/h-yano/20070720/1184918054

1.linux上安装java环境,tomcat,并发布项目(开启SSL)。

2.安装openssl,生成证书文件:pound.pem

3.安装Pound负载均衡。

配置文件例:pound.cfg

User            "nobody"Group           "nobody"#LogFacility    local1ListenHTTPS        cert            "/usr/local/etc/pound.pem"        Address         192.168.2.21        Port            443EndListenHTTP        Address          192.168.2.21        Port             80EndService        BackEnd                Address 192.168.2.21                Port    8080                TimeOut 3600        End        Session                TYPE    COOKIE                TTL     1800                ID      "JSESSIONID"        EndEnd

http://192.168.2.21/xxx/xxxx......访问服务器即可。

其他资料:http://www.atmarkit.co.jp/flinux/rensai/apache2_05/apache05c.html

 

原创粉丝点击