#!/usr/bin/env bash set -euo pipefail # WebHVA Hosting Panel installer (bootstrap) # Usage: # wget -O install.sh https://hostcp.webhva.com/install.sh && bash ./install.sh # bash ./install.sh --package=nginx,apache2.4,php8.2,mariadb10.11,phpmyadmin,certbot PACKAGES="" for arg in "$@"; do case "$arg" in --package=*) PACKAGES="${arg#*=}" ;; -h|--help) echo "WebHVA installer" echo " --package=comma,separated,list Select components to install" exit 0 ;; esac done echo "==============================================" echo " WebHVA Hosting Panel - Installer (Preview)" echo "==============================================" echo echo "This is the installer entrypoint served from hostcp.webhva.com." echo "The full WebHVA panel packages and automated setup are being prepared for release." echo echo "Requested packages: ${PACKAGES:-default}" echo echo "Planned installation flow:" echo " 1) Detect OS and validate system requirements" echo " 2) Install selected web/db/mail/php components" echo " 3) Deploy WebHVA agent, API, and web UI" echo " 4) Configure services, firewall, and SSL" echo " 5) Create initial admin account and apply license mode" echo " - Free: 1 server + 1 domain" echo " - Pro: unlimited servers and domains (license key)" echo echo "For now, please use the product site for documentation, demo previews, and release updates:" echo " https://hostcp.webhva.com/" echo exit 0