jira的安装部署
CentOS-7-x86_64JDK:jdk-8u73-linux-x64.gzMySQL:jira software:bc-atlassian-jira-software-7.0.5-jira-7.0.5.zip一、安装JDK1、解压JDK[root@linuxidc jira]# tar -zxf jdk-7u60-ea-bin-b15-linux-x64-
·
CentOS-7-x86_64
JDK:jdk-8u73-linux-x64.gz
MySQL:
jira software:bc-atlassian-jira-software-7.0.5-jira-7.0.5.zip
一、安装JDK
1、解压JDK
[root@linuxidc jira]# tar -zxf jdk-7u60-ea-bin-b15-linux-x64-16_apr_2014.tar.gz -C /usr/local/
2、创建软连接,将JDK追加至bin下:
[root@linuxidc bin]# cd /usr/bin/
[root@linuxidc bin]# ln -s -f /usr/local/jdk1.7.0_60/jre/bin/java
[root@linuxidc bin]# ln -s -f /usr/local/jdk1.7.0_60/bin/javac
3、配置JDK环境:
[root@linuxidc bin]# vim /etc/profile
[root@linuxidc bin]# tail -5 /etc/profile
#jdk
export JAVA_HOME=/usr/local/jdk1.7.0_60
export JAVA_BIN=/usr/local/jdk1.7.0_60/bin
export PATH=$PATH:$JAVA_HOME/bin
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
4、查看是否配置成功:
[root@linuxidc bin]# java -version
java version "1.7.0_60-ea" #版本正确
Java(TM) SE Runtime Environment (build 1.7.0_60-ea-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode)
二、安装MySQL
CentOS 7的yum源中貌似没有正常安装mysql时的mysql-sever文件,需要去官网上下载
# wget http://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm
# rpm -ivh mysql-community-release-el7-5.noarch.rpm
# yum install mysql-community-server
成功安装之后重启mysql服务
# service mysqld restart
初次安装mysql是root账户是没有密码的
配置MySQL
创建数据库:
mysql> CREATE DATABASE jira DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
三、安装配置jira
1、解压JIRA:
[root@linuxidc jira]# tar -zxf atlassian-jira-6.0.3.tar.gz -C /usr/local/
[root@linuxidc local]# mv atlassian-jira-6.0.3-standalone/ jira
2、创建JIRA安装目录:
[root@linuxidc jira]# mkdir jira_home
[root@linuxidc jira]# vim atlassian-jira/WEB-INF/classes/jira-application.properties
[root@linuxidc jira]# cat atlassian-jira/WEB-INF/classes/jira-application.properties
jira.home = /usr/local/jira/jira_home
3、据了解JIRA不支持mysql,所以需要添加mysql模块
[root@linuxidc bin]# pwd
/usr/local/jira/bin
[root@linuxidc bin]# cp /root/jira/mysql-connector-java-5.0.3-bin.jar .
4、启动JIRA服务器:
[root@linuxidc bin]# pwd
/usr/local/jira/bin
[root@linuxidc bin]# ./startup.sh
[ 查看端口:默认绑定8080端口
[root@linuxidc bin]# ss -tanlp ]
四、访问jira
在浏览器里输入IP地址端口是8080访问JIRA
连接MySQL时:
Q:
Could not find driver with class name: com.mysql.jdbc.Driver
A:把mysql-connector-java-5.1.38.tar.gz 放到/usr/local/jira/bin和/usr/local/jira/lib/下。
Q:null, message from server: "Host '192.168.10.251' is not allowed to connect
A:把填入的IP改为 localhost 。
根据显示的Server ID:BLWT-ZZG5-WIFY-NRB1
License Key:
AAABEA0ODAoPeJxdkF1PwjAUhu/7K/gDNWsRYkx6AVs1M/sgY0jEeFHKQWpGt5x2KP/ewTAqF+fqvB9PXhKB02gab2ornuJich/maSqLMJ4kg22Ng9c1eA+o6w28kRBBnZSR8iB4wMY0YJTdkQ+D6iYxGqwDuTHnMJmVspgV8VwSeVBVezaKraoc/NOXxwYytQfxW9z/lfbmAMJjC6Tqtc+A7pTCSaqM9WCV1SC/GoPHC9IooAGnnJMc35U1rm/dQVXVnzVuBsZqMpeZ6I4mjA9vR2MyBzwAxpGYJsuSrlaPI7qMH15oVkxZj5K1+zVgvl24DkBQRi7snSeJo79ZPyNcMTFOh4zMWtQ75eB6vm93In6sMC0CFQDpS9W2fGqxbU5G1yOWnBRFlxyDswIUEapJv3JhxDn5oeoIKytwqwPwza4=X02dt
Set Up administrator account
Full name:admin_jira
Email Address:name
@abc.com
Username:admin
Password:123
五、汉化
管理员登录,找到插件add on,Upload,选择JIRA-language-pack-zh_CN.jar,观察日志是否有报错,如果报错,重启JIRA之后,重新上传汉化文件 。
汉化插件安装成功之后,找到JIRA系统配置,选择中文配置
更多推荐
已为社区贡献1条内容
所有评论(0)