# Installation Guide ## Quick Installation ### Using the Installation Script ```bash sudo bash packaging/install.sh sudo systemctl start adastra-storage sudo systemctl enable adastra-storage ``` ### Using Debian Package ```bash cd packaging sudo ./build-deb.sh sudo dpkg -i ../adastra-storage_1.0.0_amd64.deb sudo apt-get install -f sudo systemctl start adastra-storage ``` ## Post-Installation 1. Access the web interface: http://localhost:8080 2. Login with default credentials: - Username: `admin` - Password: `admin` 3. **IMPORTANT**: Change the default password immediately! ## Service Management ```bash # Start sudo systemctl start adastra-storage # Stop sudo systemctl stop adastra-storage # Restart sudo systemctl restart adastra-storage # Status sudo systemctl status adastra-storage # Logs sudo journalctl -u adastra-storage -f ``` ## Uninstallation ```bash sudo /opt/adastra-storage/uninstall.sh ``` ## File Locations - Installation: `/opt/adastra-storage` - Database: `/opt/adastra-storage/data/appliance.db` - Service file: `/etc/systemd/system/adastra-storage.service` - Logs: `journalctl -u adastra-storage` ## Dependencies The installer automatically installs: - golang-go - zfsutils-linux - smartmontools - nfs-kernel-server - samba - targetcli-fb - minio ## Troubleshooting See the main README.md for detailed troubleshooting information.