我想在Ubuntu Linux上启动Jenkins 当我在地址栏http://localhost:8080中写道时,Chrome会写道"网站无法访问"
我在文档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)
比我运行此命令sudo ufw allow 8080
,输出为:
Status: active
To Action From
-- ------ ----
OpenSSH ALLOW Anywhere
8080 ALLOW Anywhere
OpenSSH (v6) ALLOW Anywhere (v6)
8080 (v6) ALLOW Anywhere (v6)
似乎一切都还好。问题可能是什么?
答案 0 :(得分:0)
我也遇到了同样的问题,这是因为未安装Java JRE。我必须先安装它,然后才能遵循Jenkins设置指南。
https://www.digitalocean.com/community/tutorials/how-to-install-java-with-apt-get-on-ubuntu-16-04