Last active 1747668777

Install HestiaCP on debian 12

Revision 8711dd1fcef1a1aa9199948dc05005f5d62d6f17

hestiacp.md Raw

Install HestiaCP on debian 12

Update root password

passwd

Update system

apt update && apt upgrade -yy && apt dist-upgrade -yy && sleep 5 && reboot

Install Packages

apt install -yy curl wget vim-nox

Set Variables

HESTIACP_HOSTNAME="$HOSTNAME"
HESTIACP_USER_NAME="administrator"
HESTIACP_USER_PASS="mysupersecurepassword"
HESTIACP_USER_EMAIL="administrator@$HESTIACP_HOSTNAME"

Download the script

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

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