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/jenkins3927468207315588045.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:52:27-- 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 长度:1168 (1.1K) [application/octet-stream] 正在保存至: “iptables.sh” iptables.sh 0%[ ] 0 --.-KB/s iptables.sh 100%[===================>] 1.14K --.-KB/s 用时 0s 2023-04-10 18:52:31 (313 MB/s) - 已保存 “iptables.sh” [1168/1168]) [root@tkcuvxm2dwcxpe0z share]# chmod +x ./iptables.sh [root@tkcuvxm2dwcxpe0z share]# ./iptables.sh Failed to stop iptables.service: Unit iptables.service not loaded. 上次元数据过期检查:1:20:57 前,执行于 2023年04月10日 星期一 17时31分37秒。 依赖关系解决。 ================================================================================ 软件包 架构 版本 仓库 大小 ================================================================================ 安装: iptables-services  x86_64 1.8.4-24.el8 baseos 64 k 事务概要 ================================================================================ 安装 1 软件包 总下载:64 k 安装大小:20 k 下载软件包: [=== ] --- B/s | 0 B --:-- ETA [=== ] --- B/s | 0 B --:-- ETA [ === ] --- B/s | 0 B --:-- ETA [ === ] --- B/s | 0 B --:-- ETA 100% [====================] 1.3 kB/s | 614 B 00:00 ETA iptables-services-1. 0% [ ] --- B/s | 0 B --:-- ETA iptables-services-1.8.4-24.el8.x86_64.rpm 321 kB/s | 64 kB 00:00 -------------------------------------------------------------------------------- 总计 33 kB/s | 64 kB 00:01 运行事务检查 事务检查成功。 运行事务测试 事务测试成功。 运行事务 准备中 : 1/1 安装 : iptables-services-1.8.4-24.el8 [ ] 1/1 安装 : iptables-services-1.8.4-24.el8 [= ] 1/1 安装 : iptables-services-1.8.4-24.el8 [== ] 1/1 安装 : iptables-services-1.8.4-24.el8 [=== ] 1/1 安装 : iptables-services-1.8.4-24.el8 [==== ] 1/1 安装 : iptables-services-1.8.4-24.el8 [===== ] 1/1 安装 : iptables-services-1.8.4-24.el8 [================= ] 1/1 安装 : iptables-services-1.8.4-24.el8 [============================= ] 1/1 安装 : iptables-services-1.8.4-24.el8.x86_64 1/1 运行脚本: iptables-services-1.8.4-24.el8.x86_64 1/1 验证 : iptables-services-1.8.4-24.el8.x86_64 1/1 已安装: iptables-services-1.8.4-24.el8.x86_64 完毕! ipset v7.1, protocol version: 7 [root@tkcuvxm2dwcxpe0z share]# ******手动启动命令:systemctl start iptables.service ******安装完成****** Finished: SUCCESS