CentOS快速安裝JDK8html
Ubuntu快速安裝JDK8java
#linux下執行wget,若提示wget命令不存在,則按照yum install -y wget或則apt install -y wgetwget http://mirrors.jenkins.io/war-stable/2.235.4/jenkins.war
點擊這裏免費下載linux
#在jenkins.war所在的目錄執行以下命令tar xzvf jenkins.tar.gz
則會在當前目錄生成.jenkins目錄web
建立對應目錄瀏覽器
mkdir -p /var/lib/jenkinsmkdir -p /var/cache/jenkins/warmkdir -p /var/log/jenkins/
前臺啓動app
#在jenkins.war目錄下執行以下命令 java -jar jenkins.war -DJENKINS_HOME=/var/lib/jenkins --logfile=/var/log/jenkins/jenkins.log --webroot=/var/cache/jenkins/war
後臺啓動ide
nohup java -jar jenkins.war -DJENKINS_HOME=/var/lib/jenkins --logfile=/var/log/jenkins/jenkins.log --webroot=/var/cache/jenkins/war &
web瀏覽器打開:http://192.168.100.22:8080,這裏IP換成你的實際IP測試
能夠看到jenkins已經安裝過部分重要插件。spa
博主:測試生財.net
座右銘:用測試完成原始積累,用投資奔向財務自由
csdn:https://blog.csdn.net/ccgshigao