Version warning

The content below if for Apache Syncope 1.2 - for later versions the Getting Started guide is available.

Download

Download the latest .deb packages from Syncope website.

Prepare

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"

Install

Stop Tomcat

sudo service tomcat7 stop

Install Apache Syncope core and console via the downloaded packages

sudo dpkg -i apache-syncope-*.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

Enjoy

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

  • No labels