当前位置: 代码迷 >> 综合 >> rhel6.5:安装部署jira7.11.0
  详细解决方案

rhel6.5:安装部署jira7.11.0

热度:112   发布时间:2023-10-18 12:30:57.0

1、test-env

host-ip:20.20.20.20

host-name:rhel65

soft:

     atlassian-jira-software-7.11.0-x64.bin  

     jdk-8u181-linux-x64.rpm  

     mysql-connector-java-5.1.42-bin.jar

2、安装jdk

参考:https://blog.csdn.net/qq_34889607/article/details/81112499

3、安装mysql数据库

$ sudo yum install -y mysql mysql-server

$ sudo /etc/init.d/mysqld start

# 修改配置文件

$ sudo vim /etc/my.cnf ---> # 在[mysqld]下面添加如下

    init_connect='SET collation_connection = utf8_unicode_ci'

    init_connect='SET NAMES utf8'

$ sudo vim /etc/my.cnf.d/mysql-clients.cnf ---> # 在[mysql]下面添加如下

    default-character-set=utf8

$ sudo vim /etc/my.cnf.d/client.cnf ---> # 在[client]下面添加如下

    default-character-set=utf8

# 给mariadb设置密码,并简单设置

$ sudo mysql_secure_installation

    # 这里就自己根据提示一步一步来就可以了

$ sudo systemctl restart mariadb

$ sudo mysql -u root -p

    Enter password:  ---> 输入密码

> create database jira default character set utf8 collate utf8_bin;

> grant all on jira.* to 'jira'@'%' identified by 'jira';

> grant all on jira.* to 'jira'@'localhost' identified by 'jira';

> select user,host,password from mysql.user;

$ ./atlassian-jira-software-7.11.0-x64.bin

$ /home/hy/atlassian/jira/bin/stop-jira.sh

$ /home/hy/atlassian/jira/bin/start-jira.sh

4、安装jira

$ ./atlassian-jira-software-7.11.0-x64.bin

5、访问

在浏览器中输入:http:host-ip:8080

http://20.20.20.20:8080

# 点击右上角的”language“可以选择语言

rhel6.5:安装部署jira7.11.0

rhel6.5:安装部署jira7.11.0

rhel6.5:安装部署jira7.11.0

rhel6.5:安装部署jira7.11.0

rhel6.5:安装部署jira7.11.0

#这里需要谷歌邮箱账号

# 谷歌邮箱注册方法:https://blog.csdn.net/qq_34889607/article/details/80576210

rhel6.5:安装部署jira7.11.0

rhel6.5:安装部署jira7.11.0

rhel6.5:安装部署jira7.11.0

rhel6.5:安装部署jira7.11.0

rhel6.5:安装部署jira7.11.0

rhel6.5:安装部署jira7.11.0

rhel6.5:安装部署jira7.11.0

rhel6.5:安装部署jira7.11.0

rhel6.5:安装部署jira7.11.0

 

参考文档

https://blog.csdn.net/qq_34889607/article/details/81097866