Category Archives: Computer engineering

YouTrack4 installation on Ubuntu 12.04

YouTrack4 seems free alternative to Atlassian’s JIRA. I use JIRA on production projects and on first sight it seems far better than YouTrack4. The missing feature I immediately noticed is task time tracking and few other minor things.

Both YouTrack4 and JIRA can be hosted, but dowload versions are cheaper. The minimum version for both has upper limit defined by 10 users. YouTrack4 version is free, but JIRA costs 10$ (still very little). All bigger packages cost more money – see pricing pages.

 

As I will soon start a simple home project, I gave YouTrack4 a try. Further in this post I will describe hot to install it as a service on Ubuntu 12.04.

STEP 1: Download the complete JAR bundle from http://www.jetbrains.com/youtrack/download/get_youtrack.html.

STEP 2: Run bundle and test YouTrack4.

I copied the downloaded JAR to ~/startup/youtrack-4.02/youtrack-4.0.2.jar. Then I created script ~/startup/runYoutrack4.sh, which starts integrated Jetty webserver on port 8082:

#!/bin/bash
cd /home/slavkoz/startup/youtrack-4.0.2
java -Xmx512m -Djava.awt.headless=true -jar youtrack-4.0.2.jar 8082

STEP 3: Run script runYoutrack4.sh as root. If you can use YouTrack4 at http://localhost:8082, then continue.

STEP 4: Create init script /etc/init.d/youtrack4:

#!/bin/sh
### BEGIN INIT INFO
# Provides:          youtrack4
# Required-Start:    $remote_fs $syslog
# Required-Stop:     $remote_fs $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Start daemon at boot time
# Description:       Enable service provided by daemon.
### END INIT INFO
#############################################################
# Init script for YouTrack4
#############################################################
# Defaults
SCRIPTNAME=/home/slavkoz/startup/runYouTrack4.sh
case "$1" in
start)
sudo $SCRIPTNAME start
;;
*)
echo "Usage: $0 start" >&2
exit 3
;;
esac
exit 0

STEP 5: Test service by issuing the command /etc/init.d/youtrack start. If YouTrack4 starts, continue.

STEP 6: Set service to automatically start at system startup using command:

sudo update-rc.d youtrack4 defaults

STEP 7: If everything went well, restart yout computer and youtrack should be accessible at http://localhost:8082.

Enjoy managing your projects …

Optilab Tech Talk – “Ontology as NoSQL Database Schema”

Today I presented a HOT topic about Ontologies and NoSQL as a Tech Talk at Optilab d.o.o.. At this company I work as a Junior Researcher and Tech Talks are our internal lectures to other co-workers. Typical lessons normally consist of something that one of us works on or he would just like to share knowledge.

The main problem I tried to address in my talk was:

  • WHAT NoSQL IS MISSING FOR GENERAL USE
  • HOW ONTOLOGY CAN HELP SOLVE THE PROBLEM

I see an ontology as an additional layer over NoSQL database. It can provide nice runtime-customizable schema and SPARQL/Update language to easily manipulate data. I believe this is especially important when combining data from different sources – after some time no one will know what relation or concept types the database contains. Another thing is SPARQL support – through an endpoint a user can run some analysis. Furthermore, when having data represented by an ontology, we can quickly change the database to another appropriate store, which cannot be so easily done between raw NoSQL – for example: try to straightforwardly transfer data from key-value to graph data store :).

FRI Summer School – “How to make your own Facebook”

I attended FRI Summer School “How to make your own Facebook” from 9th-13th July 2012.

The school was mainly by best Slovene open-source developers: Aleš Justin, Marko Lukša, Tomaž Cerar and Marko.

Initial project is available on GitHub: https://github.com/openblend. Throughout the week they presented us programming in Java EE on JBoss server 7. At first they introduced us Git versioning system, then IntellijIDEA IDE, Maven build tool. Lessons continued with CDI, JSF, Servlets, EJB3, JPA and integrated H2 SQL data store, debugging and testing techniques and lots of tricks…

At the end I also published app on OpenShift. This is scalable PaaS with three free instances (JBoss, Database, Other environment) for your own application.

The ones who have stayed at lessons until the end got free ticket for OpenBlend conference. This is Slovene Java Programming conference that will happen on 20th September 2012. I hope I will have time to attend to it.

Justin also intrduced us his work on a new language Ceylon (runs on JVM) and Google AppEngine implementation for JBoss – CapeDwarf. These are some new toys I need to try.