Install jira in linux

Source: Internet
Author: User
Install jira in linux Step 1: install jdk 1 and download the jdk installation package from the official website. 2. upload the jdk installation package to a virtual machine or server: SCP file name (jdk-7u17-linux-x64.tar.gz) root @ virtual machine or server to be uploaded (210.56.194.45) 3. in,/usr/local/object... install jira in linux Step 1: install jdk 1. download the jdk installation package from the official website. 2. upload the jdk installation package to a virtual machine or server: scp file name (jdk-7u17-linux-x64.tar.gz) root @ virtual machine or server to be uploaded (210.56.194.45) 3. create a java directory in the/usr/local/directory: mkdir java 4. copy the file to the java Directory: cp file name (jdk-7u17-linux-x64.tar.gz)/usr/local/java 5. decompress the File: decompress the file first. Tar file: gzip-d file name (jdk-7u17-linux-x64.tar.gz) decompress the file into an executable file: tar-xvf file name (jdk-7u17-linux-x64.tar) 6. configure the jdk runtime environment: enter vi/etc/profile to open the file and add the following content: JAVA_HOME =/usr/local/java/jdk1.7.0 _ 17 CLASSPATH = $ JAVA_HOME/lib: $ JAVA_HOME/jre/lib PATH = $ PATH: $ JAVA_HOME/bin: $ JAVA_HOME/jre/bin export path classpath JAVA_HOME 7. Log out of logout 8. echo $ JAVA_HOME verify the java path Step 2: install mysql 1. download the mysql installation package from the official website. upload the mysql installation package to the VM or server: scp file name (mysql installation package) root @ virtual machine or server to be uploaded (210.56.194.45) 3. directly install mysql * in yum install mysql 4. after the installation is complete,/etc/init. d/mysqld start mysql 5. step 3: install tomcat 1. download the tomcat installation package from the official website. upload the jdk installation package to a virtual machine or server: scp file name (apache-tomcat-6.0.20.tar.gz) root @ virtual machine or server to be uploaded (210.56.194.45) 3. create a tomcat directory in the/usr/local/directory: mkdir Mcat 4. copy the file to the tomcat Directory: cp file name (apache-tomcat-6.0.20.tar.gz)/usr/local/tomcat 5. unzip the File: decompress it first. Tar file: gzip-d file name (apache-tomcat-6.0.20.tar.gz) decompress the file into an executable file: tar-xvf file name (apache-tomcat-6.0.20.tar) 6. start tomcat:/usr/local/tomcat/bin/startup. if sh succeeds, the following output is displayed: [root @ liaidong ~] #/Usr/local/tomcat/bin/startup. sh Using CATALINA_BASE:/usr/local/tomcat Using CATALINA_HOME:/usr/local/tomcat Using CATALINA_TMPDIR:/usr/local/tomcat/temp Using JRE_HOME: /usr/local/java/jdk1.7.0 _ 17 Step 4: install jira File 1. download the jira installation file 2. send the jira source file to the VM or server. decompress the source file to/opt/jira, and then install jira. configure 4. run the command opt/jira/atlassian-jira-5.2.11-standalone/bin/startup to start jira. sh start virtual machine opt/jira/atlassian-jira-5.2.11-standalone/bin/catalina. sh run to view the VM startup log 5. jira: server configured successfully after startup. modify the database in xml format: modify the port number and configure the database. Key modification: Description = JIRA \: COMMERCIAL CreationDate = ContactName = liaidong@awcloud.com jira. licenseEdition = ENTERPRISE ContactEMail = liaidong@awcloud.com Evaluation = false jira. licenseTypeName = COMMERCIAL jira. active = true licenseVersion = 2 MaintenanceExpiryDate = 2020-10-01 Organisation = test jira. numberOfUsers =-1 ServerID = BBRW-EU7O-A5TB-6T2U LicenseID = LID LicenseExpiryDate = 2099-06-01 PurchaseDate = 201 3-5-15 remarks: 1. if the upload process is interrupted, first delete the original uploaded content: the package name (jdk-7u17-linux-x64.tar.gz) Uploaded on rm-rf. log. syslog jdk-7u17-linux-x64.tar.gz to see if delete 2. if tomcat is started successfully, but the page cannot be accessed, run the ps-ef | grep tomcat command to check whether there is any tomcat process. The error in the log is similar to:/Tomcat5/bin/catalina. sh: line 308:/usr/java/jdk1.6.0 _ 22/bin/java: No such file or directory. This indicates that your tomcat was not started successfully for two reasons, one is that jdk is not correctly installed, and the other is that java-related environment variables are not correctly configured. 3. JIRA startup failed, JIRA has been locked. solution to the error: first look at the home path configured under the jira-application.properties of the jira application (under/atlassian-jira/WEB-INF/classes) as below jira. home =/opt/jira/atlassian-jira-5.2.11-standalone and find it under its directory. jira-home.lock. Delete and restart. 4. modify ports 8005 and 8080 of jira. in xml, I modified it to 8007 and 8099. the query Port is occupied by netstat-tln | grep port number lsof-I: port number kill-9 PID number 6. search. jira-home.lock file [root @ bogon ~] # Find/-name '. jira-home.lock'/data/www/jira_home/jiradata/. jira-home.lock

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.