安装atlassian crucible时,注意admin账号可能无法登陆,这个时候需要访问以下URL进入设置
http://<FISHEYE_HOST>:8060/admin/login-default.do
集成主要原理是要设置confluence和fisheye的user directory,和jira usermanagement里的user server user server等同于对外开放server,让confluence等app来同步,confluence需要配置user dir同步jira的用户数据
需要注意的是confluence和其他APP,都有自己的groups,只有在相应groups的用户才有权限登录系统,所以需要在jira里的groups里也配置confluence的groups,例如:confluence-users confluence-administratos,然后加入jira的用户,confluence再同步users,jira的用户才能登陆的到系统
参见:
connectiing to crowd or jira for user management
connecting to jira for user management
__tips
配置nginx,注意confluence和jira安装在server.xml里配置前缀/fisheye /confluence,base url也带prefix,fisheye的可以到界面上修改administraion-Global Settings-server - Web context /fisheye
<Context path="jira" docBase="${catalina.home}/atlassian-jira" reloadable="false" useHttpOnly="true">
<Context path="/confluence" docBase="../confluence" debug="0" reloadable="false" useHttpOnly="true">
nginx里配置:
location /jira {
proxy_pass http://localhost:8081;
proxy_buffers 8 24k;
proxy_buffer_size 2k;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Host $host:$server_port;
proxy_set_header Connection "upgrade";
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Via "nginx";
}
location /confluence {
proxy_pass http://localhost:8090;
proxy_buffers 8 24k;
proxy_buffer_size 2k;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Host $host:$server_port;
proxy_set_header Connection "upgrade";
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Via "nginx";
}
location /fisheye {
proxy_pass http://localhost:8060;
proxy_buffers 8 24k;
proxy_buffer_size 2k;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Host $host:$server_port;
proxy_set_header Connection "upgrade";
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Via "nginx";
}