首次设置Jenkins 2.0

时间:2018-10-25 14:42:20

标签: jenkins jenkins-2

我正在ELB后面的AWS EC2实例中设置Jenkins。我已经按照https://wiki.jenkins.io/display/JENKINS/Installing+Jenkins+on+Red+Hat+distributions中的说明安装了Jenkins。当我尝试通过URL访问或在AWS VPC内卷曲时,出现403错误。

HTTP/1.1 403 Forbidden
Date: Thu, 25 Oct 2018 14:36:10 GMT
X-Content-Type-Options: nosniff
Set-Cookie: JSESSIONID.6cb137f7=node01tpxiy743jbd11acrk0g5juoi04.node0;Path=/;HttpOnly
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Content-Type: text/html;charset=utf-8
X-Hudson: 1.395
X-Jenkins: 2.138.2
X-Jenkins-Session: 0dbc9e2d
X-You-Are-Authenticated-As: anonymous
X-You-Are-In-Group-Disabled: JENKINS-39402: use -Dhudson.security.AccessDeniedException2.REPORT_GROUP_HEADERS=true or use /whoAmI to diagnose
X-Required-Permission: hudson.model.Hudson.Administer
Content-Length: 677
Server: Jetty(9.4.z-SNAPSHOT)

<html><head><meta http-equiv='refresh' content='1;url=/login?from=%2F'/><script>window.location.replace('/login?from=%2F');</script></head><body style='background-color:white; color:white;'>


Authentication required
<!--
You are authenticated as: anonymous
Groups that you are in:

Permission you need to have (but didn't): hudson.model.Hudson.Administer
-->

</body></html>

我尝试避免使用https://github.com/geerlingguy/ansible-role-jenkins/issues/50中提到的“安装向导”,但是没有成功。

如何禁用此向导,以便可以进行初始配置?谢谢。

0 个答案:

没有答案