An installer script for deploying NetAlertX on Proxmox VE (Debian-based) systems. This installer automates the complete setup including dependencies, NGINX configuration, systemd service, and security hardening.
- Fresh LXC or VM of Debian 13 or Ubuntu 24
- Root access
- Internet connection
This is the easiest way to deploy NetAlertX on Proxmox. Run this command on your Proxmox host:
bash -c "$(wget -qLO - https://github.com/JVKeller/NetAlertX/raw/proxmox-baremetal-installer/install/proxmox/ct/netalertx.sh)"Download and run the installer inside a fresh Debian/Ubuntu system:
wget https://raw.githubusercontent.com/jokob-sk/NetAlertX/refs/heads/main/install/proxmox/proxmox-install-netalertx.sh -O proxmox-install-netalertx.sh && chmod +x proxmox-install-netalertx.sh && ./proxmox-install-netalertx.sh- PHP 8.4 with FPM, SQLite3, cURL extensions
- NGINX with custom configuration
- Python 3 with virtual environment
- Network tools: nmap, arp-scan, traceroute, mtr, speedtest-cli
- Additional tools: git, build-essential, avahi-daemon
- Hardened permissions: Proper user/group ownership
- TMPFS mounts: Log and API directories mounted as tmpfs for security
- Systemd service: Auto-start on boot with restart policies
- Service monitoring: Built-in health checks and logging
- Dependency management: Waits for network and NGINX
The installer will prompt for a custom port, or defaultto 20211 after 10-seconds:
Enter HTTP port for NetAlertX [20211] (auto-continue in 10s):
# Check service status
systemctl status netalertx
# View logs
journalctl -u netalertx -f
# Restart service
systemctl restart netalertx
# Stop service
systemctl stop netalertxAfter installation, access NetAlertX at:
http://[SERVER_IP]:[PORT]
/app/log- Mounted as tmpfs (no persistent logs)/app/api- Mounted as tmpfs (temporary API data)
- Application files:
www-data:www-datawith appropriate permissions - NGINX runs as
www-datauser - Log directories: Secure permissions with tmpfs
- NGINX configured for internal network access
- No external firewall rules added (configure manually if needed)
# Check file permissions
ls -la /var/www/html/netalertx
ls -la /app/front
# Fix permissions
chown -R www-data:www-data /app/front
chmod -R 755 /app/front# Check service status
systemctl status netalertx
# View detailed logs
journalctl -u netalertx --no-pager -l
# Check if port is in use
ss -tlnp | grep :20211# Check API token in config
grep API_TOKEN /app/config/app.conf
# Verify GraphQL port
grep GRAPHQL_PORT /app/config/app.conf
# Check backend logs
tail -f /app/log/app.log- Service logs:
journalctl -u netalertx - Application logs:
/app/log/(tmpfs) - NGINX logs:
/var/log/nginx/ - PHP logs:
/app/log/app.php_errors.log
If systemd service fails:
# Activate Python environment
source /opt/myenv/bin/activate
# Start manually
cd /app
python server/or
./start.netalertx.sh
# Stop service
systemctl stop netalertx
# Update from repository
cd /app
git pull origin main
# Restart service
systemctl start netalertx/app/ # Main application directory
├── front/ # Web interface (symlinked to /var/www/html/netalertx)
├── server/ # Python backend
├── config/ # Configuration files
├── db/ # Database files
├── log/ # Log files (tmpfs)
├── api/ # API files (tmpfs)
└── start.netalertx.sh # Service startup script
/etc/systemd/system/
└── netalertx.service # Systemd service definition
/etc/nginx/conf.d/
└── netalertx.conf # NGINX configuration
This installer will need a maintainer
- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly
- Submit a pull request
- NetAlertX development team
- Proxmox VE community
- Debian/Ubuntu maintainers
- Open source contributors
Note: This installer was designed for a Proxmox LXC Debian 13 or Ubuntu 24 containers. For other systems, please use the appropriate installer or manual installation instructions.