dev2015. 8. 18. 01:38

* 우선 ec2 에서 사용하고 있는 운영체제 종류는 무엇인가.

cat /etc/*-release

...

NAME="Amazon Linux AMI"

ID="amzn"

ID_LIKE="rhel fedora"

...


* 레드햇으로 찾아보자. 최신 버전 설치를 위해 아래 스텝으로 진행.

http://pkg.jenkins-ci.org/redhat/

To use this repository, run the following command:

sudo wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo
sudo rpm --import http://pkg.jenkins-ci.org/redhat/jenkins-ci.org.key

If you've previously imported the key from Jenkins, the "rpm --import" will fail because you already have a key. Please ignore that and move on.

With that set up, the Jenkins package can be installed with:

yum install jenkins

See Wiki for more information, including how Jenkins is run and where the configuration is stored, etc.


* 실행

http://sanketdangi.com/post/62715793234/install-configure-jenkins-on-amazon-linux

8. Start jenkins and make sure it starts automatically at system startup

# service jenkins start
# chkconfig jenkins on

9. Open your browser and navigate to http://<Elastic-IP>:8080. You will see jenkins dashboard.


* 참고

 - 리눅스 종류 확인, 리눅스 버전 확인 : http://zetawiki.com/wiki/%EB%A6%AC%EB%88%85%EC%8A%A4_%EC%A2%85%EB%A5%98_%ED%99%95%EC%9D%B8,_%EB%A6%AC%EB%88%85%EC%8A%A4_%EB%B2%84%EC%A0%84_%ED%99%95%EC%9D%B8

 - RedHat Linux RPM packages for Jenkins : http://pkg.jenkins-ci.org/redhat/

 - http://sanketdangi.com/post/62715793234/install-configure-jenkins-on-amazon-linux

 - https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+Ubuntu

'dev' 카테고리의 다른 글

AWS lambda - node.js 로 mysql 이용하기  (0) 2015.10.02
jenkins timezone 변경하기  (0) 2015.10.02
CORS (Cross-Origin Resource Sharing)  (0) 2015.08.13
터미널 동영상 레코딩 - asciinema.org  (0) 2015.08.11
ionic.io  (0) 2015.07.30