This guide explains how to install AegisAdmin from its official APT repository and perform the initial checks on a test machine.
Before you begin
AegisAdmin manages sensitive server components. For an initial trial, use a virtual machine or test server with a restorable backup, and retain independent SSH access.Do not begin on a production server.
- Use an account authorised to run sudo.
- Keep a recent snapshot or backup of the machine.
- Never disable APT signature verification.
- Do not install a key whose fingerprint differs from the one published below.
1. Check the machine
The currently published release is intended for Debian or Ubuntu systems using systemd, APT and the amd64 architecture. Apache is optional and is never installed automatically by AegisAdmin.
dpkg --print-architecture
ps -p 1 -o comm=amd64
systemdsudo apt update
sudo apt install ca-certificates gnupg wget2. Download the official public key
First download the key to a temporary file without installing it:
wget --https-only
--output-document=/tmp/aegisadmin-archive-keyring.gpg
https://packages.aegisadmin.fr/aegisadmin-archive-keyring.gpggpg --show-keys --with-fingerprint
/tmp/aegisadmin-archive-keyring.gpgAegisAdmin Archive D01E 7409 36E2 CB6E 7BA8 76F9 C103 5511 5D7F 97DB591B 7C62 F74D 090D 3B2C E8EF CA15 4A9B 3734 C7A1gpg --show-keys --with-colons --fingerprint
/tmp/aegisadmin-archive-keyring.gpg
| awk -F: '$1 == "fpr" { print $10; exit }'D01E740936E2CB6E7BA876F9C10355115D7F97DB3. Install the key and configure the APT repository
sudo install -o root -g root -m 0644
/tmp/aegisadmin-archive-keyring.gpg
/usr/share/keyrings/aegisadmin-archive-keyring.gpgwget --https-only
--output-document=/tmp/aegisadmin.sources
https://packages.aegisadmin.fr/aegisadmin.sourcescat /tmp/aegisadmin.sourcesTypes: deb
URIs: https://packages.aegisadmin.fr
Suites: stable
Components: main
Architectures: amd64
Signed-By: /usr/share/keyrings/aegisadmin-archive-keyring.gpgsudo install -o root -g root -m 0644
/tmp/aegisadmin.sources
/etc/apt/sources.list.d/aegisadmin.sources4. Check the proposed package
sudo apt update
apt policy aegisadminhttps://packages.aegisadmin.fr stable/main amd64 PackagesTo download the package without installing it and inspect its information:
cd /tmp
apt download aegisadmin
dpkg-deb --info aegisadmin_*_amd64.deb5. Install AegisAdmin
sudo apt install aegisadminthe privileged Go system backend; the corresponding systemd services; direct Go HTTPS listening on 8443 without Apache, or an Apache proxy to 127.0.0.1:9080 when Apache is present; a local TLS key pair and an SQLite database; the migrations and administration tools.
6. Initialise the administrator account
sudo aegisadmin initializeThe sign-in username is always:
rootWhen MySQL or MariaDB is active, the same process configures the dedicated monitoring account. You can resume this step with:
sudo aegisadmin mysql-setup7. Check that the system is working
sudo systemctl status
aegisadmin-system.service
aegisadmin-web.service
--no-pager -lsudo aegisadmin version{"status":"ok","version":"VERSION","backend":"ok","database":"ok"}8. Open the interface for the first time
https://SERVER_IP_ADDRESS:8443/sudo ss -ltnp | grep ':8443'The initial certificate is local and is not signed by a public certificate authority. The browser will therefore normally display a warning. Before accepting it, display its fingerprint directly on the server:
sudo openssl x509
-in /etc/aegisadmin-system/tls/admin-local.crt
-noout -sha256 -fingerprint9. Recommended initial checks
check the dashboard and resource refresh; open Processes, Storage, Services, Network, and Logs; check Apache, Fail2ban, Firewall, Cron, and TLS Certificates; check Updates, Users, Modules, Settings, and Server Configuration; test all four themes, French, English, and a narrow screen width; create a backup under Settings > Database Backup.
10. Install subsequent versions
sudo apt update
apt policy aegisadmin
sudo apt install aegisadmin11. Quick diagnostics
sudo journalctl -u aegisadmin-system.service -n 100 --no-pager -l
sudo journalctl -u aegisadmin-web.service -n 100 --no-pager -l
sudo ss -ltnp | grep -E ':8443|:9080'Check the following in this order:
the /run/aegisadmin-system/backend.sock socket; aegisadmin-web.service; the local probe appropriate for the installation mode; direct Go listening on 8443, or Apache in front of 9080; the firewall and network routing.
12. Recover the root account
sudo /usr/libexec/aegisadmin/aegisadmin-admin reset-root-password
sudo systemctl restart aegisadmin-web.servicesudo /usr/libexec/aegisadmin/aegisadmin-admin disable-root-two-factor
sudo systemctl restart aegisadmin-web.service13. Uninstall AegisAdmin from a test machine
sudo apt remove aegisadminsudo apt purge aegisadmin
Delete any remaining data manually only after confirming that it has been backed up, and only on a machine whose destruction is authorised.
14. Report an issue
cat /etc/os-release
uname -a
dpkg --print-architecture
sudo aegisadmin version
apt policy aegisadminOfficial website: en.aegisadmin.fr
Package repository: packages.aegisadmin.fr
Source code: GitHub