Jenkins安裝
分發服務器安裝jenkins,實現程序代碼的自動化部署分發
1.系統環境
[[email protected] ~]# cat /etc/redhat-release
CentOS release 6.8 (Final)
[[email protected] ~]# uname -r
2.6.32-642.6.1.el6.x86_64
2.軟件版本
[[email protected] oldboy]# ll
總用量 60364
-rw-r--r-- 1 root root 61809415 6月 4 15:58 jenkins-1.579-1.1.noarch.rpm
3.安裝
3.1 安裝JAVA環境
yum install java -y
3.2 安裝jenkins
rpm -ivh jenkins-1.579-1.1.noarch.rpm
3.3 啟動jenkins
[[email protected] oldboy]# /etc/init.d/jenkins start
Starting Jenkins [確定]
3.4 檢查
[[email protected] oldboy]# /etc/init.d/jenkins status
jenkins (pid 5736) 正在運行...
[[email protected] oldboy]# netstat -lntup|grep :8080
tcp 0 0 :::8080 :::* LISTEN 5736/java
3.5 打開瀏覽器驗證
本文出自 “知識改變命運” 博客,請務必保留此出處http://ahtornado.blog.51cto.com/4826737/1932078
Jenkins安裝