hestiacp.md
· 1.0 KiB · Markdown
Raw
# 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 th script
```shell
curl -q -LSsf https://raw.githubusercontent.com/hestiacp/hestiacp/release/install/hst-install.sh -o /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
```
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 th script
curl -q -LSsf https://raw.githubusercontent.com/hestiacp/hestiacp/release/install/hst-install.sh -o /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