dhkdtld37 / k8s-study

1 stars 0 forks source link

Jenkins install #1

Open dhkdtld37 opened 9 months ago

dhkdtld37 commented 9 months ago

1. war 파일 다운로드

1-1 wget 명령어 사용

$ wget https://get.jenkins.io/war-stable/2.440.1/jenkins.war

--2024-02-26 15:09:47--  https://get.jenkins.io/war-stable/2.440.1/jenkins.war
Resolving get.jenkins.io (get.jenkins.io)... 20.7.178.24, 2603:1030:408:5::15a
Connecting to get.jenkins.io (get.jenkins.io)|20.7.178.24|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://mirrors.tuna.tsinghua.edu.cn/jenkins/war-stable/2.440.1/jenkins.war [following]
--2024-02-26 15:09:48--  https://mirrors.tuna.tsinghua.edu.cn/jenkins/war-stable/2.440.1/jenkins.war
Resolving mirrors.tuna.tsinghua.edu.cn (mirrors.tuna.tsinghua.edu.cn)... 101.6.15.130, 2402:f000:1:400::2
Connecting to mirrors.tuna.tsinghua.edu.cn (mirrors.tuna.tsinghua.edu.cn)|101.6.15.130|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 86502820 (82M) [application/java-archive]
Saving to: ‘jenkins.war’

jenkins.war                         100%[================================================================>]  82.50M  1.87MB/s    in 38s

2024-02-26 15:10:29 (2.19 MB/s) - ‘jenkins.war’ saved [86502820/86502820]
dhkdtld37 commented 9 months ago

2. java로 실행

$ java -jar jenkins.war --httpPort=9090
dhkdtld37 commented 9 months ago

3. 설정한 포트번호로 접속

image

dhkdtld37 commented 9 months ago

설치 완료 화면

image