[jenkins] jenkins 설치하기.

2020. 11. 14. 18:09IT/Linux

먼저, jenkins.repo를 yum repository에 추가한다.

# wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo
# rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key

# yum upgrade -y

 

jdk와 함께 설치해주면 끝.

# yum install jenkins java-1.8.0-openjdk-devel -y

# systemctl daemon-reload

 

서비스를 실행하고 상태를 확인해 준다.

# systemctl start jenkins && systemctl status jenkins