![](/img/trans.png)
[英]how to change port number for Jenkins installation In Ubuntu 12.04
[英]Jenkins installation on Ubuntu using Vagrant - NO HTTP access
我一直在嘗試使用 Vagrant 在 ubuntu 上安裝 Jenkins。 即使一路上我沒有收到任何錯誤,我也無法打開 http://localhost:8080
這是我的步驟:
安裝 git:
安裝 Java:
安裝 Jenkins:
wget -q -O - http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key 添加 -
sudo sh -c 'echo deb http://pkg.jenkins-ci.org/debian binary/ > /etc/apt/sources.list.d/jenkins.list'
sudo apt-get install -y jenkins --allow-unauthenticated
檢查密碼: vi /var/log/jenkins/jenkins.log
啟動 Jenkins: systemctl start jenkins systemctl status jenkins
當我啟動 jenkins 服務器時,我可以執行 telnet 127.0.0.1 8080 但是當我關閉它時它不起作用。 知道為什么我不能使用瀏覽器訪問 GUI 嗎?
嘗試在 ubuntu 中執行“curl http://localhost:8080”,如果響應不是一些錯誤代碼頁面,如 4xx/5xx,請檢查防火牆並允許端口 8080 上的流量。因此嘗試從機器訪問 Z2ADAE54334C0A5CE23E3 主機。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.