Linux平台部署jira
作者:网络转载 发布时间:[ 2014/4/21 15:03:18 ] 推荐标签:测试管理工具 软件测试工具
环境:Linux+jdk+atlassian-jira-enterprise-4.0.2-standalone+mysql
一、安装、配置jdk
1、安装jdk
chmod +x jdk-6u21-linux-i586.bin
./jdk-6u21-linux-i586.bin
mv jdk1.6.0_21 /usr/local/jdk
2、设置jdk环境
vi /etc/profile
JAVA_HOME=/usr/local/jdk
JRE_HOME=/usr/local/jdk/jre
CLASSPATH=.:$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/dt.jar
PATH=$JAVA_HOME/bin:$PATH
export JAVA_HOME
export JRE_HOME
export PATH
export CLASSPATH
source /etc/profile
|
二、安装mysql、及相应配置
mysql安装步骤忽略。下面说下部署jira的前mysql上的相关设置
创建jiradb库 mysql> create database jiradb character set utf8;
添加一个用户,名为jira_user密码为1qaz@WSX,并赋予连接权限
mysql> grant all privileges on *.* to 'jira_user'@'%' identified by '1qaz@WSX ' with grant option;
mysql> grant all privileges on *.* to ‘jira_user’@localhost identified by '1qaz@WSX ' with grant option;
mysql> flush privileges;
三、安装jira
1)tar zxvf atlassian-jira-enterprise-4.0.2-standalone.tar.gz
mv atlassian-jira-enterprise-4.0.2-standalone /usr/local/jira
2) 解压mysql-connector-java-5.0.8.tar.gz,
将目录里的mysql-connector-java-5.0.8-bin.jar 文件拷到 /usr/local/jira/common/lib/ 目录下
3) 编辑conf/server.xml
<Server port="8015" shutdown="SHUTDOWN">
<Service name="Catalina">
<Connector port="8090"
<Context path="" docBase="${catalina.home}/atlassian-jira" reloadable="false">
<Resource name="jdbc/JiraDS" auth="Container" type="javax.sql.DataSource"
username="jira_user"
password="1qaz@WSX"
driverClassName="com.mysql.jdbc.Driver" url="jdbc:mysql://192.168.170.102/jiradb"
|
相关推荐
更新发布
功能测试和接口测试的区别
2023/3/23 14:23:39如何写好测试用例文档
2023/3/22 16:17:39常用的选择回归测试的方式有哪些?
2022/6/14 16:14:27测试流程中需要重点把关几个过程?
2021/10/18 15:37:44性能测试的七种方法
2021/9/17 15:19:29全链路压测优化思路
2021/9/14 15:42:25性能测试流程浅谈
2021/5/28 17:25:47常见的APP性能测试指标
2021/5/8 17:01:11