查看端口和应用进程:netstat -tunlp
启动jenkins:systemctl start jenkins
查看jenkins启动状态:systemctl status jenkins
停止jenkins: systemctl stop jenkins
systemctl命令重载:systemctl daemon-reload
防火墙相关命令:
开启: systemctl start firewalld ;开放指定端口:firewall-cmd --zone=public --add-port=8080/tcp --permanent;重启:firewall-cmd --reload; 查看开放端口:firewall-cmd --list-all
命令含义:--zone #作用域;--add-port=8080/tcp #添加端口=端口/通讯协议;--permanent #永久生效
标签:cmd,--,Linux,端口,命令,systemctl,jenkins,相关,firewall From: https://www.cnblogs.com/in-here/p/16733434.html