Linux部署Jira7.2.2
2021/7/15 7:09:03
本文主要是介绍Linux部署Jira7.2.2,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!
一、当前环境
1. mysql5.7
2. java1.8
二、安装jira
1、下载jira
wget https://downloads.atlassian.com/software/jira/downloads/atlassian-jira-software-7.2.2-x64.bin
2、修改权限
chmod 755 atlassian-jira-software-7.2.2-x64.bin
3、执行安装(安装过程会有提示,一直回车就好了)
./atlassian-jira-software-7.2.2-x64.bin
4、关闭jira服务
cd /opt/atlassian/jira/bin/
sh stop-jira.sh
5. 把 pò 解 包里面的atlassian-extras-3.1.2.jar和mysql-connector-java-5.1.39-SNAPSHOT-bin.jar两个文件复制到/opt/atlassian/jira/atlassian-jira/WEB-INF/lib/目录下
6. 启用jira服务
sh start-jira.sh
7、访问jira 内网ip:8080
8. 配置jira外网访问
@阿里云或其他云服务器开启安全组规则,允许8080
@配置nginx
server { listen *:80; listen [::]:80; server_name tao.xxx.com; return 301 https://tao.xxx.com$request_uri; } server { listen *:443 ssl; listen [::]:443 ssl; ssl_certificate /etc/nginx/ssl/tao.xxx.com/xxxcom.pem; ssl_certificate_key /etc/nginx/ssl/tao.xxx.com/xxxcom.key; ssl_session_timeout 5m; ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE:ECDH:AES:HIGH:!NULL:!aNULL:!MD5:!ADH:!RC4; ssl_protocols TLSv1 TLSv1.1 TLSv1.2; ssl_prefer_server_ciphers on; server_name tao.xxx.com; #root html; #index index.html index.htm index.php; port_in_redirect off; location ~* ^.+/.(jpg|jpeg|gif|png|swf|rar|zip|css|js)$ { ##static file rewrite ^(.*) http://localhost:8080/$1; break; } location / { proxy_pass http://localhost:8080; proxy_redirect http:// https://; proxy_set_header Host $host:$server_port; ##重点在$server_port proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_max_temp_file_size 0; proxy_connect_timeout 90; proxy_send_timeout 90; proxy_read_timeout 90; proxy_buffer_size 4k; proxy_buffers 4 32k; proxy_busy_buffers_size 64k; proxy_hide_header Vary; proxy_set_header Accept-Encoding ''; proxy_set_header Referer $http_referer; proxy_set_header Cookie $http_cookie; } error_log /var/log/nginx/error.tao.xxx.com.log; access_log /var/log/nginx/access.tao.xxx.com.log; }
9. 其他地方参考https://blog.csdn.net/m0_47594968/article/details/117117040
10. 问题
mysql5.7安装时候会报错,https://github.com/yurii-github/mysql-connector-j这里下载mysql-connector-java-5.1.39-SNAPSHOT-bin.jar
11. jira中文语言包,我们可以到jira的官网进行下载。
https://translations.atlassian.com/dashboard/download?lang=zh_CN#/JIRA Core/7.2.1
这篇关于Linux部署Jira7.2.2的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!
- 2024-12-18git仓库有更新,jenkins 自动触发拉代码怎么配置的?-icode9专业技术文章分享
- 2024-12-18Jenkins webhook 方式怎么配置指定的分支?-icode9专业技术文章分享
- 2024-12-13Linux C++项目实战入门教程
- 2024-12-13Linux C++编程项目实战入门教程
- 2024-12-11Linux部署Scrapy教程:新手入门指南
- 2024-12-11怎么将在本地创建的 Maven 仓库迁移到 Linux 服务器上?-icode9专业技术文章分享
- 2024-12-10Linux常用命令
- 2024-12-06谁看谁服! Linux 创始人对于进程和线程的理解是…
- 2024-12-04操作系统教程:新手入门及初级技巧详解
- 2024-12-04操作系统入门:新手必学指南