Linux 安装jira4.4-破解+汉化

 Linux 安装jira4.4java

 注意:安装时占用内存特别大,至少2G内存,不然会由于内存太小没法正常启动,出现java程序错误。
 
(一)安装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添加为系统服务,添加好之后,就能够分别使用start、stop、restartd的参数的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)
 
 
破解:
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-crack的atlassian-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复制进行注册。
 
汉化:
 
  1. 下载插件文件
  2. 对于JIRA4.3及以上版本,将文件名称修改成 jira-lang-zh_CN-JIRA版本号.jar
    若是你使用的是JIRA4.3.1, 就将文件名修改成

jira-lang-zh_CN-4.3.1.jar

  1. 将插件复制到JIRA安装路径下 WEB-INF/lib
  2. 从新启动JIRA服务

208 kB
2011-03-20 17:55
JIRA 4.3x 中文语言包

 
中止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端口,不然测试失败,报错。
相关文章
相关标签/搜索
本站公众号
   欢迎关注本站公众号,获取更多信息