Linux安装JIRA6.3.6以及安装破解汉化插件
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Linux安装JIRA6.3.6以及安装破解汉化插件相关的知识,希望对你有一定的参考价值。
JIRA是Atlassian公司出品的项目与事务跟踪工具,被广泛应用于缺陷跟踪、客户服务、需求收集、流程审批、任务跟踪、项目跟踪和敏捷管理等工作领域。
一、搭建环境准备
Centos7.3下安装jira环境,所需的安装包:
1、mysql-5.7.17.tar.gz
下载地址:http://mirrors.sohu.com/mysql/MySQL-5.7/mysql-5.7.17.tar.gz
下载地址:https://downloads.mysql.com/archives/get/file/mysql-5.7.17.tar.gz
2、jdk1.7.0_25.tar.gz
下载地址:http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase7-521261.html
3、apache-tomcat-7.0.78.tar.gz
下载地址:http://apache.fayea.com/tomcat/tomcat-7/v7.0.78/bin/apache-tomcat-7.0.78.tar.gz
4、atlassian-jira-6.3.6.tar.gz
下载地址:https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-6.3.6.tar.gz
5、mysql-connector-java-5.1.42.zip(jdbc驱动包)
下载地址:http://download.csdn.net/detail/my_douer/9857794
6、JIRA-Language-STD-CN.jar(汉化包)
下载地址:http://download.csdn.net/detail/my_douer/9857851
7、Jira.zip(破解补丁 )
下载地址:http://download.csdn.net/detail/my_douer/9858240
二、安装软件
1、安装mysql数据库
[[email protected] jira_ins]# wget -c http://mirrors.sohu.com/mysql/MySQL-5.7/mysql-5.7.17.tar.gz [[email protected] jira_ins]# tar -zxf mysql-5.7.17.tar.gz [[email protected] jira_ins]# cd mysql-5.7.17 [[email protected] mysql-5.7.17]# yum install cmake ncurses-devel -y [[email protected] mysql-5.7.17]#cmake -DCMAKE_INSTALL_PREFIX=/usr/local/mysql -DMYSQL_DATADIR=/usr/local/mysql/data -DSYSCONFDIR=/etc -DWITH_MYISAM_STORAGE_ENGINE=1 -DWITH_INNOBASE_STORAGE_ENGINE=1 -DWITH_MEMORY_STORAGE_ENGINE=1 -DWITH_READLINE=1 -DMYSQL_UNIX_ADDR=/usr/local/mysql/mysql.sock -DMYSQL_TCP_PORT=3306 -DENABLED_LOCAL_INFILE=1 -DWITH_PARTITION_STORAGE_ENGINE=1 -DEXTRA_CHARSETS=all -DDEFAULT_CHARSET=utf8 -DDEFAULT_COLLATION=utf8_general_ci -DDOWNLOAD_BOOST=1 -DWITH_BOOST=/usr/local/boost
--------------------------------------------------------------- CMake Warning: Manually-specified variables were not used by the project: WITH_MEMORY_STORAGE_ENGINE WITH_READLINE -- Build files have been written to: /root/mysql-5.7.17 ---------------------------------------------------------------
出现上面的结果表示预编译成功!
[[email protected] mysql-5.7.17]# make -j grep ‘processor‘ /proc/cpuinfo | wc -l [[email protected] mysql-5.7.17]# make -j grep ‘processor‘ /proc/cpuinfo | wc -l install
检查系统是否已经有mysql用户,如果没有则创建
[[email protected] mysql-5.7.17]# cat /etc/passwd | grep mysql [[email protected] mysql-5.7.17]# cat /etc/group | grep mysql
创建mysql用户(但是不能使用mysql账号登陆系统)
[[email protected] mysql-5.7.17]# groupadd mysql [[email protected] mysql-5.7.17]# useradd -g mysql -s /sbin/nologin mysql
修改权限
[[email protected] mysql-5.7.17]# chown -R mysql:mysql /usr/local/mysql
[[email protected] mysql-5.7.17]# cp /usr/local/mysql/support-files/my-default.cnf /etc/my.cnf [[email protected] mysql-5.7.17]# cp /usr/local/mysql/support-files/mysql.server /etc/init.d/mysqld
[[email protected] mysql-5.7.17]# vim /etc/init.d/mysqld //指定安装目录及数据目录 basedir=/usr/local/mysql datadir=/usr/local/mysql/data
[[email protected] mysql-5.7.17]# chkconfig --add mysqld [[email protected] mysql-5.7.17]# chkconfig --level 35 mysqld on
进入安装路径,执行初始化配置脚本,创建系统自带的数据库和表
[[email protected] mysql-5.7.17]# /usr/local/mysql/bin/mysqld --user=mysql --datadir=/usr/local/mysql/data --basedir=/usr/local/mysql/
生成的初始密码位于:
方法一:
[[email protected] ~]# grep ‘temporary password‘ /var/log/mysqld.log 2017-05-31T17:25:46.311098Z 1 [Note] A temporary password is generated for [email protected]: MtPqF0/oN5zo
即初始密码为 MtPqF0/oN5zo (密码是随机产生的,每台机器产生的都不一样哦)
方法二:
[[email protected] src]# cat /root/.mysql_secret # The random password set for the root userat Fri Jan 10 20:00:34 2014 (local time): aJqZsA2m
这里的aJqZsA2m就是生成的root随机密码啦
[[email protected] mysql-5.7.17]# mysql -uroot -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 4 Server version: 5.7.11 Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type ‘help;‘ or ‘\h‘ for help. Type ‘\c‘ to clear the current input statement. mysql> show databases;ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement.
登录之后 第一步必须先修改密码,否则其他操作都执行不了。
修改密码的方法:
mysql> alter user [email protected] identified by ‘XXXXXXXXX‘; Query OK, 0 rows affected (0.00 sec) mysql> quit
2、安装jdk环境
[[email protected] jira_ins]# ls jdk1.7.0_25.tar.gz [[email protected] jira_ins]# tar -zxf jdk1.7.0_25.tar.gz [[email protected] jira_ins]# ls jdk1.7.0_25 jdk1.7.0_25.tar.gz [[email protected] jira_ins]# mkdir /usr/local/java [[email protected] jira_ins]# mv jdk1.7.0_25 /usr/local/java/ [[email protected] jira_ins]# cd /usr/local/java/ [[email protected] java]# pwd /usr/local/java [[email protected] java]# ls jdk1.7.0_25 [[email protected] java]# cd jdk1.7.0_25/ [[email protected] jdk1.7.0_25]# ls bin jre README.html THIRDPARTYLICENSEREADME.txt COPYRIGHT lib release db LICENSE src.zip include man THIRDPARTYLICENSEREADME-JAVAFX.txt [[email protected] jdk1.7.0_25]# vim /etc/profile //配置环境变量,在/et/profile文件末尾添加下面四句 JAVA_HOME=/usr/local/java/jdk1.7.0_25 CLASSPATH=$JAVA_HOME/lib:$JAVA_HOME/jre/lib PATH=$PATH:$JAVA_HOME/bin:$JAVA_HOME/jre/bin export PATH CLASSPATH JAVA_HOME [[email protected] jdk1.7.0_25]# source /etc/profile //使配置的环境变量生效 [[email protected] jdk1.7.0_25]# java -version //测试 java version "1.7.0_25" Java(TM) SE Runtime Environment (build 1.7.0_25-b15) Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode) [[email protected] jdk1.7.0_25]# javac -version javac 1.7.0_25
3、安装Tomcat
[[email protected] jira_ins]# ls apache-tomcat-7.0.78.tar.gz jdk1.7.0_25.tar.gz [[email protected] jira_ins]# tar -zxf apache-tomcat-7.0.78.tar.gz [[email protected] jira_ins]# ls apache-tomcat-7.0.78 jdk1.7.0_25.tar.gz apache-tomcat-7.0.78.tar.gz [[email protected] jira_ins]# mv apache-tomcat-7.0.78 /usr/local/tomcat [[email protected] jira_ins]# cd /usr/local/tomcat/ [[email protected] tomcat]# ls bin lib logs RELEASE-NOTES temp work conf LICENSE NOTICE RUNNING.txt webapps [[email protected] tomcat]# ps -ef | grep tomcat root 5082 3961 0 22:49 pts/0 00:00:00 grep --color=auto tomcat [[email protected] tomcat]# cd bin/ [[email protected] bin]# ls bootstrap.jar daemon.sh startup.sh catalina.bat digest.bat tomcat-juli.jar catalina.sh digest.sh tomcat-native.tar.gz catalina-tasks.xml setclasspath.bat tool-wrapper.bat commons-daemon.jar setclasspath.sh tool-wrapper.sh commons-daemon-native.tar.gz shutdown.bat version.bat configtest.bat shutdown.sh version.sh configtest.sh startup.bat [[email protected] bin]# ./startup.sh Using CATALINA_BASE: /usr/local/tomcat Using CATALINA_HOME: /usr/local/tomcat Using CATALINA_TMPDIR: /usr/local/tomcat/temp Using JRE_HOME: /usr/local/java/jdk1.7.0_25 Using CLASSPATH: /usr/local/tomcat/bin/bootstrap.jar:/usr/local/tomcat/bin/tomcat-juli.jar Tomcat started. [[email protected] bin]# ps -ef | grep tomcat root 5101 1 14 22:52 pts/0 00:00:06 /usr/local/java/jdk1.7.0_25/bin/java -Djava.util.logging.config.file=/usr/local/tomcat/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djdk.tls.ephemeralDHKeySize=2048 -Djava.endorsed.dirs=/usr/local/tomcat/endorsed -classpath /usr/local/tomcat/bin/bootstrap.jar:/usr/local/tomcat/bin/tomcat-juli.jar -Dcatalina.base=/usr/local/tomcat -Dcatalina.home=/usr/local/tomcat -Djava.io.tmpdir=/usr/local/tomcat/temp org.apache.catalina.startup.Bootstrap start root 5149 3961 0 22:53 pts/0 00:00:00 grep --color=auto tomcat [[email protected] bin]# netstat -anlp | grep 8080 tcp6 0 0 :::8080 :::* LISTEN 5101/java [[email protected] bin]# netstat -anlp | grep 8005 tcp6 0 0 127.0.0.1:8005 :::* LISTEN 5101/java
4、安装jira环境
[[email protected] jira_ins]# ls apache-tomcat-7.0.78.tar.gz jdk1.7.0_25.tar.gz atlassian-jira-6.3.6.tar.gz [[email protected] jira_ins]# tar -zxf atlassian-jira-6.3.6.tar.gz [[email protected] jira_ins]# ls apache-tomcat-7.0.78.tar.gz jdk1.7.0_25.tar.gz atlassian-jira-6.3.6-standalone atlassian-jira-6.3.6.tar.gz [[email protected] jira_ins]# mv atlassian-jira-6.3.6-standalone /usr/local/ [[email protected] jira_ins]# cd /usr/local/ [[email protected] local]# ls atlassian-jira-6.3.6-standalone games lib64 mysql share zabbix bin include libexec nginx src boost java libmemcached php7 src.zip etc lib man sbin tomcat [[email protected] local]# cd atlassian-jira-6.3.6-standalone/ [[email protected] atlassian-jira-6.3.6-standalone]# ls atlassian-jira conf lib NOTICE README.txt tomcat-docs work bin external-source logs README.html temp webapps [[email protected] atlassian-jira-6.3.6-standalone]# cd conf/ [[email protected] conf]# ls catalina.policy context.xml server.xml web.xml catalina.properties logging.properties tomcat-users.xml [[email protected] conf]# vim server.xml //修改jira的启动端口,8005和8080端口都重新修改为8006和8081 [[email protected] conf]# cd ../ //配置jira_home [[email protected] atlassian-jira-6.3.6-standalone]# ls atlassian-jira conf lib NOTICE README.txt tomcat-docs work bin external-source logs README.html temp webapps [[email protected] atlassian-jira-6.3.6-standalone]# cd atlassian-jira/WEB-INF/classes/ [[email protected] classes]# vim jira-application.properties jira.home = /usr/local/atlassian-jira-6.3.6-standalone //修改jira数据的存放位置 [[email protected] conf]# lsof -i:8081 //查看8081端口情况 [[email protected] conf]# cd ../ [[email protected] atlassian-jira-6.3.6-standalone]# ls atlassian-jira conf lib NOTICE README.txt tomcat-docs work bin external-source logs README.html temp webapps [[email protected] atlassian-jira-6.3.6-standalone]# cd bin/ [[email protected] bin]# ls apr jirabanner.txt startup.bat bootstrap.jar jira-configurator.jar startup.sh catalina.bat permgen.bat stop-jira.bat catalina.sh permgenservice.bat stop-jira.sh catalina-tasks.xml permgen.sh tomcat7.exe commons-daemon.jar service.bat tomcat7.exe.x64 commons-daemon-native.tar.gz setclasspath.bat tomcat7w.exe config.bat setclasspath.sh tomcat-juli.jar config.sh setenv.bat tomcat-native.tar.gz configtest.bat setenv.sh tool-wrapper.bat configtest.sh shutdown.bat tool-wrapper.sh daemon.sh shutdown.sh user.sh digest.bat start-jira.bat version.bat digest.sh start-jira.sh version.sh
[[email protected] bin]# ./start-jira.sh //启动jira To run JIRA in the foreground, start the server with start-jira.sh -fg executing as current user ..... .... .NMMMD. ... .8MMM. $MMN,.. ~MMMO. .?MMM. .MMM?. OMMMMZ. .,NMMMN~ .IMMMMMM. .NMMMN. .MMMMMN, ,MMMMMM$.. 3MD ..ZMMMMMM. =NMMMMMM,. .,MMMMMMD. .MMMMMMMM8MMMMMMM, .ONMMMMMMMMMMZ. ,NMMMMMMM8. .:,.$MMMMMMM .IMMMM..NMMMMMD. .8MMMMM: :NMMMMN. .MMMMMM. .MMMMM~. .MMMMMN .MMMMM?. Atlassian JIRA Version : 6.3.6 Detecting JVM PermGen support... PermGen switch is supported. Setting to 384m If you encounter issues starting or stopping JIRA, please see the Troubleshooting guide at http://confluence.atlassian.com/display/JIRA/Installation+Troubleshooting+Guide Server startup logs are located in /usr/local/atlassian-jira-6.3.6-standalone/logs/catalina.out Using CATALINA_BASE: /usr/local/atlassian-jira-6.3.6-standalone Using CATALINA_HOME: /usr/local/atlassian-jira-6.3.6-standalone Using CATALINA_TMPDIR: /usr/local/atlassian-jira-6.3.6-standalone/temp Using JRE_HOME: /usr/local/java/jdk1.7.0_25 Using CLASSPATH: /usr/local/atlassian-jira-6.3.6-standalone/bin/bootstrap.jar:/usr/local/atlassian-jira-6.3.6-standalone/bin/tomcat-juli.jar Using CATALINA_PID: /usr/local/atlassian-jira-6.3.6-standalone/work/catalina.pid Tomcat started.
[[email protected] bin]# ps -ef | grep tomcat root 5101 1 0 22:52 pts/0 00:00:11 /usr/local/java/jdk1.7.0_25/bin/java -Djava.util.logging.config.file=/usr/local/tomcat/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djdk.tls.ephemeralDHKeySize=2048 -Djava.endorsed.dirs=/usr/local/tomcat/endorsed -classpath /usr/local/tomcat/bin/bootstrap.jar:/usr/local/tomcat/bin/tomcat-juli.jar -Dcatalina.base=/usr/local/tomcat -Dcatalina.home=/usr/local/tomcat -Djava.io.tmpdir=/usr/local/tomcat/temp org.apache.catalina.startup.Bootstrap start root 5321 1 70 23:38 pts/0 00:00:16 /usr/local/java/jdk1.7.0_25/bin/java -Djava.util.logging.config.file=/usr/local/atlassian-jira-6.3.6-standalone/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -XX:MaxPermSize=384m -Xms384m -Xmx768m -Djava.awt.headless=true -Datlassian.standalone=JIRA -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true -Dmail.mime.decodeparameters=true -Dorg.dom4j.factory=com.atlassian.core.xml.InterningDocumentFactory -XX:+PrintGCDateStamps -XX:-OmitStackTraceInFastThrow -Djava.endorsed.dirs=/usr/local/atlassian-jira-6.3.6-standalone/endorsed -classpath /usr/local/atlassian-jira-6.3.6-standalone/bin/bootstrap.jar:/usr/local/atlassian-jira-6.3.6-standalone/bin/tomcat-juli.jar -Dcatalina.base=/usr/local/atlassian-jira-6.3.6-standalone -Dcatalina.home=/usr/local/atlassian-jira-6.3.6-standalone -Djava.io.tmpdir=/usr/local/atlassian-jira-6.3.6-standalone/temp org.apache.catalina.startup.Bootstrap start root 5334 3961 0 23:38 pts/0 00:00:00 grep --color=auto tomcat [[email protected] bin]# netstat -anlp | grep 8081 tcp6 0 0 :::8081 :::* LISTEN 5321/java [[email protected] bin]# netstat -anlp | grep 8006 tcp6 0 0 127.0.0.1:8006 :::* LISTEN 5321/java [[email protected] bin]# lsof -i:8081 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME java 5321 root 54u IPv6 165811 0t0 TCP *:tproxy (LISTEN) [[email protected] bin]# lsof -i:8080 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME java 5101 root 42u IPv6 161392 0t0 TCP *:webcache (LISTEN)
看到jira所在的Tomcat容器 已经启动成功。
打开网址http://192.XXX.XXX.XXX:8081/,报错如下:
日志报错:
***************************************************************************************************************************************************************************************
Configured jira.home ‘/usr/local/atlassian-jira-6.3.6-standalone‘ must not be a parent directory of the webapp servlet path ‘/usr/local/atlassian-jira-6.3.6-standalone/atlassian-jira‘
***************************************************************************************************************************************************************************************
重新设置一下jira.home,设置成不在本jira安装软件目录下,然后重启jira服务,打开jira网址,OK了,在WEB-INF/classes/jira-application.properties文件设置jira.home = 创建好的一个空文件夹,临时文件、上传的附件等都放在这个目录。 注意不要和JIRA安装目录一样。
[[email protected] local]# mkdir jira_home [[email protected] local]# cd atlassian-jira-6.3.6-standalone/atlassian-jira/WEB-INF/classes/ [[email protected] classes]# vim jira-application.properties jira.home = /usr/local/jira_home
[[email protected] classes]# cd ../../.. [[email protected] atlassian-jira-6.3.6-standalone]# ls atlassian-jira conf lib NOTICE README.txt tomcat-docs work bin external-source logs README.html temp webapps [[email protected] atlassian-jira-6.3.6-standalone]# cd bin/ [[email protected] bin]# ls apr digest.sh startup.bat atlassian-jira.log jirabanner.txt startup.sh atlassian-jira-security.log jira-configurator.jar stop-jira.bat bootstrap.jar permgen.bat stop-jira.sh catalina.bat permgenservice.bat tomcat7.exe catalina.sh permgen.sh tomcat7.exe.x64 catalina-tasks.xml service.bat tomcat7w.exe commons-daemon.jar setclasspath.bat tomcat-juli.jar commons-daemon-native.tar.gz setclasspath.sh tomcat-native.tar.gz config.bat setenv.bat tool-wrapper.bat config.sh setenv.sh tool-wrapper.sh configtest.bat shutdown.bat user.sh configtest.sh shutdown.sh version.bat daemon.sh start-jira.bat version.sh digest.bat start-jira.sh [[email protected] bin]# ./stop-jira.sh //重启jira [[email protected] bin]# ./start-jira.sh
[[email protected] bin]# ps -ef | grep jira //检查jira是否启动 root 6226 1 80 16:52 pts/0 00:00:29 /usr/local/java/jdk1.7.0_25/bin/java -Djava.util.logging.config.file=/usr/local/atlassian-jira-6.3.6-standalone/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -XX:MaxPermSize=384m -Xms384m -Xmx768m -Djava.awt.headless=true -Datlassian.standalone=JIRA -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true -Dmail.mime.decodeparameters=true -Dorg.dom4j.factory=com.atlassian.core.xml.InterningDocumentFactory -XX:+PrintGCDateStamps -XX:-OmitStackTraceInFastThrow -Djava.endorsed.dirs=/usr/local/atlassian-jira-6.3.6-standalone/endorsed -classpath /usr/local/atlassian-jira-6.3.6-standalone/bin/bootstrap.jar:/usr/local/atlassian-jira-6.3.6-standalone/bin/tomcat-juli.jar -Dcatalina.base=/usr/local/atlassian-jira-6.3.6-standalone -Dcatalina.home=/usr/local/atlassian-jira-6.3.6-standalone -Djava.io.tmpdir=/usr/local/atlassian-jira-6.3.6-standalone/temp org.apache.catalina.startup.Bootstrap start root 6262 3961 0 16:53 pts/0 00:00:00 grep --color=auto jira
重启jira服务后,继续刷新http://192.XXX.XXX.XXX:8081/,
此时设置好的jira.home数据储存目录下面就生成目录文件了。
[[email protected]erver local]# cd jira_home/ [[email protected] jira_home]# pwd /usr/local/jira_home [[email protected] jira_home]# ls caches data export import log plugins tmp
5.添加汉化插件
首先下载汉化插件包
http://download.csdn.net/detail/my_douer/9857851
或者http://download.csdn.net/detail/my_douer/9860744
将下载到的JIRA-Language-STD-CN.jar汉化包(或者JIRA-6.3.3-language-pack-zh_CN.jar)拷贝到linux中jira的安装目录/usr/local/atlassian-jira-6.3.6-standalone/atlassian-jira/WEB-INF/atlassian-bundled-plugins下面,然后重启jira服务。
[[email protected] bin]# pwd /usr/local/atlassian-jira-6.3.6-standalone/bin [[email protected] bin]# ./stop-jira.sh [[email protected] bin]# ./start-jira.sh
继续刷新http://192.168.10.151:8081/secure/SetupDatabase!default.jspa,就会出现汉化界面。如果没有出现,不打紧,后面我们通过web端进行汉化插件的添加。
6、数据库对jira授权,建立jira数据库
[[email protected] jira_ins]# mysql -uroot -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 6 Server version: 5.7.17-log Source distribution Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type ‘help;‘ or ‘\h‘ for help. Type ‘\c‘ to clear the current input statement. mysql> show databases; +--------------------+ | Database | +--------------------+ | information_schema| | mysql | | sys | | test | +--------------------+ 8 rows in set (0.14 sec) mysql> create database jira default character set utf8; Query OK, 1 row affected (0.10 sec) mysql> show databases; +--------------------+ | Database | +--------------------+ | information_schema| | jira | | mysql | | sys | | test | +--------------------+ 9 rows in set (0.00 sec) mysql> GRANT ALL PRIVILEGES ON jira.* TO [email protected]‘%‘ identified by ‘jira123456‘; Query OK, 0 rows affected, 1 warning (0.22 sec) mysql> GRANT ALL PRIVILEGES ON jira.* TO [email protected] identified by ‘jira123456‘; Query OK, 0 rows affected, 1 warning (0.01 sec) mysql> quit Bye
7、访问http://192.168.10.151:8081/,进行配置。
此时报错,找不到类: com.mysql.jdbc.Driver。
mysql-connector-java-5.1.42-bin.jar复制到/usr/local/atlassian-jira-6.3.6-standalone/atlassian-jira/WEB-INF/lib目录下面,然后重启(jira最高只支持到mysql5.6 ):
[[email protected] lib]# rz
[[email protected] lib]# ll mysql-connector-java-5.1.42-bin.jar
-rw-r--r--. 1 root root 996444 Apr 17 20:23 mysql-connector-java-5.1.42-bin.jar
[[email protected] bin]# ./stop-jira.sh
[[email protected] bin]# ./start-jira.sh
接着访问http://192.168.10.151:8081/,得到测试连接成功,
下一步,填写设置个人信息
输入临时授权码,进行注册:
然后填入以下的key:
AAABBw0ODAoPeNptkFtLxDAQhd/zKwI+R9Kwy66FPKxthGhvtF0p4kuso0a6sUwvuP/edissyj4MD
HPOfHOYqzu0tICWeoJy4a+FzzkNwpIK7q1ICF2Ntu3tl5P3Ot89+1SNphnMPCEBwqkJTQ9y9jN+w
zxBPi2a68jW4DpQr/a0rZJS5VmuC0XOBNnjAH/s5bGFxBxABmkcqzzQu2jRTd3bEZaFZvE+AnYzR
JDYWNeDM64G9d1aPJ4TeXxOlOK7cbZbjrbNgkyGwwtg+rbvJpBkHikAR0Adytt0XzFV7R5Y+qQzV
kWZIoVK5FQsWq03YrvdkN/Ekz3S4SXlcpRswPrDdPD/aT+P1nzDMC0CFQCM9+0LlHVNnZQnSTwuR
O3eK+2gVgIUCteTs4Q3khIgrnsY64hxYB/d8bM=X02dh
参考补充
参考自:http://ilanni.blog.51cto.com/526870/1884084
注意:上图中的Mode中,我们在此使用的是Private模式,在这个模式下,用户的创建需要由管理员创建。而在Public模式下,用户是可以自己进行注册。
下面这个页面是需要我们输入jira的license,如下:
注意:上图中的Server ID:BRWS-OZIC-9BTE-YI9F
因为我们没有正式的license,所以需要我们在jira官网注册一个账号,然后利用这个账号申请一个可以试用30天的license,如下:
注意:这个图中的Server ID就是我们上面刚刚截图的Server ID。
通过上图,我们可以很明显的看到试用license已经申请成功。
注册完之后,填写管理员账户和密码
设置邮箱通知
之后,JIRA安装正式完成,如下自动跳转到JIRA管理页面,如下所示:
下来进行汉化,添加插件-----中文插件
然后选择刚上传的中文字体。
破解授权:
点击右上角齿轮形状的管理图标,选择“系统(system)”,再选择“授权(License)”,看到当前的License信息,如下所示:
将下载好的atlassian-extras-2.2.2.jar替换到jira安装目录/usr/local/atlassian-jira-6.3.6-standalone/atlassian-jira/WEB-INF/lib下的同名jar包。
将atlassian-universal-plugin-manager-plugin-2.17.13.jar替换到jira安装目录/usr/local/atlassian-jira-6.3.6-standalone/atlassian-jira/WEB-INF/atlassian-bundled-plugins下的同名jar包。
接着进行jira服务的重启。
填写授权码,授权码参数范例如下:
Description=JIRA: Commercial,
CreationDate=你的安装日期,格式(yyyy-mm-dd),
jira.LicenseEdition=ENTERPRISE,
Evaluation=false,
jira.LicenseTypeName=COMMERCIAL,
jira.active=true,
licenseVersion=2,
MaintenanceExpiryDate=你想设置的失效日期如:2099-12-31,
Organisation=joiandjoin,
SEN=你申请到的SEN注意没有前缀LID,
ServerID=你申请到的ServerID,
jira.NumberOfUsers=-1,
LicenseID=LID你申请到的SEN,注意LID前缀不要丢掉,
LicenseExpiryDate=你想设置的失效日期如:2099-12-31,
PurchaseDate=你的安装日期,格式(yyyy-mm-dd)
本次安装授权码实例为:
Description=JIRA: Commercial,
CreationDate=2017-06-01,
jira.LicenseEdition=ENTERPRISE,
Evaluation=false,
jira.LicenseTypeName=COMMERCIAL,
jira.active=true,
licenseVersion=2,
MaintenanceExpiryDate=2099-12-31,
Organisation=pl,
SEN=SEN-L4572887,
ServerID= BSDM-SW1T-IPPX-F4DB,
jira.NumberOfUsers=-1,
LicenseID=LIDSEN-L4572887,
LicenseExpiryDate=2099-12-31,
PurchaseDate=2017-06-01
详细文件请下载:http://download.csdn.net/detail/my_douer/9858240
将以上授权码信息填入授权码输入框,点击“增加”按钮,如下所示:
之后,看到授权信息更新了,就表示破解成功,会看到如下成功信息, 如下图:
授权完成之后,Jira破解完成。
参考文章:http://www.cnblogs.com/wych/p/4105551.html
http://blog.itpub.net/26230597/viewspace-1275597/ (包含有恢复数据的介绍)
http://ilanni.blog.51cto.com/526870/1884084
https://allgo.cc/2015/08/18/centos%E4%B8%8B%E5%AE%89%E8%A3%85jira/
本文出自 “MQ_douer” 博客,请务必保留此出处http://douer.blog.51cto.com/6107588/1932421
以上是关于Linux安装JIRA6.3.6以及安装破解汉化插件的主要内容,如果未能解决你的问题,请参考以下文章
[JIRA]Linux版本jira6.3.6安装汉化破解以及数据迁移
[JIRA] 最新Linux版本 jira6.3.6安装汉化破解以及数据迁移