Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

[JIRA] Linux version of jira6.3.6 installation Chinese cracking and data migration

2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

JIRA environment:

System: CentOS 6.7

JIRA version: 6.3.6

Other environments: jdk1.6, MariaDB10.0.21

First, configure the yum source and upgrade the system to the latest

1) install the epel source

# yum-y install epel-release#yum-y upgrade & & yum-y update

2), run one_key.sh

Second, deployment of jdk environment

Refer to "install_java.sh" and note that jira6.3.6 requires at least JDK1.6

Third, create a database

Refer to "install_MariaDB.sh"

Mysql > create database jira default character set utf8;mysql > grant all privileges on jira.* to jira @ 'localhost' identified by' 123456

Fourth, JIRA installation

1. Download and extract the jira file and translate it into Chinese.

1) upload the installation package

# cd / tmp#wget http://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-6.3.6.tar.gz#tar zxf atlassian-jira-6.3.6.tar.gz# mv atlassian-jira-6.3.6-standalone / usr/local/jira

2), file authorization

# chown-R root.root / usr/local/jira/

2. Configure the jira file

1), create the JIRA installation directory

# mkdir-p / data/jira # # this directory is the jira installation directory

2), configure jira.home

# cd / usr/local/jira#vi atlassian-jira/WEB-INF/classes/jira-application.properties

3) install the JDBC driver of mysql

Upload the mysql-connector-java-5.1.26-bin.jar package to the / usr/local/jira/atlassian-jira/WEB-INF/lib directory

Fifth, start and shut down jira

# cd / usr/local/jira/bin

Start the command:

#. / start-jira.sh

Close command:

#. / stop-jira.sh

Sixth, WEB installation and configuration

1. Installation and configuration

Visit http://ip:8080

Start configuring the database

After the test connection is complete, click next to start the configuration:

Select private management mode

Select the software development version:

Register to get key, go to the official website to register an account:

You will get the license later, and you can check your authorization code through My Account (this is the next step):

Start configuring administrator password

Configure later when sending mail:

Installation completed:

2. Sinicization

After the JIRA installation and deployment is completed, after reboot, the administrator logs in, finds the plug-in (add on), manages the plug-in (manage add on) Upload, selects the language pack JIRA-6.3.3-language-pack-zh_CN.jar, and observes whether there is an error. If there is an error, restart JIRA, and upload the Chinese file again. After the Chinese plug-in is successfully installed, find the JIRA system configuration and select the Chinese language.

3. Crack

1)。 Close jira

# cd / usr/local/jira/bin#. / stop-jira.sh

2), replace the file

Replace / atlassian-jira/WEB-INF/lib/atlassian-extras-2.2.2.jar

Replace / atlassian-jira/WEB-INF/atlassian-bundled-plugins/atlassian-universal-plugin-manager-plugin-2.17.13.jar

3), update the authorization file

(1) start jira

# cd / usr/local/jira/bin#. / stop-jira.sh

(2). Edit key file

Click "system"-> Authorization

Key description:

Description=JIRA Agile (formerly GreenHopper) for JIRA\: Commercial

NumberOfUsers=-1

CreationDate= your installation date, format (yyyy-mm-dd)

Evaluation=false

Greenhopper.LicenseEdition=ENTERPRISE

LicenseVersion=2

MaintenanceExpiryDate=, the expiration date you want to set is 2099-12-31.

Organisation= the name of your company's organization

Greenhopper.active=true

SEN=, the SEN you applied for.

ServerID=, the ServerID you applied for.

LicenseExpiryDate=, the expiration date you want to set is 2099-12-31.

LicenseTypeName=COMMERCIAL

PurchaseDate your installation date, format (yyyy-mm-dd)

For example (do not copy the following LicenseID directly, use the key you obtained):

Description=JIRA: Commercial

CreationDate=2016-05-10

Jira.LicenseEdition=ENTERPRISE

Evaluation=false

Jira.LicenseTypeName=COMMERCIAL

Jira.active=true

LicenseVersion=2

MaintenanceExpiryDate=2099-12-31

Organisation=pl

SEN=SEN-L7841388

ServerID=B48S-5OMT-5UL3-W2YS

Jira.NumberOfUsers=-1, LicenseID=AAABdg0ODAoPeNp9UUtvgkAQvu+v2KSX9gABHy012aQWONCAGsE2TXpZYbTb4EJmF1v/fVFo1PpI9rAzu/O95iYqJI34hlqPtGMP7N6gZ1HXS2jHsu/JEgHkZ1GWgGYoUpAK/ExoUUjmjxJ/OpkGsU9G1WoOOF7MFKBihk2+BHLzpDupMP3kCjyugW3hDatv2BZpgZNNCSO+AuaOo8ifusEw/Hvyf0qBm4O5+jjELaTmqfYjLnKGkK2EhKdK1uLmYplxzc20WJEYcA0YeOy558RGfxwlRn8Wdo23znvcCC2xyKpUm9vCUMVCf3MEs0YWa2AaK2i+XfZ/JqVzZmqdUoPkMr1g6IqakzBbntpXGHixPzLCB6dndx2H1AU7alyBjTVHDcgWPFdAxrjkUije+FvzvNpdad5wERdh2/i/wPb9tZa2newcBQK1ZyxRqDZLD1SKotxxvATTIY1bMfS2WdXdx4DuyRv1l5ZxLuZD8sO5PWZT/wKAbQT/MCwCFDeA9cruRuE8wn+NYnxpZk4yTVgSAhRNg+dGVOd6RFpFRU6IOPocM7J1TA==X02ia

LicenseExpiryDate=2099-12-31

PurchaseDate=2016-05-10

Update the example content

After the increase, if the expiration time shows the expiration date set for you, such as 2099-12-31, the crack is complete.

Seventh, view configuration and exclusion

1. View database configuration information

# vi / data/$jira_home/dbconfig.xml

2. Log view

# cd / usr/local/jira/logs#tailf catalina.out

3. Modify the application listening port

# netstat-anlp | grep 8080

Eighth, data backup and migration

Jira backup (manual backup of attachment):

Method 1: back up manually

Log in to jira, and in the administrative panel, jira, click "backup data as XML"

Method 2: automatic backup

Manage-- > system-- > Service-- > Backup Service (backup 3 times a day)

Note: backup files are stored in the / data/jira/export directory, the file name is jira custom name, select the latest file when restoring!

Backup attachment:

Package all files in the / data/jira/data/p_w_uploads directory:

# 7za a 0920.7z paired wickedly popular ads

Jira recovery:

First, restore data files

Upload the backup file to the directory specified by the new server, and then perform the restore on the web side:

Second, the attachment is restored:

Upload the attachment to the new server attachment directory

Unzip the attachment to overwrite the original file:

# 7za x 0920.7z

The permissions may change after decompression. Modify the permissions:

# chmod 751 p_w_uploads

Verification results:

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report