Install on Linux (Ubuntu)¶
Not written yet
This page will cover:
- Manual steps (no Linux installer or script exists). Tested on a fresh Ubuntu 24.04 LTS server, x64.
- Planned contents:
- Packages: Java 17 (Temurin or OpenJDK), MySQL 8.4, Tomcat 9 (not 10+, which the app cannot run on).
- MySQL: database created with
utf8mb4/utf8mb4_unicode_ci(the server will not start otherwise), thehdsx_appuser. - Tomcat 9 as a systemd service under
/opt/tomcat9; the app deployed asROOT. - Settings in the service environment: database URL, user and password, data folder, time zone (
Africa/Addis_Ababa), memory, the first admin username and password. - First start, then remove the first admin password from the service settings.
- Firewall (
ufw): open the console port to the local network only. - Tablet APK in the data folder so tablets can download it from the server.
- Start, stop, status and logs with
systemctlandjournalctl. - Backups: a manual database dump plus the data folder (no scheduled backup in v1).
- Screens: terminal output only.
- Source:
deploy/server/(Dockerfile,entrypoint.sh,rewrite.config),tools/release/windows-installer/steps/*.ps1(what the Windows installer sets, to mirror),apps/server/grails-app/conf/application.yml.