JIRA的安装与配置(Oracle数据库)
原 文:平凡岁月:jira的安装(oracle数据库)http://www.trucy.org/blog/ray/archives/000927.html
以下是基于原文的补充完善后的内容:
JIRA是一个优秀的问题(or bugs,task,improvement,new feature )跟踪及管理软件。
它由Atlassian开发,采用J2EE技术.它正被广泛的开源软件组织,以及全球著名的软件公司使用,它堪称是J2EE的Bugzilla。
JIRA提供了全面的功能,界面十分友好,可用性以及可扩展性方面都十分出色,如果购买商业版许可,还可以得到JIRA的源码(在开发许可协议下可以定制自己的JIRA系统)。
今天找到一篇文章,写的是jira的安装,但是数据库是MS SQL2000,由于本机,只好另外学怎么链接oracle数据库。
注意:安装JIRA的机器要安装oracle客户端。
使用版本:JIRA 3.6 下载:http://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-enterprise-3.6-standalone.zip
一、安装
1. 下载后解压,由于解压出的文件夹名称过长,所以修改文件夹名称为:JIRA_3.6,以下统一用此名称;
2. 修改 JIRA_3.6\conf\server.xml 文件中的配置,尤其要注意URL,如下:
a. driverClassName://oracle数据库的驱动
driverClassName="oracle.jdbc.driver.OracleDriver"
b. url:
url="jdbc:oracle:thin:@ptserver:1521:jiradb"
//oracle数据库的连接。@之前的不要更改,后面的第一个是oracle安装机器名,1521不用变,最后一个是数据库名。
c.username:
username="jirauser"
&nb
相关文档:
软件下载
到http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/winsoft.html下载如下三个包:
instantclient-basic-win32-11.1.0.7.0.zip
instantclient-jdbc-win32-11.1.0.7.0.zip
instantclient-sqlplus-win32-11.1.0.7.0.zip
将这三个包分别解压,然后内容放到D:\instantclient_11_1下
......
一. 有关RAC的相关概念
RAC:全称是Real Application Cluster。RAC并非是个新技术,其前身叫OPS(Oracle Parallel Server),从9i开始才改名叫RAC,oracle Data Guard在9i之前叫做Standby
该体系实现了多个实例同时访问和管理同一数据库,多个实例可以存在于不同节点,也可以在相同的节 ......
层次化查询:
select [level],colomn,...from table
[where where_clause]
[ [start with start_condition] [connect by prior prior_condition]&nbs ......
表空间:
Oracle的UNDOTBS01.DBF文件太大的解决办法
1、.禁止undo tablespace自动增长
alter database datafile 'full_path\undotbs01.dbf' autoextend off;
2.-- 创建一个新的小空间的undo tablespace
create undo tablespace undotBS2 datafile ......
select column_name from all_cons_columns cc
where owner='SSH' --SSH为用户名称,要注意大小写
and table_name='SYS_DEPT' --SYS_DEPT为表名,注意大小写
and exists (select 'x' from all_constraints c
where c.owner = cc.owner
and c.constraint_name = cc.constraint_name
and c.constraint_type ='P'
......