注意
-- 创建用户 CREATE USER 'jirauser'@'%' IDENTIFIED BY 'jirauser'; -- 创建数据库 CREATE DATABASE jiradb CHARACTER SET utf8mb4 COLLATE utf8mb4_bin; -- 进行授权 GRANT ALL PRIVILEGES ON jiradb.* TO 'jirauser'@'%'; -- 让授权马上生效 flush privileges; |
因为我们使用的是bin方式,它是自带JDK的,因此不需要特定的安装JDK,开箱即用。
1、使用root权限登录linux
2、进入到目录:cd /opt (我们是将安装包放在此目录下,文件名为:atlassian-jira-software-7.5.0-x64.bin)
3、将上文件权限可以执行
4、执行安装文件包 ./ atlassian-jira-software-8.18.0-x64.bin
5、接下根据安装提示进行安装
INFO: Created system preferences directory in java.home.
No [n] |
This will install JIRA Software 8.18.0 on your computer.
Cancel [c] |
Choose the appropriate installation or upgrade option. Please choose one of the following:
|
Where should JIRA8.18.0 be installed?
/usr/local/jira Default location for JIRA data
/usr/local/jira_data |
/usr/local/jira_data |
Configure which ports JIRA 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) -
在这里,我们可以在后期修改 |
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?
|
上一步系统开始执行安装,当出现以下信息为安装完成
Please wait a few moments while JIRA starts up. Launching JIRA ... Installation of JIRA 8.18.0 is complete Your installation of JIRA 8.18.0 is now ready and can be accessed via your browser. JIRA 8.18.0 can be accessed at http://localhost:8080 |
接下根据安装提示进行安装
我们将数据库驱动包放在{ INSTALL_HOME }/ jira/lib下。
执行{ INSTALL_HOME }/ jira/bin/jira-startup.sh
如此下来可以进行系统初始化,可以参见:05-JIRA系统初始化