Centos6.5 + Jira6.3.6 + MySQL5.1 + installation + cracking + localization, centos6.5jira6.3.6

Source: Internet
Author: User
Tags mysql code

Centos6.5 + Jira6.3.6 + MySQL5.1 + installation + cracking + localization, centos6.5jira6.3.6
Centos6.5 + Jira6.3.6 + MySQL5.1 + installation + cracking + Localization
I. Introduction

 

Process summary and memo.

:

Jira6.3.6: http://pan.baidu.com/s/1eQgTYKE

Chinese package:Http://download.csdn.net/download/mchdba/7943421

Cracking package: http://download.csdn.net/detail/mchdba/7950429

Install MySQL online yum and bring your own driver.

 

Ii. required tools

MySQL is installed online using Centos.

 

Iii. JDK installation and configuration

 

Self-built Baidu.

 

Iv. MySQL Problems

 

Because MySQL requires not only installation, but also encoding modification, jira User Creation, authorization, and a single column.


1. Install

 

A) yum install mysql # yum-y install mysql-server B) set boot start # chkconfig mysqld on c) start MySql service # service mysqld start d) set the password for the root user of MySQL # mysql-u root mysql> select user, host, password from mysql. user; e) set the root user password mysql> set password for root @ localhost = password ('root'); f) delete an account with an empty password (optional) mysql> delete from mysql. user where user = ''; mysql> exit g) grant allprivileges on *. * TO 'root' @ '%' identified by 'root' with grant option; FLUSHPRIVILEGES;


 

2. Change the encoding to utf8.

 

A) Copy:/usr/share/doc/mysql-server-5.1.73/my-large.cnf content to/etc/my. cnf B) add a line under [client]: default-character-set = utf8 c) add a line under [mysqld]: default-character-set = utf8 d) Restart MySQL: # servicemysqld restart e) view the current MySQL code: # mysql-u root-p root mysql> showvariables like '% character %'; the output is as follows: + bytes + | Variable_name | Value | + bytes + | character_set_client | utf8 | character_set_connection | utf8 | character_set_database | utf8 | bytes | binary | utf8 | | character_set_server | utf8 | character_set_system | utf8 | character_sets_dir |/usr/share/mysql/charsets/| + ---------------------- + rows + 8 rows in set (0.01 sec)

3. Create jira related

 

A) CREATE a database: CREATE DATABASEjiradb character set utf8 COLLATE utf8_bin; B) CREATE a user INSERT into MySQL. user (HOST, USER, PASSWORD) VALUES ("localhost", "jirauser", PASSWORD ("1234"); c) Authorize grant select, INSERT, UPDATE, DELETE, CREATE, DROP, ALTER, index on jiradb. * TO 'jirauser' @ 'localhost' identified by '000000'; grant allprivileges on *. * TO jirauser @ '%' identified by '000000' with grant option; flushprivileges;

V. jira installation and cracking in Chinese

1. jira Installation

 

A) Create the directory mkdir-p/home/jira mv/root/atlassian-jira-6.3.6.tar.gz. /B) decompress and install tar -xvfatlassian-jira-6.3.6.tar.gz cdatlassian-jira-6.3.6-standalone c) by modifying the file:/home/jira/atlassian-jira-6.3.6-standalone/conf/server. <Connectorport = "8081" in xml to modify the tomcat port (optional ). D) Configure jira_home vim/home/jira/atlassian-jira-6.3.6-standalone/atlassian-jira/WEB-INF/classes/jira-application.properties jira. home =/home/jira_home e) start, stop command start: sh/home/jira/atlassian-jira-6.3.6-standalone/bin/start-jira.sh stop: sh/home/jira/atlassian-jira-6.3.6-standalone/bin/shutdown. sh

For more information, see http://www.2cto.com/ OS /201409/336192.html.

Key point: when entering the License Key, you can register an account on the jira official website, select the second account, and automatically generate a temporary Key.

2. jira Localization

 

Reference: http://www.2cto.com/ OS /201409/336192.html


3. jira cracking

 

Reference: http://www.2cto.com/ OS /201409/336192.html

 

6. jira is automatically started upon startup.

 

Create jiaob (use root account permission)

        vim/etc/init.d/jira

The content is as follows:

# Chkconfig: 2345 85 15 # description: jira # processname: jira # source function library. /etc/init. d/functions # the following line is more important for the jira installation path, if not, will prompt that the file CATALINA_HOME = "/home/jira/atlassian-jira-6.3.6-standalone" RETVAL = 0 start () {echo-n $ "Starting jira services :". $ CATALINA_HOME/bin/catalina. sh start RETVAL =$? Echo} stop () {echo-n $ "Shutting down jira services:". $ CATALINA_HOME/bin/catalina. sh stop RETVAL = $? Echo} case "$1" in start) start; stop) stop; restart | reload) stop start; status) status jira RETVAL =$? ; *) Echo $ "Usage: $0 {start | stop | restart | status}" exit 1 esacexit $ RETVAL

Modify permission: chmod + x/etc/init. d/jira add to start chkconfig-add jira start/etc/init. d/jirastart stop/etc/init. d/jirastop

VII. Supplement

 

In Centos, yum cannot be used properly due to proxy reasons. solution:

If you are using a proxy temporarily, enter the following command in the command line:

        exporthttp_proxy="http://210.45.72.XX:808"

For long-time use of proxies:

        proxy=http://210.45.72.XX:808        proxy_username=username        proxy_password=password

In addition, add the following to/root/. bashrc:

        exporthttp_proxy="http://username:password@210.45.72.XX:808"

All usernames and passwords can be ignored if they are authenticated by ip addresses or computer network card addresses.

Note: When you stop using the proxy, you need to change the modified file to the original. Especially if you use the export http_proxy = "http://210.45.72.XX: 808" command,

Enter unset http_proxy in the command line to remove the environment variable.

Because the export http_proxy = "http://210.45.72.XX: 808" command is essentially to write the settings after the export into the environment settings file.

Enter env to view all environment variable settings.

Env> env.txt: You can output environment variables to env.txt and env.txt.

Unset variables can cancel environment variables that have been set.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.