[Centos7] Jenkins 설치 및 이관

[Centos7] Jenkins 설치 및 이관

1. Java 11 설치
[root@localhost ~]# yum install -y java-11-openjdk-devel.x86_64
2. jenkins repo 설치
[root@localhost ~]# wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo
[root@localhost ~]# rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io-2023.key
3. jenkins 설정 변경
[root@localhost ~]# vim /etc/sysconfig/jenkins
4. 기존 jenkins 서버 백업
ThinBackup 플러그인 사용 하여 기존 서버 백업 파일 생성 후 신규 서버에서 복원 진행