马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
×
1.1 下载 Jira
Download Jira Software Server
选择 Linux 64 bit Installer
1.2 安装 Jira
chmod a+x atlassian-jira-software-*-x64.bin
sudo ./atlassian-jira-software-*-x64.bin
选择 Custome Install (option 1)
浏览器访问 Jira 服务器 8080 端口,根据向导设置,包括:
最后修改 base_url
1.3 为 Jira 启用 https
Jira 集成需要 https 方式
-
1.首先安装依赖软件
apt update
apt install apache2 certbot python-certbot-apache
-
2.申请 https 证书
certbot --apache
-
3.设置 Apache 反向代理
修改 /etc/apache2/sites-available/000-default-le-ssl.conf ,
在 ServerName jira.cdneks.com 上方添加一段:
# Jira Proxy Configuration:
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
SSLProxyEngine On
ProxyRequests Off
ProxyPreserveHost On
ProxyPass / http://127.0.0.1:8080/
ProxyPassReverse / http://127.0.0.1:8080/
-
重启 apache:
systemctl restart apache
-
4.Jira 使用反向代理
<Connector port="8081" relaxedPathChars="[]|" relaxedQueryChars="[]|{}^\`"<>"
maxThreads="150" minSpareThreads="25" connectionTimeout="20000" enableLookups="false"
maxHttpHeaderSize="8192" protocol="HTTP/1.1" useBodyEncodingForURI="true" redirectPort="8443"
acceptCount="100" disableUploadTimeout="true" bindOnInit="false"
scheme="https" proxyName="jira.cdneks.com" proxyPort="443"/>
重启 Jira:
/opt/atlassian/jira/bin/stop-jira.sh
/opt/atlassian/jira/bin/start-jira.sh
|