Update builder

This commit is contained in:
2025-12-13 17:53:16 +00:00
parent 99694bfa63
commit 0692b11335
8 changed files with 501 additions and 0 deletions

77
packaging/INSTALL.md Normal file
View File

@@ -0,0 +1,77 @@
# 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.