Started by user tophorsekj Running as SYSTEM Building in workspace /data/publish/jenkins-data/workspace/tophorse_server_install [tophorse_server_install] $ /bin/sh -xe /data/setupfiles/tomcat7-8058-jdk1.8/temp/jenkins8881834637248883575.sh + /data/scripts/install/install.py c200 '--serverName=140.246.33.74-天翼云试用|s1005' '--installItems=6. 安装iptables防火墙,屏蔽默认firewall防火墙|v1008' 开始......安装iptables防火墙,屏蔽默认firewall防火墙 mkdir -p /data/share [root@tkcuvxm2dwcxpe0z ~]# cd /data/share [root@tkcuvxm2dwcxpe0z share]# rm -rf ./iptables.sh [root@tkcuvxm2dwcxpe0z share]# wget http://software.tophorsekj.net/linux/shell/ip ptables/iptables.sh --2023-04-10 18:55:31-- http://software.tophorsekj.net/linux/shell/iptables/iptables.sh 正在解析主机 software.tophorsekj.net (software.tophorsekj.net)... 123.207.175.190 正在连接 software.tophorsekj.net (software.tophorsekj.net)|123.207.175.190|:80... 已连接。 已发出 HTTP 请求,正在等待回应... 200 OK 长度:1226 (1.2K) [application/octet-stream] 正在保存至: “iptables.sh” iptables.sh 0%[ ] 0 --.-KB/s iptables.sh 100%[===================>] 1.20K --.-KB/s 用时 0s 2023-04-10 18:55:31 (308 MB/s) - 已保存 “iptables.sh” [1226/1226]) [root@tkcuvxm2dwcxpe0z share]# chmod +x ./iptables.sh [root@tkcuvxm2dwcxpe0z share]# ./iptables.sh ipset v7.1, protocol version: 7 ipset v7.1: Set cannot be created: set with the same name already exists ipset v7.1: Element cannot be added to the set: it's already added --2023-04-10 18:55:32-- http://software.tophorsekj.net/linux/shell/iptables/iptables 正在解析主机 software.tophorsekj.net (software.tophorsekj.net)... 123.207.175.190 正在连接 software.tophorsekj.net (software.tophorsekj.net)|123.207.175.190|:80... 已连接。 已发出 HTTP 请求,正在等待回应... 200 OK 长度:1011 [application/octet-stream] 正在保存至: “iptables” iptables 0%[ ] 0 --.-KB/s iptables 100%[===================>] 1011 --.-KB/s 用时 0s 2023-04-10 18:55:32 (222 MB/s) - 已保存 “iptables” [1011/1011]) [root@tkcuvxm2dwcxpe0z share]# ******手动启动命令:systemctl start iptables.service ******安装完成****** Finished: SUCCESS