Intelligent System for Automation of Security Audits (SIAAS) - Server
In the context of the MSc in Telecommunications and Computer Engineering, at ISCTE - Instituto Universitário de Lisboa.
By João Pedro Seara, supervised by teacher Carlos Serrão (PhD), 2022-2024
__
Instructions (tested on Ubuntu 20.04 "Focal", Ubuntu 22.04 "Jammy", and Debian 11 "Bullseye")
-
Install and configure:
sudo ./siaas_server_install_and_configure.sh
(note that, in older CPUs, the latest version of MongoDB might not work properly. In that case, remove MongoDB, and then re-install SIAAS Server using an older version of MongoDB:sudo ./siaas_server_install_and_configure.sh 4.4
) -
Start:
sudo systemctl start siaas-server
orsudo ./siaas_server_run.sh
-
Stop:
sudo systemctl stop siaas-server
orsudo ./siaas_server_kill.sh
-
Logs:
tail -100f /var/log/siaas-server/siaas-server.log
ortail -100f ./log/siaas-server.log
-
Generate a project archive (it is recommended to stop all processes before):
sudo ./siaas_server_archive.sh
-
Remove:
sudo ./siaas_server_remove.sh
__
Backup and Restore
-
Back up:
sudo ./siaas_server_backup_mongodb.sh
(accepts a custom output filename as argument) -
Restore:
sudo ./siaas_server_restore_mongodb.sh <backup_file>