CentOS 7.9 安装 Jira8.22
Jira 是什么?
Jira 是首屈一指的敏捷项目管理工具,团队可使用该工具放心地规划、跟踪、发布和支持出色的软件。它是您整个开发生命周期的单一事实来源,为自主团队提供情景信息,助力团队在与更大的业务目标保持关联的同时快速采取行动。无论是用于管理简单的项目,还是用于支持 DevOps 实践,Jira 都能让团队轻松推进工作、保持一致并在情境中进行沟通。
1. 安装MySQL 8.0.12
rpm -ivh mysql-8.0.12-1.el7.x86_64.rpm
source /etc/profile.d/mysql.sh
2.配置root密码
# mysql root 密码为空,先配置root密码
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'root123' PASSWORD EXPIRE NEVER;
flush privileges;
3. 创建Jira数据库
mysql> CREATE DATABASE jira CHARACTER SET utf8mb4 collate utf8mb4_0900_ai_ci;
Query OK, 1 row affected (0.00 sec)
mysql> CREATE USER 'jira'@'localhost';
Query OK, 0 rows affected (0.00 sec)
mysql> ALTER USER 'jira'@'localhost' IDENTIFIED WITH mysql_native_password BY 'jira123';
Query OK, 0 rows affected (0.00 sec)
mysql> GRANT ALL PRIVILEGES ON jira.* TO 'jira'@'localhost' WITH GRANT OPTION;
Query OK, 0 rows affected, 1 warning (0.00 sec)
mysql> CREATE USER 'jira'@'127.0.0.1';
Query OK, 0 rows affected (0.00 sec)
mysql> ALTER USER 'jira'@'127.0.0.1' IDENTIFIED WITH mysql_native_password BY 'root123';
Query OK, 0 rows affected (0.00 sec)
mysql> GRANT ALL PRIVILEGES ON jira.* to 'root'@'127.0.0.1' WITH GRANT OPTION;
Query OK, 0 rows affected (0.00 sec)
mysql> FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.00 sec)
4. 修改my.cnf
[mysqld]
...
default-storage-engine=INNODB
...
[mysqld]
...
character_set_server=utf8mb4
...
[mysqld]
...
innodb_default_row_format=DYNAMIC
...
[mysqld]
...
innodb_redo_log_capacity=4G
...
innodb_redo_log_capacityinnodb_log_file_sizeinnodb_log_files_in_group
sql_mode = NO_AUTO_VALUE_ON_ZERO
5.安装Jira
[root@localhost ~]# sudo ./atlassian-jira-software-8.22.0-x64.bin
Unpacking JRE ...
Starting Installer ...
This will install Jira Software 8.22.0 on your computer.
OK [o, Enter], Cancel [c]
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]
2
Select the folder where you would like Jira Software to be installed.
Where should Jira Software be installed?
[/opt/atlassian/jira]
Default location for Jira Software data
[/var/atlassian/application-data/jira]
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, Enter], Set custom value for HTTP and Control ports [2]
2
HTTP Port Number
[8080]
Control Port Number
[8005]
Jira can be run in the background.
You may choose to run Jira as a service, which means it will start
automatically whenever the computer restarts.
Install Jira as Service?
Yes [y, Enter], No [n]
y
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: 8080
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.22.0 is complete
Start Jira Software 8.22.0 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.22.0 is complete
Your installation of Jira Software 8.22.0 is now ready and can be accessed
via your browser.
Jira Software 8.22.0 can be accessed at http://localhost:8080
Finishing installation ...
# 安装完成
评论 (0)