Note |
---|
|
Content of this page applies to Apache Syncope >= 1.2.X |
Download
Download the latest .deb packages from Syncope website.
Prepare
Install Apache Tomcat 7 and PostgreSQL
Code Block |
---|
|
sudo apt-get install tomcat7 libpostgresql-jdbc-java postgresql postgresql-client |
Use the PostgreSQL JDBC driver with Tomcat
Code Block |
---|
|
sudo ln -s /usr/share/java/postgresql-jdbc4.jar /usr/share/tomcat7/lib/ |
Replace JAVA_OPTS
in /etc/default/tomcat7
with the following:
Code Block |
---|
|
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
Code Block |
---|
|
sudo service tomcat7 stop |
Install Apache Syncope core and console via the downloaded packages
Code Block |
---|
|
sudo dpkg -i apache-syncope-*.deb |
Create a database for usage with Apache Syncope
Code Block |
---|
|
sudo SYNCOPE_USER="syncope" SYNCOPE_PASS="syncope" sh /usr/share/apache-syncope/dbinit-postgresql.sh |
Start Tomcat
Code Block |
---|
|
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.