# Install HestiaCP on debian 12 ## Update root password ```shell passwd ``` ## Update system ```shell apt update && apt upgrade -yy && apt dist-upgrade -yy && sleep 5 && reboot ``` ## Install Packages ```shell apt install -yy curl wget vim-nox ``` ## Set Variables ```shell HESTIACP_HOSTNAME="$HOSTNAME" ``` ```shell HESTIACP_USER_NAME="administrator" ``` ```shell HESTIACP_USER_PASS="mysupersecurepassword" ``` ```shell HESTIACP_USER_EMAIL="administrator@$HESTIACP_HOSTNAME" ``` ## Download the script ```shell curl -q -LSsf https://raw.githubusercontent.com/hestiacp/hestiacp/release/install/hst-install.sh -o /tmp/hst-install.sh && \ chmod 755 /tmp/hst-install.sh ``` Install HestiaCP ```shell bash /tmp/hst-install.sh \ --hostname "$HESTIACP_HOSTNAME" \ --username "$HESTIACP_USER_NAME" \ --password "$HESTIACP_USER_PASS" \ --email "$HESTIACP_USER_EMAIL" \ --multiphp '7.4,8.0,8.1,8.2,8.3,8.4' \ --vsftpd no \ --proftpd yes \ --postgresql yes \ --sieve yes \ --quota yes \ --webterminal yes \ --interactive no \ --force ```