CentOS7 Linux Jenkins 설치

◈ VMWare에 설치된 CentOS7에서 jenkins설치 방법을 정리한다. Java(JDK)미리 설치된 것을 가정한다.

jenkins 설치 01

■ google에서 tomcat7 download로 검색해서 아래 링크를 클릭한다.

tomcat download 02

■ 최신버전 7.0.59 아래의 tar.gz 링크에서 오른쪽 마우스 클릭해서 링크 주소를 복사한다.

tomcat download 03

 

■ centos7 에서 wget으로 복사한 링크를 이용해서 tomcat을 다운로드  후 압축을 풀고 톰캣을 시작한다.

# wget http://mirror.apache-kr.org/tomcat/tomcat-7/v7.0.59/bin/apache-tomcat-7.0.59.tar.gz
# tar zxvf apache-tomcat-7.0.59.tar.gz
# mv apache-tomcat-7.0.59 /usr/local
# ln -s apache-tomcat-7.0.59/ tomcat
# cd /usr/local/tomcat/bin
# ./catalina.sh start

■ https://jenkins-ci.org/ 에서 아래의 그림처럼 최신 jenkins.war 링크 주소를 복사한다.

jenkins 설치 05

 

■ wget 명령어와 복사한 주소를 이용하여 최신 jenkins.war를 다운로드한 후 tomcat의 webapps폴더에 복사한다.

# wget http://mirrors.jenkins-ci.org/war/latest/jenkins.war
# cp jenkins.war /usr/local/tomcat/webapps

■ 브라우저에서 http://[jenkins를 설치한 서버의 IP]:8080/jenkins를 입력하여 jenkins가 성공적으로 설치되었는지 확인한다.
jenkins 설치 06

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다