Linux 安装jira4.4
注意:安装时占用内存特别大,至少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]
拥有帝国一切,皆有可能。欢迎访问phome.net #按回车
#让 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 ro |