gpt4 book ai didi

linux - 无法在 Ubuntu Linux 上启动 Jenkins

转载 作者:太空宇宙 更新时间:2023-11-04 12:10:11 24 4
gpt4 key购买 nike

我正在尝试在 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)

看来一切都还好。可能是什么问题?

最佳答案

我也有同样的问题,这是因为没有安装 Java JRE。我必须安装它,然后我才能按照 Jenkins 安装指南进行操作。

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/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com