CentOS下 Pound 安装
来源:互联网 发布:淘宝买iphone7 店铺 编辑:程序博客网 时间:2024/05/09 21:36
Pound:POUND - REVERSE-PROXY AND LOAD-BALANCER
http://www.apsis.ch/pound/index_html
(当前版本2.6)
PREREQUISITION
====================
$ yum install openssl openssl-devel
====================
INSTALL POUND
====================
cd /usr/local/src
wget "http://www.apsis.ch/pound/Pound-2.5.tgz"
tar zxvf Pound-2.5.tgz
cd Pound-2.5
./configure --prefix=/usr --sysconfdir=/etc --with-ssl=/usr/lib
make
make install
vi /etc/pound.cfg
...
##use syslog-ng to save log
LogFacility local5
LogLevel 3...
ListenHTTP
Address 0.0.0.0
Port 80
Service
BackEnd
Address 192.168.1.1
Port 80
Priority 1
TimeOut 60
End
End
End
##saveSTART POUND
====================
/usr/sbin/pound
##check pound status
ps aux | grep pound
====================
vi /etc/syslog-ng/syslog-ng.conf
destination d_pound { file("/var/log/pound/access_log"); };
filter f_pound { facility(local5); }
log { source(s_sys); filter(f_pound); destination(d_pound); };
##save
vi /etc/logrotate.d/pound
/var/log/pound/access_log {
daily
missingok
rotate 7
notifempty
postrotate
/etc/init.d/syslog-ng reload > /dev/null
endscript
}
##save
====================
- CentOS下 Pound 安装
- CentOS下安装MRTG
- centos下安装memcached
- CentOS下安装mplayer
- Centos 下安装 json
- CentOS下安装Thunderbird
- CentOS下安装Thunderbird
- Centos 下安装 JDK
- Centos 下安装 JDK
- CENTOS 下安装 QT
- CentOS下安装AMP
- centos 下安装JDK
- Centos下安装MONO
- CentOS下安装mysql
- CentOS下安装Git
- CentOS 下安装Bugzllia
- CentOS下安装AMP
- CentOS下安装CodeBlocks
- POJ 3041 Asteroid (二分匹配模板-二分图最小覆盖)
- 【xinfanqie】熟知Win7系统收藏夹的功效
- 程序员之相亲记(一)
- Linux下查看文件和文件夹大小的df和du命令
- Android应用框架无边界
- CentOS下 Pound 安装
- 【xinfanqie】从测试数据看出你的密码是否安全
- cocos2d(二) scenes, layers, and nodes
- 如何使用 Windows Phone 的后退堆栈导航
- 网站性能测试:页面测试工具 + Web服务器压力测试工具
- 【xinfanqie】不为人知的Win7右键菜单添加功能
- ASM linux helloworld
- KMP
- 网站运营的十二条盈利模式