본문 바로가기
ops/aws

[Aws] amazon linux에 jenkins 설치하기

by seohan1010 2024. 6. 21.

https://www.jenkins.io/doc/book/installing/linux/#red-hat-centos

 

Linux

Jenkins – an open source automation server which enables developers around the world to reliably build, test, and deploy their software

www.jenkins.io

 

 

amazon linux는 redhat 기반이므로 

상단 메뉴의

Documentation -> Installing Jenkins -> linux 

-> Red Hat/Alma/Rocky 클릭

-> Long Term Release 로 설치하였다. 

 

중간의 Java는 amazon 리눅스에서 사용하기 위해서 

dnf -y install java-17-amazon-corretto-devel

로 설치해 주었다. 

 

 

 

 

 

 

 

 

웹브라우저에서 jenkins 인스턴스로 접속하면 위와 같은 화면이 나오는데

알려주는 디렉터리로 들어가서 비밀번호를 입력한다. 

 

jenkins 홈에서

 

 

 

 

admin 클릭

 

 

 

설정 클릭

 

 

 

중간쯤의 password 설정 구간으로 온다. 

 

 

비밀번호를 설정하고 

 

 

save를 클릭하면  

 

 

로그인 화면으로 이동한다. 

 

 

로그인 정보를 입력하고 

로그인 클릭

 

 

 

jenkins 화면이 보이면 성공이다.