Sonar

搭建jira+confluence

2019-07-22  本文已影响0人  无处安放的躁动

前言

jira 是什么

confluence是什么

分析

搭建jira

下载jira

JIRA下载地址

JIRA

下载到本地并上传到服务器

安装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
[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打开


选择语言
选择中文
下一步
连接数据库
缺少mysql5.7驱动

安装com.mysql.jdbc.Driver

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/
测试连接数据库成功
设置标题 注册或获取key 配置信息 选择语言
头像
完成配置

创建新项目


创建新项目
image.png
image.png

搭建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 ...
安装过程

页面查看


选择语言,选择产品安装,选择下一步
点击下一步
破解输入key

停止confluence

/opt/atlassian/confluence/bin/stop-confluence.sh

下载破解程序

链接: https://pan.baidu.com/s/1zHIzeXDjqwcPUsRdcVNU9w 提取码: w51i 复制这段内容后打开百度网盘手机App,操作更方便哦

在window打开并创建目录


创建放破解文件

传文件到新建的目录破解

mv /opt/atlassian/confluence/confluence/WEB-INF/lib/atlassian-extras-decoder-v2-3.4.1.jar ./
破解成功 选择path,选择的文件

上传破解的文件到服务器上,并移动到原来的位置

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

配置数据库

image.png

显示没有驱动

没有数据库驱动

和商面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页面

连接数据库 选择空白站点 image.png
image.png

配置confluence完成


安装confluence完成
跳过 完成 完成破解
上一篇下一篇

猜你喜欢

热点阅读