Centos 6.5 安装 Atlassiana Crowd+JIRA+Confluence(Wiki)之三 JIRA篇(JIRA 6.3.6)

时间:2023-01-01 10:26:11

安装前需要准备的软件  

  1. jdk-7u75-linux-x64.tar.gz

  2. atlassian-jira-6.3.6.tar.gz

  3. JIRA-6.3.3-language-pack-zh_CN.jar

  4. mysql-connector-java-5.1.25-bin.jar

  5. Crack_Jira_6.3.zip

 

安装步骤

  • 安装操作系统

  • 设置主机名和IP地址

  • 设置时间同步

  • 安装JDK程序

  • 安装JIRA 程序

详细安装 

设置主机名

vi /etc/sysconfig/network

Centos 6.5 安装 Atlassiana Crowd+JIRA+Confluence(Wiki)之三 JIRA篇(JIRA 6.3.6)

vi /etc/sysconfig/network-scripts/ifcfg-eth0

Centos 6.5 安装 Atlassiana Crowd+JIRA+Confluence(Wiki)之三 JIRA篇(JIRA 6.3.6)

保存配置文件

重启计算机 

设置时间同步 

      rm -rf /etc/localtime 
      yum install -y ntpdate 
      ntpdate us.pool.ntp.org 
      ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

创建 相关目录

   cd /usr/local/

   mkdir soft

   mkdir -p date/JIRA

  mkdir java

Centos 6.5 安装 Atlassiana Crowd+JIRA+Confluence(Wiki)之三 JIRA篇(JIRA 6.3.6)

上传软件到soft目录下

Centos 6.5 安装 Atlassiana Crowd+JIRA+Confluence(Wiki)之三 JIRA篇(JIRA 6.3.6)


安装 JDK 

 解压 JDK 文件  

 tar zxvf  jdk_7u75linux-x64.tar.gz -C /usr/local/java/

 vim /etc/profile

在文件最下方  插入以下内容

export JAVA_HOME=/usr/local/java/jdk1.7.0_75
export JRE_HOME=/usr/local/java/jdk1.7.0_75/jre
export PATH=$PATH:/usr/local/java/jdk1.7.0_75/bin
export CLASSPATH=./:/usr/local/java/jdk1.7.0_75/lib:/usr/local/java/jdk1.7.0_75/jre/lib



Centos 6.5 安装 Atlassiana Crowd+JIRA+Confluence(Wiki)之三 JIRA篇(JIRA 6.3.6)


保存文件

执行以下命令 

update-alternatives --install /usr/bin/java java /usr/local/java/jdk1.7.0_75/bin/java 60 
update-alternatives --config javaCentos 6.5 安装 Atlassiana Crowd+JIRA+Confluence(Wiki)之三 JIRA篇(JIRA 6.3.6)













创建数据库

 连接 数据库服务器 创建 软件所需的数据库 

mysql -u root -p 

输入密码 进入数据库

Centos 6.5 安装 Atlassiana Crowd+JIRA+Confluence(Wiki)之三 JIRA篇(JIRA 6.3.6)


输入以下命令创建数据库

create database jiradb character set utf8 collate utf8_bin;

grant all on jiradb.* to jira@"%" identified by"jira";

grant all on jiradb.* to jira@"localhost" identified by"jira";

flush privileges;

exit

JIRA 安装

 解压主程序文件 atlassian-jira-6.3.6.tar.gz

 tar -zxvf atlassian-jira-6.3.6.tar.gz -C /usr/local/

ln -s atlassian-jira-6.3.6-standalone/ JIRA

指定程序 数据存放目录


Centos 6.5 安装 Atlassiana Crowd+JIRA+Confluence(Wiki)之三 JIRA篇(JIRA 6.3.6)

删除/usr/local/jira/conf/server.xml文件里面一条记录

vim /usr/local/jira/conf/server.xml

        minSpareThreads="25"

保存配置文件 

复制语言包文件与数据库驱动文件到相应的位置 

  1. JIRA-6.3.3-language-pack-zh_CN.jar 
    复制到/usr/local/jira/lib/   
    cp JIRA-6.3.3-language-pack-zh_CN.jar  /usr/local/jira/lib

  2. mysql-connector-java-5.1.25-bin.jar
    复制到 /usr/local/jira/lib/

    cp mysql-connector-java-5.1.25-bin.jar /usr/local/jira/lib/

启动 JIRA 软件 

     cd /usr/local/jira/bin/

     ./start_jira.sh

Centos 6.5 安装 Atlassiana Crowd+JIRA+Confluence(Wiki)之三 JIRA篇(JIRA 6.3.6)

打开浏览器 输入地址 http://domain:8080 

Centos 6.5 安装 Atlassiana Crowd+JIRA+Confluence(Wiki)之三 JIRA篇(JIRA 6.3.6)

Centos 6.5 安装 Atlassiana Crowd+JIRA+Confluence(Wiki)之三 JIRA篇(JIRA 6.3.6)

Centos 6.5 安装 Atlassiana Crowd+JIRA+Confluence(Wiki)之三 JIRA篇(JIRA 6.3.6)

Centos 6.5 安装 Atlassiana Crowd+JIRA+Confluence(Wiki)之三 JIRA篇(JIRA 6.3.6)

Centos 6.5 安装 Atlassiana Crowd+JIRA+Confluence(Wiki)之三 JIRA篇(JIRA 6.3.6)

Centos 6.5 安装 Atlassiana Crowd+JIRA+Confluence(Wiki)之三 JIRA篇(JIRA 6.3.6)

Centos 6.5 安装 Atlassiana Crowd+JIRA+Confluence(Wiki)之三 JIRA篇(JIRA 6.3.6)

Centos 6.5 安装 Atlassiana Crowd+JIRA+Confluence(Wiki)之三 JIRA篇(JIRA 6.3.6)

Centos 6.5 安装 Atlassiana Crowd+JIRA+Confluence(Wiki)之三 JIRA篇(JIRA 6.3.6)

Centos 6.5 安装 Atlassiana Crowd+JIRA+Confluence(Wiki)之三 JIRA篇(JIRA 6.3.6)

atlassian-extras-2.2.2.jar 复制  /usr/local/jira/atlassian-jira/WEB-INF/lib 覆盖

atlassian-universal-plugin-manager-plugin-2.17.4.jar 复制到  /usr/local/jira/lib/

打开 jira_key.txt 

内容  如下 

Description=JIRA: Commercial,
CreationDate=2017-01-22, 修改成当前安装日期 
jira.LicenseEdition=ENTERPRISE,
Evaluation=false,
jira.LicenseTypeName=COMMERCIAL,
jira.active=true,
licenseVersion=2,
MaintenanceExpiryDate=2099-12-31,
Organisation=saper,
SEN=SEN-L4140432,
ServerID=BVQA-MV0B-21MB-5YPM,
jira.NumberOfUsers=-1,
LicenseID=LIDSEN-L4140432,
LicenseExpiryDate=2099-12-31,
PurchaseDate=2017-01-22 修改成当前安装日期

Centos 6.5 安装 Atlassiana Crowd+JIRA+Confluence(Wiki)之三 JIRA篇(JIRA 6.3.6)

Centos 6.5 安装 Atlassiana Crowd+JIRA+Confluence(Wiki)之三 JIRA篇(JIRA 6.3.6)

Centos 6.5 安装 Atlassiana Crowd+JIRA+Confluence(Wiki)之三 JIRA篇(JIRA 6.3.6)

Centos 6.5 安装 Atlassiana Crowd+JIRA+Confluence(Wiki)之三 JIRA篇(JIRA 6.3.6)

Centos 6.5 安装 Atlassiana Crowd+JIRA+Confluence(Wiki)之三 JIRA篇(JIRA 6.3.6)

Centos 6.5 安装 Atlassiana Crowd+JIRA+Confluence(Wiki)之三 JIRA篇(JIRA 6.3.6)


Centos 6.5 安装 Atlassiana Crowd+JIRA+Confluence(Wiki)之三 JIRA篇(JIRA 6.3.6)

本文出自 “王亚林” 博客,请务必保留此出处http://remover.blog.51cto.com/10472846/1947448