Install JIRA 6.3.6 in Linux and perform Chinese-based cracking and data migration
Preface:
JIRA is an excellent problem tracking management software tool developed by Atlassian, Australia. It can track and manage various types of problems, including defects, tasks, requirements, and improvements. JIRA adopts J2EE technology and can be deployed across platforms. It is widely used by open-source software organizations and world-renowned companies.
JIRA is a complete and powerful product, with simple installation and configuration, multi-language support, user-friendly interface, and excellent integration with other systems such as CVS, Subversion (SVN), VSS, LDAP, and email services, complete documentation, excellent availability and scalability, and complete user permission management.
Environment: jira software, 192. xx8.171.xx0; jira database, 192. xx8.171.xx2.
Reference:
JIRA installation and deployment in CentOS 6.5
Install and configure Jira and Confluence integration environments in CentOS 6.5
Installation and configuration of JIRA and Confluence in CentOS 5.3
1. Download
Official Website: https://www.atlassian.com/software/jira/download. only the installation packages under windows are displayed. Click here? All JIRA download options: Open the linux download page and select JIRA 6.3.6 (TAR. GZ Archive. Wget transform http://pan.baidu.com/s/1i3wwXFn download.
You can also download the resource FTP from the customer's home:
------------------------------------------ Split line ------------------------------------------
FTP address: ftp://ftp1.bkjia.com
Username: ftp1.bkjia.com
Password: www.bkjia.com
Install JIRA 6.3.6 Chinese-based cracking and data migration on LinuxIDC.com on July 6,/Linux
For the download method, see
------------------------------------------ Split line ------------------------------------------
2. Install
2.1 install the jdk Environment
To install the Tomcat environment in Linux, refer:
To install the JDK environment in Linux, refer:
2.2. Create a directory
Mkdir-p/home/jira
Mv/root/atlassian-jira-6.3.6.tar.gz ./
2.3. decompress and install
Tar-xvf atlassian-jira-6.3.6.tar.gz
Cd atlassian-jira-6.3.6-standalone
Because port 8080 is occupied, an error is reported when jira is started. xml, you need to change the default port 8080 to port 8081, which is about to be attached to line 49th of the file. The modification method is as follows:
# Check whether port 8081 is occupied
[Root @ name01 conf] # lsof-I: 8081
[Root @ name01 conf] #
[Root @ name01 conf] # vim/home/jira/atlassian-jira-6.3.6-standalone/conf/server. xml
# <Connector port = "8080 ",
<Connection port = "8081"
[Root @ name01 conf] # more server. xml | grep 8080
[Root @ name01 conf] # more server. xml | grep 8081
<Connection port = "8081"
[Root @ name01 conf] #
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
2.4. Start jira
[Root @ name01 bin] #/home/jira/atlassian-jira-6.3.6-standalone/bin/start-jira.sh
To run JIRA in the foreground, start the server with start-jira.sh-fg
......
Server startup logs are located in/home/jira/atlassian-jira-6.3.6-standalone/logs/catalina. out
Using CATALINA_BASE:/home/jira/atlassian-jira-6.3.6-standalone
Using CATALINA_HOME:/home/jira/atlassian-jira-6.3.6-standalone
Using CATALINA_TMPDIR:/home/jira/atlassian-jira-6.3.6-standalone/temp.
Using JRE_HOME:/usr/lib/jvm/jdk1.6.0 _ 35/jre
Using CLASSPATH:/home/jira/atlassian-jira-6.3.6-standalone/bin/bootstrap. jar:/home/jira/atlassian-jira-6.3.6-standalone/bin/tomcat-juli.jar
Using CATALINA_PID:/home/jira/atlassian-jira-6.3.6-standalone/work/catalina. pid
Tomcat started.
[Root @ name01 bin] #
The Tomcat container where jira is located has been started successfully.
Open the web site http://192.xx8.171.xxx: 8081/, the background tomcat log error is as follows:
18:46:02 org. apache. catalina. core. StandardServer await
Severe: StandardServer. await: create [localhost: 8005]:
Java.net. BindException: Address already in use
At java.net. PlainSocketImpl. socketBind (Native Method)
At java.net. PlainSocketImpl. bind (PlainSocketImpl. java: 383)
At java.net. ServerSocket. bind (ServerSocket. java: 328)
At java.net. ServerSocket. <init> (ServerSocket. java: 194)
At org. apache. catalina. core. StandardServer. await (StandardServer. java: 427)
At org. apache. catalina. startup. Catalina. await (Catalina. java: 777)
At org. apache. catalina. startup. Catalina. start (Catalina. java: 723)
At sun. reflect. NativeMethodAccessorImpl. invoke0 (Native Method)
At sun. reflect. NativeMethodAccessorImpl. invoke (NativeMethodAccessorImpl. java: 39)
At sun. reflect. DelegatingMethodAccessorImpl. invoke (DelegatingMethodAccessorImpl. java: 25)
At java. lang. reflect. Method. invoke (Method. java: 597)
At org. apache. catalina. startup. Bootstrap. start (Bootstrap. java: 321)
At org. apache. catalina. startup. Bootstrap. main (Bootstrap. java: 455)
18:46:02 org. apache. coyote. AbstractProtocol pause
The error message on the page is as follows:
JIRA Startup Failed
Configured jira. home '/home/jira/atlassian-jira-6.3.6-standalone' must not be a parent directory of the webapp servlet path'/home/jira/atlassian-jira-6.3.6-standalone/atlassian-jira'
**************************************** **************************************** **************************************** **************************************** ***********************
Configured jira. home '/home/jira/atlassian-jira-6.3.6-standalone' must not be a parent directory of the webapp servlet path'/home/jira/atlassian-jira-6.3.6-standalone/atlassian-jira'
Reset jira. home, set it to not in the jira Installation Software Directory, restart the jira service, open the jira URL, and click OK. The page is displayed as follows:
For more details, please continue to read the highlights on the next page: