码迷,mamicode.com
首页 > 其他好文 > 详细

jira安装破解和汉化

时间:2015-09-30 16:37:49      阅读:1455      评论:0      收藏:0      [点我收藏+]

标签:

本地环境:

192.168.16.103

双核、2G内存

centos 6.7 X64

需要可以连接网络

需要的安装包

atlassian-jira-6.3.6.tar.gz

jdk-7u67-linux-x64.rpm

mariadb-10.0.10-linux-x86_64.tar.gz

mysql-connector-java-5.1.36.zip

atlassian-extras-2.2.2.jar

atlassian-universal-plugin-manager-plugin-2.17.13.jar

http://pan.baidu.com/s/1gdErXpp  提供的各安装包

开始安装:

# yum install -y gcc gcc-c++ libaio-devel

一、安装好mariadb

1.准备好安装mariadb的环境

# groupadd -r mysql

# useradd -r -g mysql mysql

# mkdir -p /mysql/data

# chown -R mysql.mysql /mysql/data

# mkdir /etc/mysql

# tar xf mariadb-10.0.10-linux-x86_64.tar.gz -C /usr/local

# ln -s mariadb-10.0.10-linux-x86_64 mysql

2.安装配置mariadb

# cd /usr/local/mysql

# cp support-files/mysql.server /etc/init.d/mysqld

# ls -l /etc/init.d/mysqld

-rwxr-xr-x 1 root root 11719 Sep 29 20:47 /etc/init.d/mysqld

# cp support-files/my-huge.cnf /etc/mysql/my.cnf 根据内存大小选择配置文件

修改配置文件/etc/mysql/my.cnf

[mysqld]

datadir = /mysql/data 增加的

thread_concurrency = 4 修改的,这里为双核

binlog_format=row 启用并修改

# cat /etc/profile.d/mysql.sh 导出头文件

export PATH=/usr/local/mysql/bin:$PATH

# . /etc/profile.d/mysql.sh

# scripts/mysql_install_db --user=mysql --datadir=/mysql/data 初始化MySQL

# service mysqld start 启动MySQL

3.准备好数据库给接下来的jira用户使用

#mysql

MariaDB [(none)]> create database jira;

Query OK, 1 row affected (0.00 sec)

MariaDB [(none)]> grant all privileges on jira.* to admin@‘%‘ identified by ‘admin‘;

Query OK, 0 rows affected (0.00 sec)

MariaDB [(none)]> flush privileges;

Query OK, 0 rows affected (0.00 sec)

二、部署jira

1.准备好Java环境

# rpm -ivh jdk-7u67-linux-x64.rpm

# cat /etc/profile.d/java.sh

export JAVA_HOME=/usr/java/jdk1.7.0_67

export PATH=$JAVA_HOME/bin:$PATH

# . /etc/profile.d/java.sh

2.配置好jira

# tar xf atlassian-jira-6.3.6.tar.gz -C /usr/local/

# cat /etc/profile.d/tomcat.sh

export CATALINA_HOME=/usr/local/atlassian-jira-6.3.6-standalone

export PATH=$CATALINA_HOME/bin:$PATH

# . /etc/profile.d/tomcat.sh

# mkdir /usr/local/jira

# vim /usr/local/atlassian-jira-6.3.6-standalone/atlassian-jira/WEB-INF/classes/jira-application.properties

# Do not modify this file unless instructed. It is here to store the location of the JIRA home directory only and is typically written to by the installer.

jira.home = /usr/local/jira

# unzip mysql-connector-java-5.1.36.zip

# cp mysql-connector-java-5.1.36/mysql-connector-java-5.1.36-bin.jar /usr/local/atlassian-jira-6.3.6-standalone/atlassian-jira/WEB-INF/lib/

# catalina.sh configtest

.....

.... .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/java/jdk1.7.0_67

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

Sep 30, 2015 9:42:50 AM org.apache.catalina.core.AprLifecycleListener init

INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib

Sep 30, 2015 9:42:50 AM org.apache.coyote.AbstractProtocol init

INFO: Initializing ProtocolHandler ["http-bio-8080"]

Sep 30, 2015 9:42:50 AM org.apache.catalina.startup.Catalina load

INFO: Initialization processed in 1125 ms

去掉这个提示:

INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib

# tar xf apr-1.5.0.tar.bz2

#tar xf apr-util-1.5.2.tar.bz2

#cd apr-1.5.0

#./configure

。。。。

rm: cannot remove `libtoolT‘: No such file or directory

config.status: executing default commands 这个可以忽略

#make && make install

#cd ../apr-util-1.5.2

#./configure --with-apr=/usr/local/apr

#make && make install

# cd /usr/local/atlassian-jira-6.3.6-standalone/bin

# tar xf tomcat-native.tar.gz

# cd /usr/local/atlassian-jira-6.3.6-standalone/bin/tomcat-native-1.1.31-src/jni/native/

# ./configure --with-apr=/usr/local/apr --with-java-home=/usr/java/jdk1.7.0_67

# make && make install

# cat /etc/profile.d/apr.sh

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/apr/lib

# . /etc/profile.d/apr.sh

# catalina.sh configtest 此时就不会有上面那个提示了

# catalina.sh configtest

....

Sep 10, 2015 9:07:56 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent

SEVERE: Failed to initialize the SSLEngine.

org.apache.tomcat.jni.Error: 70023: This function has not been implemented on this platform

at org.apache.tomcat.jni.SSL.initialize(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

....

出现这个错误

需要到配置文件中把ssl功能给关闭

修改配置文件

# vim /usr/local/atlassian-jira-6.3.6-standalone/conf/server.xml

<Server port="8005" shutdown="SHUTDOWN">

<!--APR library loader. Documentation at /docs/apr.html -->

<Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on"/> 把SSLEngine="off"

测试配置

[root@localhost ~]# catalina.sh configtest

.....

.... .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/java/jdk1.7.0_67

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

Sep 10, 2015 9:11:05 PM org.apache.catalina.core.AprLifecycleListener init

INFO: Loaded APR based Apache Tomcat Native library 1.1.31 using APR version 1.5.0.

Sep 10, 2015 9:11:05 PM org.apache.catalina.core.AprLifecycleListener init

INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].

Sep 10, 2015 9:11:05 PM org.apache.coyote.AbstractProtocol init

INFO: Initializing ProtocolHandler ["http-apr-8080"]

Sep 10, 2015 9:11:05 PM org.apache.catalina.startup.Catalina load

INFO: Initialization processed in 913 ms

启动jira

# catalina.sh start

.....

.... .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/java/jdk1.7.0_67

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.

[root@localhost ~]# netstat -tnlp

Active Internet connections (only servers)

Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name

tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 6537/mysqld

tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 5895/sshd

tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 5641/master

tcp 0 0 :::8080 :::* LISTEN 39807/java

tcp 0 0 :::22 :::* LISTEN 5895/sshd

tcp 0 0 ::1:25 :::* LISTEN 5641/master

在浏览器上访问192.168.16.103:8080

技术分享

技术分享

技术分享

技术分享

技术分享

技术分享

技术分享

技术分享

技术分享

技术分享

技术分享

3.破解和汉化

# catalina.sh stop

# cp atlassian-extras-2.2.2.jar /usr/local/atlassian-jira-6.3.6-standalone/atlassian-jira/WEB-INF/lib/

# cp atlassian-universal-plugin-manager-plugin-2.17.13.jar /usr/local/atlassian-jira-6.3.6-standalone/atlassian-jira/WEB-INF/atlassian-bundled-plugins/

# catalina.sh start

知道8080端口起来就可以了

在浏览器段访问 192.168.16.103:8080

技术分享

技术分享

技术分享

技术分享

技术分享

技术分享

选择好对应的汉化包软件

技术分享

技术分享

技术分享

技术分享

技术分享

技术分享

技术分享

技术分享

OK了汉化成功了

破解

技术分享

CreationDate=2014-09-20,

jira.LicenseEdition=ENTERPRISE,

Evaluation=false,

jira.LicenseTypeName=COMMERCIAL,

jira.active=true,

licenseVersion=2,

MaintenanceExpiryDate=2099-12-31,

Organisation=pl,

SEN=SEN-L4572887,

ServerID=BPT3-4QRK-FCRR-HEP3,

jira.NumberOfUsers=-1,

LicenseID=AAABBw0ODAoPeNptkFtLxDAQhd/zKwI+R9Kwy66FPKxthGhvtF0p4kuso0a6sUwvuP/edissyj4MD

HPOfHOYqzu0tICWeoJy4a+FzzkNwpIK7q1ICF2Ntu3tl5P3Ot89+1SNphnMPCEBwqkJTQ9y9jN+w

zxBPi2a68jW4DpQr/a0rZJS5VmuC0XOBNnjAH/s5bGFxBxABmkcqzzQu2jRTd3bEZaFZvE+AnYzR

JDYWNeDM64G9d1aPJ4TeXxOlOK7cbZbjrbNgkyGwwtg+rbvJpBkHikAR0Adytt0XzFV7R5Y+qQzV

kWZIoVK5FQsWq03YrvdkN/Ekz3S4SXlcpRswPrDdPD/aT+P1nzDMC0CFQCM9+0LlHVNnZQnSTwuR

O3eK+2gVgIUCteTs4Q3khIgrnsY64hxYB/d8bM=X02dh,

LicenseExpiryDate=2099-12-31,

PurchaseDate=2014-09-20

技术分享

技术分享

破解成功了

如果部署出现问题,可以互相交流,我也是在网上找了很多资料,最终部署并且汉化OK了

jira安装破解和汉化

标签:

原文地址:http://my.oschina.net/u/1762991/blog/512875

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!