linux notes -20080605
来源:互联网 发布:淘宝迪奥香水代购 编辑:程序博客网 时间:2024/05/17 02:21
1, enable forwarding:
usage: Turn on IP forwarding to allow Linux computer to act as a gateway or router.
howto: echo "1" > /proc/sys/net/ipv4/ip_forward
2, enable virtual server:
usage:
howto:
(1), Create virtual service and choose scheduler for http (80) and ftp (21)
ipvsadm -A -t 172.16.91.88:80 -s wlc
ipvsadm -A -t 172.16.91.88:21 -s wrr
(2), Configure load balancing cluser:
ipvsadm -a -t 172.16.91.88:80 -r 176.168.1.1:80 -i
ipvsadm -a -t 172.16.91.88:80 -r 176.168.1.2:80 -i -w 2
ipvsadm -a -t 172.16.91.88:21 -r 176.168.1.3:21 -i
usage: Turn on IP forwarding to allow Linux computer to act as a gateway or router.
howto: echo "1" > /proc/sys/net/ipv4/ip_forward
2, enable virtual server:
usage:
howto:
(1), Create virtual service and choose scheduler for http (80) and ftp (21)
ipvsadm -A -t 172.16.91.88:80 -s wlc
ipvsadm -A -t 172.16.91.88:21 -s wrr
(2), Configure load balancing cluser:
ipvsadm -a -t 172.16.91.88:80 -r 176.168.1.1:80 -i
ipvsadm -a -t 172.16.91.88:80 -r 176.168.1.2:80 -i -w 2
ipvsadm -a -t 172.16.91.88:21 -r 176.168.1.3:21 -i
- linux notes -20080605
- Linux Notes
- linux notes
- Linux Notes
- linux notes
- linux notes
- Linux编程相关 - Notes
- Linux use notes
- Linux learning notes
- Linux learning notes
- Linux learning notes
- Linux Learning notes
- Linux Learning Notes
- Linux trainning notes
- notes for linux programming
- Linux Kernel Notes
- Linux程序设计-notes [第一章]
- linux socket programming notes
- 给学生们批改试卷的随想
- 密码最短长度为 7,其中必须包含以下非字母数字字符: 1。
- 转型linux了
- 昨日游泳
- http协议中有关http头的技术资料
- linux notes -20080605
- ApxGridView学习日记 080605 Edit(编辑)的时候 出现英文update和cancel 改成中文的方法
- 移植Motorola开源的SD/MMC驱动程序
- 使用Regsvr32命令
- 近期OGRE的一些研究---创建道路并且与让地形与道路对齐
- Feedback from Microsoft
- HTTP状态码
- HTTP状态码
- 2000XP双系统启动问题