Jenkins 官網: https://jenkins.io/doc/book/installing/ Getting started with Jenkins https://jenkins.io/download/ 1,Windows版本 下週jenkins.msi後一路點擊安裝即可 http://localhost:8080/ 2、linux版本(注意,必須java版本1.8以上) 1.通用linux版本,使用java或tomcat啓動 Generic Java package(.war) jenkins.war java -jar jenkins.war --httpPort=8080. java -jar jenkins.war Jenkins就啓動成功了!它的war包自帶Jetty服務器,剩下的工作我們全部在瀏覽器中進行。 第一次啓動Jenkins時,出於安全考慮,Jenkins會自動生成一個隨機的按照口令。注意控制檯輸出的口令,複製下來,然後在瀏覽器輸入: http://localhost:8080/ 2.linux發行版版本,如redhat,centos;ubuntu/debian yum在線安裝,或下載裝包jenkins-2.150.1-1.1.noarch.rpm後手工安裝 https://pkg.jenkins.io/redhat-stable/ RedHat Linux RPM packages for Jenkins https://wiki.jenkins.io/display/JENKINS/Installing+Jenkins+on+Red+Hat+distributions Installing Jenkins on Red Hat distributions Installation Add the Jenkins repository to the yum repos, and install Jenkins from here. sudo wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo sudo rpm --import https://jenkins-ci.org/redhat/jenkins-ci.org.key sudo yum install jenkins Installation of a stable version There is also a LTS YUM repository for the LTS Release Line sudo wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat-stable/jenkins.repo sudo rpm --import https://jenkins-ci.org/redhat/jenkins-ci.org.key sudo yum install jenkins Installation of Java Jenkins requires Java in order to run, yet certain distros don't include this by default. To install the Open Java Development Kit (OpenJDK) run the following: sudo yum install java Start/Stop sudo service jenkins start/stop/restart sudo chkconfig jenkins on individual Package Downloads If you need *.rpm for a specific version, use these. NameLast modifiedSize jenkins-2.150.1-1.1.noarch.rpm 2018/12/05 72.2M jenkins-2.138.4-1.1.noarch.rpm 2018/12/04 72.0M jenkins-2.138.3-1.1.noarch.rpm 2018/11/08 72.0M #Jenkins界面
Jenkins
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.