centos7 安装Jenkins详细介绍
CentOS7 Jenkins安装
Download
从Jenkins下载apache-tomcat-8.0.18.tar.gz
Install
安装
上传RPM文件到/tmp目录下
cd /tmp
rpm -ivh jenkins-1.599-1.1.noarch.rpm
设定
/etc/sysconfig/jenkins
JENKINS_PORT="9081"
JENKINS_AJP_PORT="9082"
设定开机启动
chkconfig jenkins on
防火墙
新建文件/usr/lib/firewalld/services/jenkins.xml
<?xml version="1.0" encoding="utf-8"?> <service> <short>Jenkins</short> <description>Jenkins</description> <portprotocol="tcp"port="9081"/> </service>
修改防火墙设定
firewall-cmd --permanent --add-service=jenkins firewall-cmd --reload
感谢阅读,希望能帮助到大家,谢谢大家对本站的支持!
相关推荐
达观数据 2020-11-11
汪康 2020-10-30
ppppfly 2020-10-24
synshitou 2020-10-21
programmeryu 2020-09-24
Topbeyond 2020-08-21
lrcoop 2020-08-18
young依然 2020-08-17
oden 2020-08-16
lrcoop 2020-08-15
yserver 2020-08-15
王永迪 2020-08-15
pursuemylife 2020-08-14
pandaphinex 2020-08-09
leonranri 2020-07-26
CloasGao 2020-07-21
zccheu 2020-07-18