keepalived 做主备,检查80端口
keepalived 的配置文件,主和备一样,只有priority 150 的值不同! Configuration File for keepalivedglobal_defs { notification_email { acassen@firewall.loc failover@firewall.loc sysadmin@firewall.loc } ...
vsftpd 500 OOPS: vsftpd: refusing to run with
当我们限定了用户不能跳出其主目录之后,使用该用户登录FTP时往往会遇到这个错误:ls: 登录失败: 500 OOPS: vsftpd: refusing to run with writable root inside chroot()从2.3.5之后,vsftpd增强了安全检查,如果用户被限定在了其主目录下,则该用户的主目录不能再具有写权限了!如果检查发现还有写权限,就会报该错...
keepalived 脚本
#!/bin/bash # description: Config realserver lo and apply noarpVIP=( 192.168.1.132 ) /etc/rc.d/init.d/functions case "$1" instart) ...