Required environment for JDK MySQL
===============================
JDK article
Vi/etc/profile
java_home=/usr/local/jdk1.8
Jre_home=/usr/local/jdk1.8/jre
Path= $PATH: $JAVA _home/bin: $JRE _home/bin
Classpath=.: $JAVA _home/lib/dt.jar: $JAVA _home/lib/tools.jar
Export Java_home jre_home PATH CLASSPATH
#按照自己实际存放的目录设置
Source/etc/profile
Update-alternatives--install/usr/bin/java Java/usr/local/jdk1.8/bin/java #将 jdk1.8 set Number of executions
Update-alternatives--config Java #配置Java Execution order
Echo $JAVA _home
===================================
MySQL Chapter
Build MySQL Ignore
Create databases and users and empower
CREATE DATABASE jiradb CHARACTER SET UTF8 COLLATE utf8_bin;
Grant all privileges the jirauser.* to ' jiradb ' @ '% ' identified by ' Jira ';
=====================================
Jira article
1. Installation
Download Jira This article takes jira6.3.6 as an example
Unzip the file and copy all the files to/var/www/jira
2, modify Jira_home actually fill in is the path of jdk1.8
/var/www/jira/atlassian-jira/web-inf/classes/jira-application.properties
Jira.home =/usr/local/jdk1.8
3, modify the default memory used by default is 384m Max is 768m if the memory is big enough to increase this example to 1024 and 2048
/var/www/jira/bin
can find default grep-r 384 *
The modified file has three permgenservice.bat setenv.bat setenv.sh
Where SetEnv.bat setenv.sh Modify multiple items
4. Chinese
Copy the Chinese package to the /var/www/jira/atlassian-jira/web-inf/lib file
Jira-6.2.5-language-pack-zh_cn.jar and Jira-6.3.3-language-pack-zh_cn.jar (self test which works well)
5, crack
Copy the file to /var/www/jira/atlassian-jira/web-inf/atlassian-bundled-plugins/under
Atlassian-universal-plugin-manager-plugin-2.10.1.jar if there are duplicates or if the version is high, the default MV can be dropped
Copy the file to /var/www/jira/atlassian-jira/web-inf/lib/
Atlassian-extras-2.2.2.jar will default the backup under
6. mysql Support
Copy files to /var/www/jira/lib/Lower
Mysql-connector-java-5.1.25-bin.jar
7. Modify the default port
System default port is 8080 if the port is occupied please modify /var/www/jira/conf/server.xml
8. Start Jira
In /var/www/jira/bin
Under execution ./start-jira.sh
9. Stop Jira
./stop-jira.sh
10, Configuration Jira
http://ip:8080
Service language (default)
Connecting to a database (external database)
The following information about the input database click Back after the test is successful
Then the application parameters are set
Title (custom)
Mode (private)
Root URL http://192.168.1.114:8080
Click Back to see if there is an account whether there is a key according to their actual situation to choose
Once the application is successful, configure the Administrator account and you will be able to log in.
Login to authorize: Click on the system----to the left to find authorization to enter the update authorization code below (format below)
Description=jira:commercial,
CREATIONDATE=2016-05-25, #注册日期
Jira. Licenseedition=enterprise,
Evaluation=false,
Jira. Licensetypename=commercial,
Jira.active=true,
licenseversion=2,
MAINTENANCEEXPIRYDATE=2099-12-31,
ORGANISATION=LW,
sen=l7946927, #SEN above or at the time of application
Serverid=bupo-v01o-2o68-ucak, #ID也是一样的
Jira. Numberofusers=-1,
licenseid=sen-l7946927, #同上的SEN
LICENSEEXPIRYDATE=2099-12-31,
PURCHASEDATE=2016-05-25,
#SEN和ServerID must be the only machine a single machine repeated installation of the same two unchanged
11. Backup
System----Service---backup service
Linux build jira6.3.6 and Chinese and cracked configurations