我刚刚在Fedora上重新安装了Jenkins,如下所示:https://pkg.jenkins.io/redhat-stable/
所有安装都没有任何问题。然而,当我去http://localhost:8080时,我只得到了一个白页:

你能指出问题出在哪里吗?下面您可以找到一些可能有帮助的其他信息。
谢谢!
当我执行nmap localhost时,我可以看到HTTP 8080已启动:
[root@localhost jenkins]# nmap localhost
Starting Nmap 7.60 ( https://nmap.org ) at 2018-05-11 23:59 CEST
Nmap scan report for localhost (127.0.0.1)
Host is up (0.000010s latency).
Other addresses for localhost (not scanned): ::1
Not shown: 998 closed ports
PORT STATE SERVICE
631/tcp open ipp
8080/tcp open http-proxy
Nmap done: 1 IP address (1 host up) scanned in 1.62 seconds我还可以看到,jenkins服务已经启动:
[root@localhost jenkins]# systemctl status jenkins.service
● jenkins.service - Jenkins continuous build server
Loaded: loaded (/usr/lib/systemd/system/jenkins.service; enabled; vendor preset: disabled)
Active: active (running) since Fri 2018-05-11 23:44:30 CEST; 15min ago
Process: 3790 ExecStop=/usr/libexec/jenkins/jenkins stop (code=exited, status=0/SUCCESS)
Process: 3862 ExecStart=/usr/libexec/jenkins/jenkins start (code=exited, status=0/SUCCESS)
Main PID: 3936 (java)
Tasks: 54 (limit: 4673)
Memory: 454.9M
CGroup: /system.slice/jenkins.service
└─3936 /etc/alternatives/java -Dcom.sun.akuma.Daemon=daemonized -Djava.awt.headless=true -DJENKINS_HOME=/var/l>
May 11 23:44:30 localhost.localdomain systemd[1]: Starting Jenkins continuous build server...
May 11 23:44:30 localhost.localdomain runuser[3919]: pam_unix(runuser:session): session opened for user jenkins by (uid=0)
May 11 23:44:30 localhost.localdomain runuser[3919]: pam_unix(runuser:session): session closed for user jenkins
May 11 23:44:30 localhost.localdomain jenkins[3862]: Starting Jenkins [ OK ]
May 11 23:44:30 localhost.localdomain systemd[1]: Started Jenkins continuous build server.如果我检查我的java版本,就会得到:
[root@localhost jenkins]# java -version
openjdk version "1.8.0_162"
OpenJDK Runtime Environment (build 1.8.0_162-b12)
OpenJDK 64-Bit Server VM (build 25.162-b12, mixed mode)当我试图用Curl访问它时:
[fabio@localhost ~]$ curl http://localhost:8080
[fabio@localhost ~]$发布于 2018-05-12 08:18:40
我能够通过验证日志和发现出了什么问题来使它正常工作。它要求阿帕奇果冻和DOM4J。在安装了这两个软件包之后,Jenkins工作了。
https://stackoverflow.com/questions/50300850
复制相似问题