RammusXu / rammusxu.github.io

My profile
https://rammusxu.github.io/
2 stars 0 forks source link

在AWS EC2 Instance建立Jenkins服務 #22

Closed RammusXu closed 7 years ago

RammusXu commented 8 years ago

Install Jenkins

sudo wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins.io/redhat-stable/jenkins.repo
sudo rpm --import http://pkg.jenkins.io/redhat-stable/jenkins.io.key
sudo yum install jenkins

注意事項

In ec2

  1. security group 開8080 port
  2. 測試 curl http://localhost:8080

    基本指令

service jenkins start
service jenkins stop
service jenkins status

Other

重設Jenkins admin 密碼 https://wiki.jenkins-ci.org/display/JENKINS/Disable+security