Local Environment:
192.168.16.103
Dual Core, 2G memory
CentOS 6.7 X64
Need to be able to connect to network
Required installation Packages
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
Each installation package provided by the HTTP://PAN.BAIDU.COM/S/1GDERXPP
To start the installation:
# yum install-y gcc gcc-c++ libaio-devel
First, install the good mariadb
1. Ready to install MARIADB environment
# 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. Installation Configuration 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 20:47/etc/init.d/mysqld
# CP SUPPORT-FILES/MY-HUGE.CNF/ETC/MYSQL/MY.CNF Select configuration file based on memory size
Modifying a configuration file/etc/mysql/my.cnf
[Mysqld]
DataDir =/mysql/data Increased
Thread_concurrency = 4 Modified, this is a dual-core
Binlog_format=row Enabling and modifying
# cat/etc/profile.d/mysql.sh Export Header file
Export Path=/usr/local/mysql/bin: $PATH
# . /etc/profile.d/mysql.sh
# scripts/mysql_install_db--user=mysql--datadir=/mysql/data initialize MySQL
# service mysqld start MySQL
3. Prepare the database for use by the next Jira user
#mysql
MariaDB [(None)]> CREATE Database Jira;
Query OK, 1 row Affected (0.00 sec)
MariaDB [(None)]> grant all privileges on jira.* to [email protected] '% ' identified by ' admin ';
Query OK, 0 rows Affected (0.00 sec)
MariaDB [(None)]> flush privileges;
Query OK, 0 rows Affected (0.00 sec)
Ii. Deployment of Jira
1. Prepare the Java environment
# 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. Configure the 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 the this file unless instructed. It is the JIRA home directory for the location of the 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 is 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 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 is not found On the Java.library.path:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
Sep 9:42:50 AM org.apache.coyote.AbstractProtocol Init
Info:initializing Protocolhandler ["http-bio-8080"]
Sep 9:42:50 AM Org.apache.catalina.startup.Catalina Load
Info:initialization processed in 1125 ms
Remove this hint:
Info:the APR based Apache Tomcat Native Library which allows optimal performance in production environments is 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 this can be ignored
#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 There's no such hint at the moment.
# catalina.sh Configtest
....
Sep 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)
....
This error occurs
Need to close the SSL function to the configuration file
Modifying a configuration file
# 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"
Test configuration
[Email protected] ~]# 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 is 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 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 9:11:05 PM Org.apache.catalina.core.AprLifecycleListener Init
INFO:APR Capabilities:ipv6 [True], sendfile [true], accept filters [FALSE], random [true].
Sep 9:11:05 PM org.apache.coyote.AbstractProtocol Init
Info:initializing Protocolhandler ["http-apr-8080"]
Sep 9:11:05 PM Org.apache.catalina.startup.Catalina Load
Info:initialization processed in 913 ms
Start 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 is 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.
[Email protected] ~]# 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::: $:::* LISTEN 5895/sshd
TCP 0 0:: 1:25:::* LISTEN 5641/master
Access 192.168.16.103:8080 on the browser
3. Cracking and Chinese
# 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
You know, 8080 ports up.
Access 192.168.16.103:8080 in Browser section
Choose the corresponding Chinese package software.
OK, the Chinese has succeeded.
Crack
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
The hack was successful.
If there are problems with the deployment, you can communicate with each other, I also found a lot of information on the Internet, the final deployment and the Chinese OK
Jira installation cracking and Chinese