一、keepalived编译支持ipv6服务器托管网
正常编译安装一般会报错
./configure --prefix=/usr/local/keepalived
*** WARNING - this build will not support IPVS with IPv6. Please install libnl/libnl-3 dev libraries to support IPv6 with IPVS.
#安装依赖
yum install -y libnl libnl-devel
#继续编译安装
./configure --prefix=/usr/local/keepalived
make && make install
二、keepalived配置VIP
vrrp_instance VI_1 {
服务器托管网 virtual_ipaddress {
192.168.100.150
}
...
virtual_ipaddress_excluded {
1234:5678:9abc:def::1
1234:5678:9abc:def::2/128
}
...
}
服务器托管,北京服务器托管,服务器租用 http://www.fwqtg.net
机房租用,北京机房租用,IDC机房托管, http://www.fwqtg.net
前端的菜单和按钮权限都可以通过配置来实现,但很多时候,后台查询数据库数据的权限需要通过手动添加SQL来实现。 比如员工打卡记录表,有id,name,dpt_id,company_id等字段,后两个表示部门ID和分公司ID。 查看员工打卡记录SQL为:selec…