linux安装jira4.4

发布时间:2012-05-11 15:41:47

Linux jira4.4

(一)安装jira4.4

从官网下载atlassian-jira-4.4-x64.bin安装文件

[root@jira local]#chmod 755 atlassian-jira-4.4-x64.bin

[root@jira local]# ./atlassian-jira-4.4-x64.bin

出现提示:

Unpacking JRE ...

Starting Installer ...

This will install JIRA 4.4 on your computer. #安装jira4.4在你的机器上。

OK [o, Enter], Cancel [c] # 按回车确认安装

If JIRA is already installed on this machine, please read the following information carefully.

Please choose between creating a new JIRA installation or upgrading an existing JIRA installation.

#如果j ira已经安装在这台机器,请阅读以下资料仔细。请选择创建一个新的j ira之间安装或升级现有的jira安装。

Create a new JIRA installation. [1, Enter], Upgrade an existing JIRA installation. [2] #直接回车,安装新的

#创建一个新的j ira安装[1],更新现有j ira安装[2]。

Where should JIRA 4.4 be installed? #安装路径。本人安装在/usr/local/jira ,在后面输入/usr/local/jira ,按回车;

[/opt/atlassian/jira]

/usr/local/jira

Default location for JIRA data #存放数据路径,本人安装在/usr/local/jira_home,在后面输入/usr/local/jira_home ,按回车;

[/var/atlassian/application-data/jira]

/usr/local/jira_home

Configure which ports JIRA will use.

JIRA requires two TCP ports that are not being used by any other

applications on this machine. The HTTP port is where you will access JIRA

through your browser. The Control port is used to Startup and Shutdown JIRA.

#配置一种端口需要两个TCP端口j ira不被任何其他应用占用HTTP端口,你将通过浏览器访问j ira

Use default ports (HTTP: 8080, Control: 8005) - Recommended [1, Enter], Set custom value for HTTP and Control ports [2]

#使用默认端口(HTTP:8080 ,控制:8005)——建议[1]],

JIRA can be run in the background.

You may choose to run JIRA as a service, which means it will start

automatically whenever the computer restarts.

Install JIRA as Service?

Yes [y, Enter], No [n] #按回车

# j ira可以在后台运行。当计算机重启时自动启动jira程序

Setup has finished installing JIRA 4.4 on your computer.

JIRA 4.4 can be accessed at http://localhost:8080

Finishing installation ...

#安装jira4.4成功

4.4 j ira可以被存取http://localhost:8080 -

2安装mysql

创建用户:

[root@pcl apache2]# groupadd mysql

[root@pcl apache2]# useradd -g mysql mysql

解压:

[root@pcl lamp]# tar xvf mysql-5.1.37.tar.gz -C /var/tmp/

目录:

[root@pcl lamp]# cd /var/tmp/mysql-5.1.37/

设置编译环境并指定目录:

[root@pcl mysql-5.1.37]# ./configure --prefix=/usr/local/mysql

编译和安装:

[root@pcl mysql-5.1.37]# make && make install

基本设置:

[root@pcl mysql-5.1.37]# cp support-files/my-medium.cnf /etc/my.cnf

[root@pcl mysql-5.1.37]# cd /usr/local/mysql/

[root@pcl mysql]# chown -R mysql .

[root@pcl mysql]# chgrp -R mysql .

[root@pcl mysql]# bin/mysql_install_db --user=mysql

[root@pcl mysql]# chown -R root .

[root@pcl mysql]# chown -R mysql var

mysqld添加为系统服务,添加好以后,就可以分别使用startstoprestartd的参数的service命令来启动、关闭及重新启动mysqld服务了

[root@jira mysql-5.1.37]# cp support-files/mysql.server /etc/init.d/mysqld

[root@jira mysql-5.1.37]# chmod +x /etc/init.d/mysqld

[root@jira mysql-5.1.37]# chkconfig --add mysqld

[root@jira mysql-5.1.37]# chkconfig mysqld on

设置MySQL程序的执行路径

[root@jira mysql-5.1.37]# export PATH=$PATH:/usr/local/mysql/bin

[root@jira mysql-5.1.37]# echo "PATH=$PATH:/usr/local/mysql/bin" >> /etc/profile

启动服务:

[root@pcl mysql]# /usr/local/mysql/bin/mysqld_safe --user=mysql &

进入mysql

/usr/local/mysql/bin/mysql uroot p

输入下面命令:

mysql> create database jiradb character set utf8;

Query OK, 1 row affected (0.00 sec)

mysql> grant all on jiradb.* to 'jira'@'localhost' identified by 'jira';

Query OK, 0 rows affected (0.00 sec)

mysql> flush privileges;

Query OK, 0 rows affected (0.00 sec)

3)浏览器配置

数据库

破解:

http://tonyty163.blog.51cto.com/721698/463101 参考

http://down.51cto.com/data/241953 下载注册机jiar-crack

在装好了java linux图形界面或windows机上启动注册机。

windows机器上运行,例如:

D:\DownLoads\Atlassian.Crowd.v2.1.0.Incl.Keygen.and.Patch-iNViSiBLE.th3scene.com\iNViSiBLE>java -jar crowd_keygen.jar

linux图形界下运行:

将解压好的jiar4.2.1-crack上传到图形界面的服务器上,运行注册机:

./ keygen.sh

会出现一个注册机

(1)

输入name 和id号,点击.patch

然后把jiar4.2.1-crackatlassian-extras-2.6.jar导入

注册机会将原来的jar包改名为atlassian-extras-2.6.bak

将新生成的atlassian-extras-2.6.jar传回服务器

停止jira服务

Service jira stop

再拷贝覆盖原来的atlassian-extras-2.6.jar文件

cp atlassian-extras-2.2.2.jar /usr/local/jira/atlassian-jira/WEB-INF/lib/atlassian-extras-2.2.2.jar

2

启动服务后,

Service jira start

再点击注册机中gen.将生产的key复制进行注册。

汉化:

http://www.confluence.cn/pages/viewpage.action?pageId=11075587

1. 下载插件文件

2. 对于JIRA4.3及以上版本,将文件名称修改为 jira-lang-zh_CN-JIRA版本号.jar
如果你使用的是JIRA4.3.1, 就将文件名修改为

3. 将插件复制到JIRA安装路径下 WEB-INF/lib

4. 重新启动JIRA服务

停止jira服务

Service jira stop

[root@hky jira]# locate jira-lang-zh_CN

/usr/local/jira/atlassian-jira/WEB-INF/lib/jira-lang-zh_CN-4.3.3.jar

[root@hky jira]# cp jira-lang-zh_CN-4.3.3.jar /usr/local/jira/atlassian-jira/WEB-INF/lib/

启动服务后,

Service jira start

8080端口在80端口上访问:

iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8080 

因为本人在修改配置文件后还是无法从80端口访问,所以只能采用防火墙策略。

配置邮件测试时开启25端口,否则测试失败,报错。

linux安装jira4.4

相关推荐