Benutzer-Werkzeuge

Webseiten-Werkzeuge


freebsd:jetty

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Nächste Überarbeitung
Vorhergehende Überarbeitung
freebsd:jetty [2014/03/06 13:32]
idefix angelegt
freebsd:jetty [2014/03/09 14:35] (aktuell)
idefix
Zeile 1: Zeile 1:
 ====== Jetty ====== ====== Jetty ======
  
 +===== Install Jira Recommended Install =====
 +Download and extract:
 +<​code>​
 +wget http://​www.atlassian.com/​software/​jira/​downloads/​binary/​atlassian-jira-6.2.tar.gz
 +tar xzvf atlassian-jira-6.2.tar.gz
 +cd atlassian-jira-6.2-standalone
 +cp bin/*.jar atlassian-jira/​WEB-INF/​lib/​
 +mkdir -p /​usr/​local/​www/​jira.freebus.org/​home
 +chown www /​usr/​local/​www/​jira.freebus.org/​home
 +</​code>​
 +Edit the file atlassian-jira/​WEB-INF/​classes/​jira-application.properties
 +<​code>​
 +jira.home = /​usr/​local/​www/​jira.freebus.org/​home
 +</​code>​
 +
 +Copy the jira application to the jetty directory:
 +<​code>​
 +cp -a atlassian-jira /​usr/​local/​jetty/​webapps/​atlassian-jira-freebus
 +</​code>​
 +
 +===== Install Jira WAR-Installation =====
 +You have to replace the path atlassian-jira-6.2-war/​ with the correct full path.
 +
 +Download Jira:
 +<​code>​
 +wget http://​www.atlassian.com/​software/​jira/​downloads/​binary/​atlassian-jira-6.2-war.tar.gz
 +</​code>​
 +Extract it:
 +<​code>​
 +tar xzvf atlassian-jira-6.2-war.tar.gz
 +</​code>​
 +Edit atlassian-jira-6.2-war/​edit-webapp/​WEB-INF/​classes/​jira-application.properties
 +<​code>​
 +jira.home = /​usr/​local/​www/​jira.freebus.org/​home
 +</​code>​
 +Create the directory and adapt permissions:​
 +<​code>​
 +mkdir -p /​usr/​local/​www/​jira.freebus.org/​home
 +chown www !$
 +</​code>​
 +Create the war file:
 +<​code>​
 +cd atlassian-jira-6.2-war
 +./build.sh
 +</​code>​
 +
 +Install required mysql java library:
 +<​code>​
 +cd /​usr/​ports/​databases/​mysql-connector-java
 +make install
 +</​code>​
 +
 +Load the war file with jetty:
 +<​code>​
 +ln -s atlassian-jira-6.2-war/​dist-generic/​atlassian-jira-6.2.war /​usr/​local/​jetty/​webapps/​atlassian-jira-freebus.war
 +/​usr/​local/​etc/​rc.d/​jetty restart
 +</​code>​
freebsd/jetty.1394109121.txt.gz · Zuletzt geändert: 2014/03/06 13:32 von idefix