Simplest Enterprise Continuous Integration Solutions

Sunday, November 7, 2010

JIRA: JIRA 4.2 on Fedora12

[root@fedora12 ~]# uname -a
Linux fedora12.local.lab 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686 i686 i386 GNU/Linux

# install MySQL Server

[root@fedora12 ~]# yum install mysql mysql-server
[root@fedora12 ~]# service mysqld start
[root@fedora12 ~]# chkconfig --level 2345 mysqld on

# configure MySQL root password

[root@fedora12 ~]# mysql -u root
[root@fedora12 ~]# mysqladmin -u root password ********

# create jiradb with character set utf8

[root@fedora12 ~]# mysql -u roor -p

Enter password: 
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 8
Server version: 5.1.47 Source distribution


Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL v2 license


Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.


mysql> CREATE DATABASE jiradb CHARACTER SET utf8;
Query OK, 1 row affected (0.00 sec)
mysql> GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP,ALTER,INDEX on jiradb.* TO 'jira'@'localhost' IDENTIFIED BY '********';
Query OK, 0 rows affected (0.00 sec)
mysql> FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.00 sec)
mysql> quit

# verify MySQL jiradb

[root@fedora12 ~]# mysql --user=jira --password=******** --database=jiradb
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 14
Server version: 5.1.47 Source distribution

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> exit
Bye

# update MySQL host access

[root@fedora12 ~]# mysql -u root -p mysql
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 14
Server version: 5.1.47 Source distribution

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> select user, host from user
mysql> update user set host='fedora12.local.lab' where user='jira';

# create jira user/group

sudo useradd jira

# JDK 1.6 - jdk-6u22-linux-i586-rpm.bin from http://java.sun.com/javase/downloads/index.jsp

[root@fedora12 ~]# cd ~/Downloads
[root@fedora12 Downloads]# chmod +x jdk-6u22-linux-i586-rpm.bin
[root@fedora12 Downloads]# ./ jdk-6u22-linux-i586-rpm.bin
[root@fedora12 Downloads]# rpm -i jdk-6u22-linux-i586.rpm
[root@fedora12 Downloads]# ln -s /usr/java/jdk1.6.0_22/bin/java /usr/bin/java
[root@fedora12 Downloads]# ln -s /usr/java/jdk1.6.0_22/bin/javac /usr/bin/javac
[root@fedora12 Downloads]# vi /etc/profile
[root@fedora12 Downloads]# export JAVA_HOME=/usr/java/jdk1.6.0_22

# install JIRA

[root@fedora12 ~]# mkdir -p /opt/jira
[root@fedora12 ~]# chown -R jira.jira /opt/jira
[root@fedora12 ~]# chmod -R 755 /opt/jira

# login as jira to extract atlassian-jira-enterprise-4.2-standalone.tar.gz

[root@fedora12 ~]# su - jira
[jira@fedora12 ~]$ cd /tmp
[jira@fedora12 ~]$ tar -xvf atlassian-jira-enterprise-4.2-standalone.tar.gz
[jira@fedora12 ~]$ cd
[jira@fedora12 ~]$ cp -rf /tmp/atlassian-jira-enterprise-4.2-standalone/* .
[jira@fedora12 ~]$ cd /opt/jira

# configure jira.home

[root@fedora12 ~]# cat atlassian-jira/WEB-INF/classes/jira-application.properties
jira.home = /home/jira

# start JIRA

[root@fedora12 ~]# /opt/jira/bin/startup.sh
[root@fedora12 ~]# tail -f /opt/jira/logs/catalina.out








# JIRA website


http://fedora12.local.lab:8080/secure/Dashboard.jspa







1 comment:

  1. If it's your first time withdrawing, you will also need to verify your identity or submit different required documentation. Some casinos also solely allow withdrawals to the same technique used for deposits, so positive you|ensure you|be positive to} know the foundations of your casino. Whether a casino is best for 1xbet you will depend on numerous elements, including game vary, bonuses and promotions, and so on.

    ReplyDelete