05 Aug 2014

Getting started with Apache Syncope on Debian

Written by ilgrosso


With SYNCOPE-535 Apache Syncope 1.2.0 is able to generate .deb packages suitable for usage with Debian GNU / Linux or Ubuntu.

While waiting for the official release to get out, it's anyway quite easy to take a sneak preview:


Download the latest .deb packages from the ASF snapshots repository:


Install Apache Tomcat 7 and PostgreSQL

sudo apt-get install tomcat7 libpostgresql-jdbc-java postgresql postgresql-client

Use the PostgreSQL JDBC driver with Tomcat

sudo ln -s /usr/share/java/postgresql-jdbc4.jar /usr/share/tomcat7/lib/

Replace JAVA_OPTS in /etc/default/tomcat7 with the following:

JAVA_OPTS="-Djava.awt.headless=true -Dfile.encoding=UTF-8 -server -Xms1536m -Xmx1536m -XX:NewSize=256m -XX:MaxNewSize=256m -XX:PermSize=256m -XX:MaxPermSize=256m -XX:+DisableExplicitGC"


Stop Tomcat

sudo service tomcat7 stop

Install Apache Syncope core and console via the downloaded packages

sudo dpkg -i syncope-deb-core-1.2.0-XXXX.deb syncope-deb-console-1.2.0-XXXX.deb

Create a database for usage with Apache Syncope

sudo SYNCOPE_USER="syncope" SYNCOPE_PASS="syncope" sh /usr/share/apache-syncope/dbinit-postgresql.sh

Start Tomcat

sudo service tomcat7 start


Wait some time depending on the stregth of your hardware and then point your favorite browser to http://localhost:9080/syncope-console/ - you're all set.


« Return