环境:已安装 tomcat
安装(如果yum下载速度比较忙可以下载下来再安装)
yum -y install https://pkg.jenkins.io/redhat/jenkins-2.77-1.1.noarch.rpm
下载地址
https://pkg.jenkins.io/redhat/jenkins-2.77-1.1.noarch.rpm
解压
rpm -ivh jenkins-2.77-1.1.noarch.rpm
加入开机自启动
systemctl enable jenkins
启动jenkins
systemctl start jenkins
查看启动状态
systemctl status jenkins
查看进程
ps -ef | grep jenkins
查看端口
yum -y install net-tools
netstat -lntup