网站首页 > java教程 正文
1.安装文件下载
下载路径(此处以Jira为例):https://www.atlassian.com/software/jira/download
2.安装
创建安装目录和配置目录(可根据自己情况创建文件路径)
cd /vat/lib
mkdir atlassian
cd /var/lib/atlassian/
mkdir jira
mkdir application-data
cd /var/lib/atlassian/application-data
mkdir jira
然后将下载的安装文件上传到Ubuntu中进行安装,如果没有权限则增加权限即可
mv /home/llian/atlassian-jira-software-8.13.1-x64.bin ./
chmod +x ./atlassian-jira-software-8.13.1-x64.bin #没有权限则执行
sudo ./atlassian-jira-software-8.13.1-x64.bin
接着按提示对安装路径进行配置即可
This will install Jira Software 8.13.1 on your computer.
OK [o, Enter], Cancel [c]
o #按o安装
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 #2位自定义安装
Select the folder where you would like Jira Software to be installed.
Where should Jira Software be installed?
[/opt/atlassian/jira]
/var/lib/atlassian/jira #输入安装目录,即之前创建的目录
Default location for Jira Software data
[/var/atlassian/application-data/jira]
/var/lib/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]
8095 #自定义http端口
Control Port Number
[8005]
8096 #自定义控制端口
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: /var/lib/atlassian/jira
Home Directory: /var/lib/atlassian/application-data/jira
HTTP Port: 8095
RMI Port: 8096
Install as service: Yes
Install [i, Enter], Exit [e]
i #确认已选配置
Installation of Jira Software 8.13.1 is complete
Start Jira Software 8.13.1 now?
Yes [y, Enter], No [n]
y #启动jira
3.配置(以MySQL为例)
因为Atlassian默认没有Mysql驱动,需要自行放置,放置之后重启Jira服务
sudo cp mysql-connector-java-5.1.38.jar /var/lib/atlassian/jira/atlassian-jira/WEB-INF/lib/
service jira stop
service jira start
然后建立Jira数据库,并增加连接用户
CREATE DATABASE jira CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;
CREATE USER jira IDENTIFIED BY '123456';
GRANT ALL ON atlassian_jira.* TO jira@"%" ;
FLUSH PRIVILEGES;
Jira服务启动之后,浏览器访问http://192.168.245.128:8095进入Jira界面,此IP和端口使用自己配置IP和端口,进入后即可进行数据库选择,填写数据库信息即可
如果遇到数据库问题:This MySQL instance is not properly configured. Please follow the documentation for MySQL 5.7 setup.
则需要修改数据库配置添加如下配置,然后重启数据库
[mysqld]
character-set-server=utf8
collation-server=utf8_bin
default-storage-engine=INNODB
max_allowed_packet=512M
innodb_log_file_size=1024M
transaction-isolation = READ-COMMITTED
4.激活
激活界面如下,可以去Atlassian官网申请License输入即可
激活后设置admin账号即可使用,安装完毕
猜你喜欢
- 2024-09-30 技术实践——如何在Ubuntu-16.04上配置Apache Kafka集群!
- 2024-09-30 Ubuntu18.04+Docker+Hadoop+Spark分布式集群搭建
- 2024-09-30 JDK安装部署(jdk安装部署linux)
- 2024-09-30 DevOps-Jenkins-安装(Ubuntu)(ubuntu安装jdk15)
- 2024-09-30 Ubuntu 安装 .bundle 文件(ubuntu budgie安装)
- 2024-09-30 ubuntu安装burpsuite渗透利器(ubuntu安装brctl)
- 2024-09-30 Ubuntu 下 Janus Server 搭建(ubuntu20.04搭建web服务器)
- 2024-09-30 分享使用了15年的开发环境Ubuntu快速配置
- 2024-09-30 Ubuntu 18.04.1 搭建Java环境和HelloWorld
- 2024-09-30 Ubuntu 14.04 PPA安装Java sdk(ubuntu20.04安装教程)
你 发表评论:
欢迎- 最近发表
- 标签列表
-
- java反编译工具 (77)
- java反射 (57)
- java接口 (61)
- java随机数 (63)
- java7下载 (59)
- java数据结构 (61)
- java 三目运算符 (65)
- java对象转map (63)
- Java继承 (69)
- java字符串替换 (60)
- 快速排序java (59)
- java并发编程 (58)
- java api文档 (60)
- centos安装java (57)
- java调用webservice接口 (61)
- java深拷贝 (61)
- 工厂模式java (59)
- java代理模式 (59)
- java.lang (57)
- java连接mysql数据库 (67)
- java重载 (68)
- java 循环语句 (66)
- java反序列化 (58)
- java时间函数 (60)
- java是值传递还是引用传递 (62)
本文暂时没有评论,来添加一个吧(●'◡'●)