Jira&Confluence服務器安裝


1.Mysql安裝

參考https://confluence.atlassian.com/doc/database-setup-for-mysql-128747.html

 

創建相應的數據庫

CREATE DATABASE confluence CHARACTER SET utf8 COLLATE utf8_bin;

GRANT ALL PRIVILEGES ON confluence.* TO 'confluence'@'localhost' IDENTIFIED BY '123456';
 
CREATE DATABASE jiradb CHARACTER SET utf8 COLLATE utf8_bin;

GRANT ALL PRIVILEGES ON jiradb.* TO 'jira'@'localhost' IDENTIFIED BY '123456';
 
CREATE DATABASE crowd CHARACTER SET utf8 COLLATE utf8_bin;

GRANT ALL PRIVILEGES ON crowd.* TO 'crowd'@'localhost' IDENTIFIED BY '123456';
 
flush privileges;

  

 2.安裝Jira

參考https://confluence.atlassian.com/jira061/jira-installation-and-upgrade-guide/installing-jira/installing-jira-on-linux

安裝好Jira后,關閉Jira程序,copy mysql-connector-java-5.1.38-bin.jar 到 /opt/atlassian/jira/lib/下,啟動Jira程序。

 

3.安裝Confluence

參考https://confluence.atlassian.com/doc/installing-confluence-on-linux-143556824.html

安裝好Confluence后,關閉Confluence程序,copy mysql-connector-java-5.1.38-bin.jar 到 /opt/atlassian/Confluence/lib/下,啟動Confluence程序。

 

4.安裝Crowd

安裝最新java

yum –y install java-1.8.0-openjdk.x86_64

參考https://confluence.atlassian.com/display/CROWD/Installing+Crowd+and+CrowdID

 

5.整合Jira、Confluence、Crowd

https://confluence.atlassian.com/doc/integrating-jira-and-confluence-2825.html

https://confluence.atlassian.com/doc/connecting-to-crowd-or-jira-for-user-management-229838465.html

https://confluence.atlassian.com/display/CROWD/Integrating+Crowd+with+Atlassian+JIRA

 

6.設置Apache代理

參考https://confluence.atlassian.com/doc/using-apache-with-virtual-hosts-and-mod_proxy-173685.html

編輯/etc/httpd/conf/httpd.conf文件,最后加入下面內容

# Put this after the other LoadModule directives

LoadModule proxy_module /usr/lib/apache2/modules/mod_proxy.so

LoadModule proxy_http_module /usr/lib/apache2/modules/mod_proxy_http.so

 

# Put this in the main section of your configuration (or desired virtual host, if using Apache virtual hosts)

ProxyRequests Off

ProxyPreserveHost On

 

<Proxy *>

        # Auth changes in 2.4 - see http://httpd.apache.org/docs/2.4/upgrading.html#run-time

    Require all granted

</Proxy>

ProxyPass /jira http://10.10.14.247:8080/jira

ProxyPassReverse /jira http://10.10.14.247:8080/jira

<Location /jira>

        # Auth changes in 2.4 - see http://httpd.apache.org/docs/2.4/upgrading.html#run-time

    Require all granted

</Location>

<Proxy *>

        # Auth changes in 2.4 - see http://httpd.apache.org/docs/2.4/upgrading.html#run-time

    Require all granted

</Proxy>

 

ProxyPass /confluence http://10.10.14.247:8090/confluence

ProxyPassReverse /confluence http://10.10.14.247:8090/confluence

<Location /confluence>

        # Auth changes in 2.4 - see http://httpd.apache.org/docs/2.4/upgrading.html#run-time

    Require all granted

</Location>

  

 

        


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM