Skip to content

Installation

Aydin Tekin edited this page Jan 20, 2021 · 13 revisions

Installation

Use installer.jar to launch the installation routine:

$ java -jar installer.jar
Step Example Description
Provide an absolute path for the installation folder /usr/share/local/asena Provide a path where you have write access to. CAUTION! The installer will remove all files in the folder before copying the files into it!
Provide a jdbc url to your database jdbc:postgresql://localhost:5431/postgres The JDBC url should include all informations other than the client credentials, which can be set in the next step
Provide the name of the databaseuser postgres Select a pre-existing user with owner privileges on the database. This user will create a new schema called "asena"
Provide the password of the database user example password
Provide the type of your database postgres Currently only Postgres is supported as a backend!
Provide a port for the scim gateway to listen to 8080 This port will be used by asena for the frontend and the SCIM interactions. Please check first if port is not already in use!

Service installation

It is recommended to install Asena as a systemd service for automatic startup on reboot. You will need to copy asena.service to the systemd service directory and enable/start the service:

$ cp /path/to/asena/asena.service /etc/systemd/system/
$ systemctl enable asena.service
$ systemctl start asena.service

Manual start

You can start the Asena without a systemd service by launching it manually:

$ cd /path/to/asena
$ java -jar asena.jar

Next steps

When the server is started you can navigate to http://hostname:port and login with the default credentials.
Please do not forget to change the default password after your first login!

Check out the Getting started page for connecting target systems to Asena.

Clone this wiki locally