前言
jira 是什么
- 類似禪道之類的bug
confluence是什么
- 站內(nèi)wiki
分析
- 下載jira
- 破解jira
- 下載confluence
- 破解confluence
- 結(jié)合jira的賬號和confluence
搭建jira
下載jira

JIRA
下載到本地并上傳到服務(wù)器
- 略,通過ftp等方法上傳
安裝mysql5.7
version: '3.3'
services:
jira_mysql:
environment:
MYSQL_ROOT_PASSWORD: 123456
image: mysql:5.7
restart: always
volumes:
- /opt/confluence/mysql/data/:/var/lib/mysql/
- /opt/confluence/mysql/conf/:/etc/mysql/
ports:
- 5306:3306
container_name: jira_mysql
- 數(shù)據(jù)庫配置
[mysqld]
[mysqld]
character_set_server=utf8mb4
innodb_default_row_format=DYNAMIC
innodb_large_prefix=ON
innodb_file_format=Barracuda
innodb_log_file_size=2G
character-set-server=utf8
collation-server=utf8_bin
default-storage-engine=INNODB
transaction-isolation=READ-COMMITTED
binlog_format=row
max_allowed_packet = 56M
mkdir -p /opt/confluence/mysql/{conf,data}
docker-compose up -d
mysql -uroot -h127.0.0.1 -p -P5306
create database jira default character set utf8 collate utf8_bin;
create database confluence default character set utf8 collate utf8_bin;
安裝JIRA
[root@test2 jira]# chmod a+x atlassian-jira-software-8.2.4-x64.bin
[root@test2 jira]# ll
total 361156
-rwxr-xr-x 1 root root 369821593 Jul 22 11:29 atlassian-jira-software-8.2.4-x64.bin
[root@test2 jira]# ./atlassian-jira-software-8.2.4-x64.bin
Unpacking JRE ...
Starting Installer ...
This will install JIRA Software 8.2.4 on your computer.
OK [o, Enter], Cancel [c]
o
Click Next to continue, or Cancel to exit Setup.
Choose the appropriate installation or upgrade option.
Please choose one of the following:
Express Install (use default settings) [1], Custom Install (recommended for advanced users) [2, Enter], Upgrade an existing JIRA installation [3]
1
The following default options cannot be used. You will be asked to provide alternatives for these options.
* HTTP Port (In use)
Configure which ports JIRA Software will use.
JIRA requires two TCP ports that are not being used by any other
applications on this machine. The HTTP port is where you will access JIRA
through your browser. The Control port is used to startup and shutdown JIRA.
Use default ports (HTTP: 8080, Control: 8005) - Recommended [1], Set custom value for HTTP and Control ports [2, Enter]
HTTP Port Number
[8080]
Control Port Number
[8005]
The HTTP port you have chosen appears to be in use. Please choose a different port number.
Configure which ports JIRA Software will use.
JIRA requires two TCP ports that are not being used by any other
applications on this machine. The HTTP port is where you will access JIRA
through your browser. The Control port is used to startup and shutdown JIRA.
Use default ports (HTTP: 8080, Control: 8005) - Recommended [1], Set custom value for HTTP and Control ports [2, Enter]
HTTP Port Number
[8080]
Control Port Number
[8005]
The HTTP port you have chosen appears to be in use. Please choose a different port number.
Configure which ports JIRA Software will use.
JIRA requires two TCP ports that are not being used by any other
applications on this machine. The HTTP port is where you will access JIRA
through your browser. The Control port is used to startup and shutdown JIRA.
Use default ports (HTTP: 8080, Control: 8005) - Recommended [1], Set custom value for HTTP and Control ports [2, Enter]
HTTP Port Number
[8080]
Control Port Number
[8005]
The HTTP port you have chosen appears to be in use. Please choose a different port number.
Configure which ports JIRA Software will use.
JIRA requires two TCP ports that are not being used by any other
applications on this machine. The HTTP port is where you will access JIRA
through your browser. The Control port is used to startup and shutdown JIRA.
Use default ports (HTTP: 8080, Control: 8005) - Recommended [1], Set custom value for HTTP and Control ports [2, Enter]
HTTP Port Number
[8080]
Control Port Number
[8005]
The HTTP port you have chosen appears to be in use. Please choose a different port number.
Configure which ports JIRA Software will use.
JIRA requires two TCP ports that are not being used by any other
applications on this machine. The HTTP port is where you will access JIRA
through your browser. The Control port is used to startup and shutdown JIRA.
Use default ports (HTTP: 8080, Control: 8005) - Recommended [1], Set custom value for HTTP and Control ports [2, Enter]
1
The HTTP port you have chosen appears to be in use. Please choose a different port number.
Configure which ports JIRA Software will use.
JIRA requires two TCP ports that are not being used by any other
applications on this machine. The HTTP port is where you will access JIRA
through your browser. The Control port is used to startup and shutdown JIRA.
Use default ports (HTTP: 8080, Control: 8005) - Recommended [1], Set custom value for HTTP and Control ports [2, Enter]
HTTP Port Number
[8080]
8001
Control Port Number
[8005]
8005
Details on where JIRA Software will be installed and the settings that will be used.
Installation Directory: /opt/atlassian/jira
Home Directory: /var/atlassian/application-data/jira
HTTP Port: 8001
RMI Port: 8005
Install as service: Yes
Install [i, Enter], Exit [e]
i
Extracting files ...
Please wait a few moments while JIRA Software is configured.
Installation of JIRA Software 8.2.4 is complete
Start JIRA Software 8.2.4 now?
Yes [y, Enter], No [n]
y
Please wait a few moments while JIRA Software starts up.
Launching JIRA Software ...
Installation of JIRA Software 8.2.4 is complete
Your installation of JIRA Software 8.2.4 is now ready and can be accessed
via your browser.
JIRA Software 8.2.4 can be accessed at http://localhost:8001
Finishing installation ...
WEB打開
選擇語言
選擇中文
下一步

連接數(shù)據(jù)庫

缺少mysql5.7驅(qū)動
安裝com.mysql.jdbc.Driver
- 安裝驅(qū)動
參考配置文件
wget https://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-5.1.47.tar.gz
[root@test2 mysql-connector-java-5.1.47]# cp *.jar /opt/atlassian/jira/atlassian-jira/WEB-INF/lib/

測試連接數(shù)據(jù)庫成功

設(shè)置標(biāo)題
-
破解輸入KEY
key從何而來

注冊或獲取key

配置信息

選擇語言

頭像

完成配置
創(chuàng)建新項目
創(chuàng)建新項目
image.png
image.png
- 參考文檔
數(shù)據(jù)庫問題
搭建confluence
下載confluence
wget https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.13.0-x64.bin
運行安裝
chmod a+x atlassian-confluence-6.13.0-x64.bin
[root@test2 confluence]# ./atlassian-confluence-6.13.0-x64.bin
Unpacking JRE ...
Starting Installer ...
This will install Confluence 6.13.0 on your computer.
OK [o, Enter], Cancel [c]
o
Click Next to continue, or Cancel to exit Setup.
Choose the appropriate installation or upgrade option.
Please choose one of the following:
Express Install (uses default settings) [1],
Custom Install (recommended for advanced users) [2, Enter],
Upgrade an existing Confluence installation [3]
1
See where Confluence will be installed and the settings that will be used.
Installation Directory: /opt/atlassian/confluence
Home Directory: /var/atlassian/application-data/confluence
HTTP Port: 8090
RMI Port: 8000
Install as service: Yes
Install [i, Enter], Exit [e]
i
Extracting files ...
Please wait a few moments while we configure Confluence.
Installation of Confluence 6.13.0 is complete
Start Confluence now?
Yes [y, Enter], No [n]
y
Please wait a few moments while Confluence starts up.
Launching Confluence ...
Installation of Confluence 6.13.0 is complete
Your installation of Confluence 6.13.0 is now ready and can be accessed via
your browser.
Confluence 6.13.0 can be accessed at http://localhost:8090
Finishing installation ...

安裝過程
頁面查看
選擇語言,選擇產(chǎn)品安裝,選擇下一步
點擊下一步
破解輸入key
停止confluence
/opt/atlassian/confluence/bin/stop-confluence.sh
下載破解程序
鏈接: https://pan.baidu.com/s/1zHIzeXDjqwcPUsRdcVNU9w 提取碼: w51i 復(fù)制這段內(nèi)容后打開百度網(wǎng)盤手機App,操作更方便哦
在window打開并創(chuàng)建目錄
創(chuàng)建放破解文件
傳文件到新建的目錄破解
- linux 備份文件atlassian-extras-decoder-v2-3.4.1.jar
mv /opt/atlassian/confluence/confluence/WEB-INF/lib/atlassian-extras-decoder-v2-3.4.1.jar ./
-
傳文件到windows破解目錄并重命名為atlassian-extras-2.4.jar
從Linux下拉到windows并重命名

破解成功

選擇path,選擇的文件
上傳破解的文件到服務(wù)器上,并移動到原來的位置

image.png
cp atlassian-extras-2.4.jar /opt/atlassian/confluence/confluence/WEB-INF/lib/atlassian-extras-decoder-v2-3.4.1.jar
啟動confluence
/opt/atlassian/confluence/bin/start-confluence.sh
拷貝到webKEY 位置

輸入key
配置數(shù)據(jù)庫

image.png
顯示沒有驅(qū)動

沒有數(shù)據(jù)庫驅(qū)動
和商面jira一樣
wget https://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-5.1.47.tar.gz
tar -xf mysql-connector-java-5.1.47.tar.gz
cd mysql-connector-java-5.1.47
cp *.jar /opt/atlassian/confluence/confluence/WEB-INF/lib
重啟并刷新web頁面

連接數(shù)據(jù)庫
- 測試連接報錯,請修改為上面數(shù)據(jù)庫的配置

選擇空白站點

image.png

image.png
配置confluence完成
安裝confluence完成

跳過

完成

完成破解












