系统要求
Centos / Debian / Ubuntu 14.04 +
推荐 Debian / Ubuntu,这个是我一直使用的系统,我的脚本在这个系统上面出错率最低。
CentOS 7 默认的防火墙是 firewall,要使用本脚本,请先卸载或关闭 firewall 服务器,并安装 iptables 全套软件。
CentOS 7开始之前请:
1.
2.
原版:
麦草云本地化版:
Centos / Debian / Ubuntu 14.04 +
推荐 Debian / Ubuntu,这个是我一直使用的系统,我的脚本在这个系统上面出错率最低。
CentOS 7 默认的防火墙是 firewall,要使用本脚本,请先卸载或关闭 firewall 服务器,并安装 iptables 全套软件。
CentOS 7开始之前请:
1.
yum -y remove firewalld
2.
yum -y install iptables iptables-services
原版:
wget -N --no-check-certificate https://raw.githubusercontent.com/ToyoDAdoubiBackup/doubi/master/iptables-pf.sh && chmod +x iptables-pf.sh && bash iptables-pf.sh
麦草云本地化版:
yum -y install wget && wget mcbar.cc/ossbackup/iptables-pf.sh && chmod +x iptables-pf.sh && bash iptables-pf.sh