Ubuntu에 Jenkins 설치

# Jenkins 설치하기 (feat. ubuntu server 20.04)

1) VM 설치

  • Ubuntu server 20.04로 설치
  • Oracle VirtualBox사용

2) 네트워크 설정

# setting 
$ wget -q -O - https://pkg.jenkins.io/debian/jenkins.io.key | sudo apt-key add - 
$ sudo sh -c 'echo deb http://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list' 
$ sudo apt update 

# install java
$ sudo apt install openjdk-11-jdk-headless 

# install jenkins
$ sudo apt install jenkins 
$ sudo systemctl enable --now jenkins 

# allow port
$ sudo ufw allow 8080  

# check first admin password
$ sudo cat /var/lib/jenkins/secrets/initialAdminPassword 

Published by

shotan

Hi i'm cho

Leave a Reply

Your email address will not be published. Required fields are marked *