简体   繁体   English

无法在Ubuntu Linux上启动Jenkins

[英]can't start Jenkins on Ubuntu Linux

I am trying to start Jenkins on Ubuntu Linux When I write in my address line http://localhost:8080 chrome writes that "website cant be reach" 我正在尝试在Ubuntu Linux上启动Jenkins,当我在地址行中输入http:// localhost:8080 chrome写道“无法访问网站”时

I followed this instruction in documentation https://www.digitalocean.com/community/tutorials/how-to-install-jenkins-on-ubuntu-16-04 我在文档https://www.digitalocean.com/community/tutorials/how-to-install-jenkins-on-ubuntu-16-04中遵循了此说明

output of command sudo systemctl status jenkins is : 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)

than I ran this command sudo ufw allow 8080 , the output is : 比我运行此命令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)

it seems that everything is okay. 看来一切都还好。 what the problem can be? 可能是什么问题?

I had this same issue as well, and it was because the Java JRE was not installed. 我也遇到了同样的问题,这是因为未安装Java JRE。 I had to install that, and then I was able to follow the Jenkins setup guide. 我必须先安装它,然后才能遵循Jenkins设置指南。

https://www.digitalocean.com/community/tutorials/how-to-install-java-with-apt-get-on-ubuntu-16-04 https://www.digitalocean.com/community/tutorials/how-to-install-java-with-apt-get-on-ubuntu-16-04

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM