我想在Ubuntu Linux上启动Jenkins
当我写在我的地址行http://localhost:8080chrome写“网站无法访问”
我在文档中遵循了此说明https://www.digitalocean.com/community/tutorials/how-to-install-jenkins-on-ubuntu-16-04
命令sudo systemctl status jenkins
的输出是:
jenkins.service - LSB: Start Jenkins at boot time
Loaded: loaded (/etc/init.d/jenkins; bad; vendor preset: enabled)
Active:active (exited) since Thu 2017-04-20 16:51:13 UTC; 2min 7s ago
Docs: man:systemd-sysv-generator(8)
运行此命令时,输出为:
Status: active
To Action From
-- ------ ----
OpenSSH ALLOW Anywhere
8080 ALLOW Anywhere
OpenSSH (v6) ALLOW Anywhere (v6)
8080 (v6) ALLOW Anywhere (v6)
似乎一切都很好。有什么问题吗?
最佳答案
我也有同样的问题,这是因为没有安装Java JRE。我必须安装它,然后我就可以遵循詹金斯安装指南。
https://www.digitalocean.com/community/tutorials/how-to-install-java-with-apt-get-on-ubuntu-16-04
关于linux - 无法在Ubuntu Linux上启动Jenkins,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/49284816/