Jenkins Install

less than 1 minute read

Jenkins Redhat Packages

To use this repository, run the following command:

$ sudo wget -O /etc/yum.repos.d/jenkins.repo
$ sudo rpm --import

If you’ve previously imported the key from Jenkins, the rpm --import will fail because you already have a key. Please ignore that and move on.

$ yum install epel-release # repository that provides 'daemonize'
$ yum install java-11-openjdk-devel
$ yum install jenkins


  • /usr/lib/jenkins/ jenkins 安装目录,WAR包会放在这里。
  • /etc/sysconfig/jenkins jenkins 配置文件
  • /var/lib/jenkins/ 默认的 JENKINS_HOME
  • /var/log/jenkins/jenkins.log 日志文件

启动 Jenkins

$ systemctl start jenkins


$ systemctl status jenkins