2742514705_fe8fd07b14

JIRA is a proprietary enterprise software product, developed by Atlassian, commonly used for bug tracking, issue tracking, and project management. JIRA is widely deployed within public open source projects and has over 12,000 customers in over 100 countries.

Visit my JIRA instance at http://bugs.waltercedric.com or http://jira.waltercedric.com&160;

This is now officially my new Tracker. (Thanks to Atlassian for giving me an open source license)

&160;

&160;

Installation

Better run these webapps with their own user for more security…

# groupadd jira
# useradd -g jira-c 'user for jira’ -m jira

# su – jira

Get the latest versions of the software

# wget http://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-enterprise-3.13.3-standalone.tar.gz

Unpack archive

# tar xvf atlassian-jira-enterprise-3.13.3-standalone.tar.gz

Define port

JIRA is shipped with a Tomcat instance, I slightly modify it as OpenSuse is already using a Tomcat that may be running (HTTP 8080- Admin 8005 – AJP 8009)

Worker.properties

Now I tell apache that there is a new AJP waiting on port 8020

# vi /etc/apache/worker.properties

worker.list=ajp13, teamcity, jira
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13

worker.teamcity.port=8010
worker.teamcity.host=localhost
worker.teamcity.type=ajp13

worker.jira.port=8020
worker.jira.host=localhost
worker.jira.type=ajp13

# rcapache2 restart

# netstat –an | grep 8020

Plesk

Add&160; 2 new sub domains, I have defined

Virtual host

create 2 vhost.conf files

  • /srv/www/vhosts/waltercedric.com/subdomains/jira/conf/vhost.conf
  • /srv/www/vhosts/waltercedric.com/subdomains/bugs/conf/vhost.conf

# vi /srv/www/vhosts/waltercedric.com/subdomains/bugs/conf/vhost.conf

ServerName bugs.waltercedric.com

ProxyPass /&160; ajp://bugs.waltercedric.com:8020/
<Proxy *>
&160;&160; Order Allow,Deny
&160;&160; Allow from all
</Proxy>

<Directory />
&160; Options FollowSymLinks
&160; AllowOverride None
</Directory>

# vi /srv/www/vhosts/waltercedric.com/subdomains/jira/conf/vhost.conf

ServerName jira.waltercedric.com

ProxyPass /&160; ajp://jira.waltercedric.com:8020/
<Proxy *>
&160;&160; Order Allow,Deny
&160;&160; Allow from all
</Proxy>

<Directory />
&160; Options FollowSymLinks
&160; AllowOverride None
</Directory>

To reread and include overridden vhost.conf, and tell plesk that you have create new vhost.conf, run at least once&160;
# /usr/local/psa/admin/sbin/websrvmng

Restart now apache

# rcapache2 restart

Change file to use MYSQL instead of HSQLDB

# vi /home/jira/atlassian-jira-enterprise-xxxxx-standalone/atlassian-jira/WEB-INF/classes/entityengine.xml

<datasource name="defaultDS" field-type-name="mysql"
&160; helper-class="org.ofbiz.core.entity.GenericHelperDAO"
&160; check-on-start="true"
&160; use-foreign-keys="false"
&160; use-foreign-key-indices="false"
&160; check-fks-on-start="false"
&160; check-fk-indices-on-start="false"
&160; add-missing-on-start="true"
&160; check-indices-on-start="true">
&160;&160;&160; <jndi-jdbc jndi-server-name="default" jndi-name="java:comp/env/jdbc/JiraDS"/>

Edit server.xml at

# vi /home/jira/atlassian-jira-enterprise-xxxxx-standalone/conf/server.xml

and add the new data source

<Engine name="Catalina" defaultHost="localhost">
&160;&160;&160;&160;&160; <Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true">

&160;&160;&160;&160;&160;&160;&160; <Context path="" docBase="${catalina.home}/atlassian-jira" reloadable="false">
&160;&160;&160;&160;&160;&160;&160;&160;&160; <Resource name="jdbc/JiraDS" auth="Container" type="javax.sql.DataSource"
&160;&160;&160;&160;&160;&160;&160;&160;&160;&160;&160; username="myuser"
&160;&160;&160;&160;&160;&160;&160;&160;&160;&160;&160; password="itspassword"
&160;&160;&160;&160;&160;&160;&160;&160;&160;&160;&160; driverClassName="com.mysql.jdbc.Driver"&160;&160;&160;&160;&160;&160;&160;&160;&160;&160;&160;
&160;&160;&160;&160;&160;&160;&160;&160;&160;&160;&160; url="jdbc:mysql://localhost/dbschema?autoReconnect=true&amp;useUnicode=true&amp;characterEncoding=UTF8"&160;&160;&160;&160;&160;&160;&160;&160;&160;&160;&160;
&160;&160;&160;&160;&160;&160;&160;&160;&160;&160;&160; maxActive="20"
&160;&160;&160;&160;&160;&160;&160;&160;&160;&160;&160; validationQuery="select 1" />

Unpack MYSQL driver

only the jar from this zip http://dev.mysql.com/downloads/connector/j/5.1.html) to /home/jira/atlassian-jira-enterprise-xxxxx-standalone/common/lib

Start JIRA

# /home/jira/atlassian-jira-enterprise-3.13.3-standalone/bin/startup.sh

comments powered by Disqus

You might like also

Display the short GIT version hash as build identifier in TeamCity
TeamCity is a Continuous integration and build management server from JetBrains. As the first build step, create a custom script that reads %build.number%, and uses service messages to append the short GIT hash programmatically. Here’s an example using a bash script pasted right into the TeamCity GUI (Runner type: Command Line, Run: Custom Script): GIT_HASH=%build.vcs.number% GIT_HASH_SHORT=$ echo "#teamcity[buildNumber '#$']" &160; …
1812 Days ago
Latest JetBRAINS Teamcity 5 plugin for the Tux Droid
I did refresh the tuxdroid teamcity plugin project a bit on request to Jasper Moltke Nygaard (Danmark ) TeamCity is a Java-based build management and continuous integration server from JetBrains, creators of IntelliJ IDEA and ReSharper With this plugin you can notify your Tux Droid with your TeamCity build results. After login you can find the new notificator Tux Droid in your notification settings. You need your Tux Droid server IP and port to connect your Tux to TeamCity. After …
3134 Days ago
Running Selenium Grid and a set of Remote control as NT services
Selenium has various projects that can be combined with each other to create a robust testing environment. Selenium IDE: a Firefox add-on to record and playback tests in Firefox. Selenium Remote Control: a client/server system to control web browsers locally or on other computers, using almost any programming language and testing framework. Selenium Grid: transparently distribute your tests on multiple machines so that you can run your tests in parallel, cutting down the time required for running in-browser test suites. …
3153 Days ago
Install Atlassian Confluence in 15 minutes
In this small post, you will learn how to install Atlassian Confluence in no more than 15 minutes. It do not replace the online installations manual (The Confluence Installation Guide is for people who are installing Confluence for the first time. Check the requirements and supported platforms, then download and install Confluence), but mainly complement it, with some of the best Linux practices (ADDED points).         How to install Atlassian Confluence in 15 minutes Create user and …
3272 Days ago
No Thumbnail was found
Amazon EC2 and Virtual Agents Take avdantage of cloud computing with TeamCity by putting Build Agents on Amazon EC2. After your Build Agents' AMIs (Amazon Machine Images) are registered, the TeamCity server will account for those virtual machines in its build scheduling and will automatically do a suspend/resume job on them, based on the load and build queue status. Better Support for Maven Version 5.0 has many Maven support improvements under the hood. These include the creation of Maven-based build …
3333 Days ago
Update JetBrains TeamCity in one click
&160; A small script developed to upgrade TeamCity with no or less effort! a very simple script, easily extensible. “TeamCity is a continuous integration and build management system. With TeamCity, you can set up a build server within minutes and enjoy out of the box continuous unit testing, code quality analysis, and early reporting on build problems — even without leaving your favorite IDE. TeamCity offers a gentle learning curve, so you can quickly improve your release management practices by …
3460 Days ago
Adding Google analytics to Atlassian Bamboo
As I found no better tutorial on Internet, here is a very very short how to add Google analytics to Atlassian Bamboo, it require a bit of hacking, and these kind of changes will be lost after each upgrade of Bamboo.. Edit the file webapps/ROOT/start.ftl Now put the usual code you get after creating a new analytics profile just before the </body> …
3548 Days ago
Continuous integration server Bamboo up and running
My Bamboo continuous integration server is now fully functional and available at&160; http://bamboo.waltercedric.com/ &160; &160; &160; Remember Atlassian is providing free license for Open Source Projects: Atlassian supports and believes in the Open Source movement - Bamboo utilizes a number of good Open Source components, and Atlassian developers are committers on a large number of Open Source projects. To give back to the open source community (and hopefully improve the quality of those projects!), Bamboo is free for any Open …
3551 Days ago
TeamCity 4.5 up and running
Today JetBrains announces the public availability of TeamCity 4.5, it's award-winning distributed build management and continuous integration tool. With TeamCity, you can set up a build server for your projects within minutes and enjoy out of the box continuous unit testing, code quality analysis, and early reporting on build problems - even without leaving your favorite IDE. TeamCity offers a gentle learning curve, so you can quickly improve your release management practices by gradually adopting its advanced features and capabilities. …
3554 Days ago
Installing TeamCity standalone on OpenSuse 11.x/ Plesk 9
After fighting many days.. with their container versions (many webapps in the same tomcat with mod_proxy, mod_proxy_ajp), I did install JetBrains TeamCity, Atlassian Jira and Bamboo as standalone on my server. TeamCity is a Java-based build management and continuous integration server from JetBrains, creators of IntelliJ IDEA and ReSharper. &160; What will happen next? TuxDroid for Teamcity plugin will be build there (MAVEN2) the first component for Joomla! will be build there as well (using Maven 4 PHP) …
3561 Days ago