In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly introduces how to use Jira 6.3.6+SVN+apache, the introduction in the article is very detailed, has a certain reference value, interested friends must read!
JIRA installation
1. Preparatory work
Linux RadHat 5.8
Rhel-server-5.8-64-dvd.iso\ * operating system image
JDK1.6
Jdk-6u45-linux-x64-rpm.bin\ * JDK1.6 program installation package
MySql 5.5
MySQL-server-5.5.25a-1.rhel5.x86_64.rpm\ * MySql server-side installation package
MySQL-client-5.5.25a-1.rhel5.x86_64.rpm\ * MySql client installation package
Mysql-connector-java-3.1.12-bin.jar\ * Application side MySql installation driver
JIRA 6.3.6
Atlassian-jira-6.3.6.tar.gz\ * JIRA installer
JIRA-6.3.3-language-pack-zh_CN.jar\ * Chinese tools (manually loaded through the page)
JIRA-Language-STD-CN.jar\ * Sinicization tool (loaded by program)
Atlassian-extras-2.2.2.jar\ * cracking tool
Atlassian-universal-plugin-manager-plugin-2.17.13.jar\ * cracking tool
SVN
Subversion-deps-1.6.9.tar.gz\ * SVN installation tool
Subversion-1.6.9.tar.gz\ * SVN installation tool
Apache
Httpd-2.2.19.tar.bz2\ * apache installation tool
2. Prepare the environment
Install Linux RadHat 5.8\ * this section ignores
Install JDK 1.6
i. Give executable permissions to the installation file
# chmod 755 jdk-6u-linux-x64-rpm.bin
ii. Execute the installation file to install
#. / jdk-6u45-linux-x64-rpm.bin
# rpm-ivh jdk-6u45-linux-amd64.rpm
iii. After completing the installation, establish a standard mapping path to use the
After the installation is completed, the application will be installed in the / usr/java directory. To facilitate unified management, establish its link under / usr/local and use the following command:
# ln-s / usr/java/jdk1.6.0_45/usr/local/java
iv. Add environment variabl
# vi / etc/profile
Add the following at the end of the file:
JAVA_HOME=/usr/local/java
PATH=$JAVA_HOME/bin:$PATH
CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
Export JAVA_HOME PATH CLASSPATH
v. Make profile effective
# source / etc/profile
vi. Test JDK
# java-version
Install MySql 5.5
i. Install the MYSQL server side
# rpm-ivh MySQL-server-5.5.25a-1.rhel5.x86_64.rpm
Install the MYSQL client
ii. # rpm-ivh MySQL-client-5.5.25a-1.rhel5.x86_64.rpm
iii. Start the service
# service mysql start
iv. Add service to boot self-startup
# chkconfig-add mysql
3. Start installing JIRA
Extract the JIRA installer
# tar-xvf atlassian-jira-6.3.6.tar.gz
Move the installation package to / usr/local
# mv atlassian-jira-6.3.6-standalone / usr/local/
Renamed to jira
# cd / usr/local/
# mv atlassian-jira-6.3.6-standalone jira
Configure jira home\ * jira installation process configuration information, update plug-ins, all exist in this directory, if you delete this directory, JIRA will initialize.
Mkdir / usr/local/jira-config
# vi / usr/local/jira/atlassian-jira/WEB-INF/classes/jira-application.properties
Modify the content of the document
Jirahome = / usr/local/jira-config
Establishing jira Library based on Mysql Database
# CREATEDATABASE `jira` / *! 40100 DEFAULT CHARACTER SET utf8*/
# GRANTALL ON jira.* TO jira_user@'%' IDENTIFIED BY '123 Qwe'
Start JIRA
# cd / usr/local/jira/bin
#. / start-jira.sh
Take a look at the content, which proves that the system is started.
Server startup logs are located in/usr/local/jira/logs/catalina.out
Using CATALINA_BASE: / usr/local/jira
Using CATALINA_HOME: / usr/local/jira
Using CATALINA_TMPDIR: / usr/local/jira/temp
Using JRE_HOME: / usr/local/java
Using CLASSPATH: / usr/local/jira/bin/bootstrap.jar:/usr/local/jira/bin/tomcat-juli.jar
Using CATALINA_PID: / usr/local/jira/work/catalina.pid
Existing PID file found during start.
Removing/clearing stale PID file.
Tomcat started.
G) the page opens with the URL http://172.16.131.XX:8080
H) enter company name
I) visit the website https://id.atlassian.com/profile/profile.action
User name: pan_zg@51fac.com
Password: chrdw101
Apply for a new temporary use authorization code according to: Server ID
J) set the JIRA page administrator account and password
K) Select late
L) load Chinese patch pack
Select the package JIRA-6.3.3-language-pack-zh_CN
JIRA cracking
Replace / usr/local/jira/atlassian-jira/WEB-INF/lib/atlassian-extras-2.2.2 file
Replace / usr/local/jira/atlassian-jira/WEB-INF/atlassian-bundled-plugins/atlassian-universal-plugin-manager-plugin-2.17.13 file
Select system Management-Authorization
Enter the authorization code. An example of authorization code parameters is as follows:
Description=JIRA:Commercial
CreationDate= your installation date, format (yyyy-mm-dd)
Jira.LicenseEdition=ENTERPRISE
Evaluation=false
Jira.LicenseTypeName=COMMERCIAL
Jira.active=true
LicenseVersion=2
MaintenanceExpiryDate=, the expiration date you want to set is 2099-12-31.
Organisation=joiandjoin
SEN= the SEN you applied for does not have the prefix LID
ServerID=, the ServerID you applied for.
Jira.NumberOfUsers=-1
LicenseID=LID the SEN you applied for, be careful not to throw away the LID prefix
LicenseExpiryDate=, the expiration date you want to set is 2099-12-31.
PurchaseDate= your installation date, format (yyyy-mm-dd)
The example of this installation authorization code is:
Description=JIRA:Commercial
CreationDate=2015-07-07
Jira.LicenseEdition=ENTERPRISE
Evaluation=false
Jira.LicenseTypeName=COMMERCIAL
Jira.active=true
LicenseVersion=2
MaintenanceExpiryDate=2099-12-31
Organisation=joiandjoin
SEN=SEN-L6071750
ServerID=BUWU-6AB3-F0JT-69ZU
Jira.NumberOfUsers=-1
LicenseID=
AAABKw0ODAoPeNptkG9rwjAQxt/nUwT2ZnsRSYS2QwhM2zAqbZW2ioPByLLTZdS0JK3oPv2qHewPw
H0cPHe/5+Fu0trgeVdh7uMxm3j+xKM4jEo8psxDEThlddPq2vB5nE/xbQH2APbueYLFQVadPEsot
HAZItkCPx8SGvSFPrSVo0QrMA7Em75gRFaKfJnHhUBhbVqpWpFKXfFGmpfP3YPHtlKNVL1HP3ze2
G7+wMpTA5ncAw8XaSryMJ4mg97j9AGGg2rYXYN1Z8gY9T6mBSONAnFstD39yntPqIcWdieNdoOp6
/ RRm10jTwM66/avYBfbleuBnDA0vCKO+Gz2VBBarjckDdgjYZvSR4XIeN8k8WnAAo+i7+T9ehJH1
5TrkZadVe/Swf/XfgGldY1cMC0CFFFA/kb145aBtt9IVdfneRpNGUhwAhUAklpADMHwMN4/nynUT
Ip+xsNJrlE=X02f3
LicenseExpiryDate=2099-12-31
PurchaseDate=2015-07-07
Display the information to prove the success.
To this JIRA, the installation is complete.
4. Start installing SVN
Yum installs SVN and apache
# yum install httpd* subversion* mod_dav_svn
Create a SVN version repository
# mkdir / home/svn / * create a SVN folder
# cd / home/svn
# svnadmin create UFP / * build version library UFP
# svnadmin create Doc / * build version library Doc
Configure SVN
# mkdir / home/svn/conf
# touch / home/svn/conf/passwd
# vi / home/svn/conf/authz
[groups]
Svnadmin = admin
Svngss = admin
Svndoc = admin
[/]
@ svnadmin = rw
[UFP:/]
@ svnadmin = rw
[UFP:/gss]
@ svnadmin = rw
@ svngss = rw
[Doc:/]
@ svndos = rw
@ svnadmin = rw
# wq
Description: create three permission groups for svnadmin,svngss,svndoc.
Svnadmin groups can have read and write access to the following locations
/ / * corresponding linux folder location / home/svn/
UFP:/ / * corresponds to linux folder location / home/svn/UFP/
UFP:/gss / * corresponds to linux folder location / home/svn/UFP/gss
Doc:/ / * corresponds to linux folder location / home/svn/doc/
Svngss groups can have read and write access to the following locations
UFP:/gss / * corresponds to linux folder location / home/svn/UFP/gss
Svndoc groups can have read and write access to the following locations
Doc:/ / * corresponds to linux folder location / home/svn/Doc
# htpasswd-c / home/svn/conf/passwdadmin / * create a SVN user
# vi / etc/httpd/conf/httpd.conf
DAV svn / * call SVN module
SVNParentPath / home/svn / * configure SVN path
SVNListParentPath on / * allows multiple version repositories under the SVN path to be loaded
AuthType Basic / * authentication type
Welcome message displayed to the user by AuthName "Subversion Repository" / *
AuthUserFile / home/svn/conf/passwd / * specifies the profile of the accessible user
AuthzSVNAccessFile / home/svn/conf/authz / * specifies a profile that can access user permissions
Require valid-user / * user authentication
LoadModule dav_svn_modulemodules/mod_dav_svn.so / * Apache load SVN module
LoadModule authz_svn_modulemodules/mod_authz_svn.so/* Apache loads SVN module
# service httpd restart
# service svnserve restart
# setenforce 0 / * close SElinux
Http://x.x.x.x/svn/UFP / * access SVN
If the following interface appears, it will be successful.
5. Integration of JIRA and SVN
Search and install the plug-in subversion-jira-plugin,JIRASyntax Highlighter PlugIn v. 1.7.1 JIRA Charting Plugin in the plug-in management option
Configure plug-in subversion-jira-plugin
6. Import SVN and JIRA data
Svn Import using svn hooks tool
The Hooks tool under SVN version repository / home/svn/UFP/hooks / * UFP is the name of the version repository established.
# cd / home/svn/UFP/hooks
# cp pre-revprop-change.tmplpre-revprop-change
Annotation
# if ["$ACTION" = "M"-a "$PROPNAME" = "svn:log"]; then exit 0; fi
# echo "Changing revision propertiesother than svn:log is prohibited" > & 2
# exit 1
# svnsync init file:///home/svn/UFP/ http://172.16.131.202/svn/UFP/ / * svnsync init file:///home/svn/UFP( destination address) http://172.16.131.202/svn/UFP( source address)
# svnsync sync file:///home/svn/UFP/
JIRA Migration windows-linux
Migrate the jira and jiradata directories of windows to / usr/local/
Change the configuration file
# vi / usr/local/jiradata/dbconfig.xml / * jira database configuration file
DefaultDS
Default
Mysql
Jdbc:mysql://127.0.0.1:3306/jira?useUnicode=true&characterEncoding=UTF8&sessionVariables=storage_engine=InnoDB
Com.mysql.jdbc.Driver
Root
123,qwe
twenty
twenty
30000
Select 1
60000
300000
twenty
True
three hundred
True
three
# vi/usr/local/jira/atlassian-jira/WEB-INF/classes/jira-application.properties / * configuration file of jirahome path
Jira.home = / usr/local/jiradata
The original windwos mysql database exports the database
# mysqldump-uroot-p jiradb > jiradb.sql
Now linux mysql database is imported into database.
Put the exported jiradb.sql to / root/jiradb.sql
# mysql-uroot-p / * log in to the database
# create database jira; / * create a database jira
# use jira; / * enter the database
Source / root/jiradb.sql / * Import database
Because linux is case-sensitive and the table name in the database is made up of lowercase, but the application calls it with an uppercase table name, there will be an error that the table name cannot be found.
# vi / etc/my.cnf
Add a row
[mysqld]
Lower_case_table_names=1 / * makes mysql case-insensitive
# service mysqld restart
The above is all the contents of this article "how to use Jira 6.3.6+SVN+apache". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.