Last active 10 months ago

Install HestiaCP on debian 12

jason's Avatar jason revised this gist 10 months ago. Go to revision

No changes

jason's Avatar jason revised this gist 10 months ago. Go to revision

1 file changed, 3 insertions, 2 deletions

hestiacp.md

@@ -32,10 +32,11 @@ HESTIACP_USER_PASS="mysupersecurepassword"
32 32 HESTIACP_USER_EMAIL="administrator@$HESTIACP_HOSTNAME"
33 33 ```
34 34
35 - ## Download th script
35 + ## Download the script
36 36
37 37 ```shell
38 - curl -q -LSsf https://raw.githubusercontent.com/hestiacp/hestiacp/release/install/hst-install.sh -o /tmp/hst-install.sh
38 + curl -q -LSsf https://raw.githubusercontent.com/hestiacp/hestiacp/release/install/hst-install.sh -o /tmp/hst-install.sh && \
39 + chmod 755 /tmp/hst-install.sh
39 40 ```
40 41
41 42 Install HestiaCP

jason's Avatar jason revised this gist 10 months ago. Go to revision

1 file changed, 6 insertions, 1 deletion

hestiacp.md

@@ -32,10 +32,15 @@ HESTIACP_USER_PASS="mysupersecurepassword"
32 32 HESTIACP_USER_EMAIL="administrator@$HESTIACP_HOSTNAME"
33 33 ```
34 34
35 - Install HestiaCP
35 + ## Download th script
36 36
37 37 ```shell
38 38 curl -q -LSsf https://raw.githubusercontent.com/hestiacp/hestiacp/release/install/hst-install.sh -o /tmp/hst-install.sh
39 + ```
40 +
41 + Install HestiaCP
42 +
43 + ```shell
39 44 bash /tmp/hst-install.sh \
40 45 --hostname "$HESTIACP_HOSTNAME" \
41 46 --username "$HESTIACP_USER_NAME" \

jason's Avatar jason revised this gist 10 months ago. Go to revision

1 file changed, 1 insertion, 1 deletion

hestiacp.md

@@ -35,7 +35,7 @@ HESTIACP_USER_EMAIL="administrator@$HESTIACP_HOSTNAME"
35 35 Install HestiaCP
36 36
37 37 ```shell
38 - curl -q -LSsf https://raw.githubusercontent.com/hestiacp/hestiacp/release/install/hst-install.sh -O /tmp/hst-install.sh
38 + curl -q -LSsf https://raw.githubusercontent.com/hestiacp/hestiacp/release/install/hst-install.sh -o /tmp/hst-install.sh
39 39 bash /tmp/hst-install.sh \
40 40 --hostname "$HESTIACP_HOSTNAME" \
41 41 --username "$HESTIACP_USER_NAME" \

jason's Avatar jason revised this gist 10 months ago. Go to revision

1 file changed, 15 insertions, 15 deletions

hestiacp.md

@@ -1,20 +1,5 @@
1 1 # Install HestiaCP on debian 12
2 2
3 - ## Set Variables
4 -
5 - ```shell
6 - HESTIACP_HOSTNAME="$HOSTNAME"
7 - ```
8 - ```shell
9 - HESTIACP_USER_NAME="administrator"
10 - ```
11 - ```shell
12 - HESTIACP_USER_PASS="mysupersecurepassword"
13 - ```
14 - ```shell
15 - HESTIACP_USER_EMAIL="administrator@$HESTIACP_HOSTNAME"
16 - ```
17 -
18 3 ## Update root password
19 4 ```shell
20 5 passwd
@@ -32,6 +17,21 @@ apt update && apt upgrade -yy && apt dist-upgrade -yy && sleep 5 && reboot
32 17 apt install -yy curl wget vim-nox
33 18 ```
34 19
20 + ## Set Variables
21 +
22 + ```shell
23 + HESTIACP_HOSTNAME="$HOSTNAME"
24 + ```
25 + ```shell
26 + HESTIACP_USER_NAME="administrator"
27 + ```
28 + ```shell
29 + HESTIACP_USER_PASS="mysupersecurepassword"
30 + ```
31 + ```shell
32 + HESTIACP_USER_EMAIL="administrator@$HESTIACP_HOSTNAME"
33 + ```
34 +
35 35 Install HestiaCP
36 36
37 37 ```shell

jason's Avatar jason revised this gist 10 months ago. Go to revision

1 file changed, 1 insertion, 1 deletion

hestiacp.md

@@ -35,7 +35,7 @@ apt install -yy curl wget vim-nox
35 35 Install HestiaCP
36 36
37 37 ```shell
38 - wget https://raw.githubusercontent.com/hestiacp/hestiacp/release/install/hst-install.sh -O /tmp/hst-install.sh
38 + curl -q -LSsf https://raw.githubusercontent.com/hestiacp/hestiacp/release/install/hst-install.sh -O /tmp/hst-install.sh
39 39 bash /tmp/hst-install.sh \
40 40 --hostname "$HESTIACP_HOSTNAME" \
41 41 --username "$HESTIACP_USER_NAME" \

jason's Avatar jason revised this gist 10 months ago. Go to revision

1 file changed, 1 insertion, 2 deletions

hestiacp.md

@@ -21,10 +21,9 @@ passwd
21 21 ```
22 22
23 23 ## Update system
24 - apt update && apt upgrade -yy && apt dist-upgrade -yy && sleep 5 && reboot
25 24
26 25 ```shell
27 -
26 + apt update && apt upgrade -yy && apt dist-upgrade -yy && sleep 5 && reboot
28 27 ```
29 28
30 29 ## Install Packages

jason's Avatar jason revised this gist 10 months ago. Go to revision

1 file changed, 1 insertion, 1 deletion

hestiacp.md

@@ -10,11 +10,11 @@ HESTIACP_USER_NAME="administrator"
10 10 ```
11 11 ```shell
12 12 HESTIACP_USER_PASS="mysupersecurepassword"
13 + ```
13 14 ```shell
14 15 HESTIACP_USER_EMAIL="administrator@$HESTIACP_HOSTNAME"
15 16 ```
16 17
17 -
18 18 ## Update root password
19 19 ```shell
20 20 passwd

jason's Avatar jason revised this gist 10 months ago. Go to revision

1 file changed, 54 insertions

hestiacp.md(file created)

@@ -0,0 +1,54 @@
1 + # Install HestiaCP on debian 12
2 +
3 + ## Set Variables
4 +
5 + ```shell
6 + HESTIACP_HOSTNAME="$HOSTNAME"
7 + ```
8 + ```shell
9 + HESTIACP_USER_NAME="administrator"
10 + ```
11 + ```shell
12 + HESTIACP_USER_PASS="mysupersecurepassword"
13 + ```shell
14 + HESTIACP_USER_EMAIL="administrator@$HESTIACP_HOSTNAME"
15 + ```
16 +
17 +
18 + ## Update root password
19 + ```shell
20 + passwd
21 + ```
22 +
23 + ## Update system
24 + apt update && apt upgrade -yy && apt dist-upgrade -yy && sleep 5 && reboot
25 +
26 + ```shell
27 +
28 + ```
29 +
30 + ## Install Packages
31 +
32 + ```shell
33 + apt install -yy curl wget vim-nox
34 + ```
35 +
36 + Install HestiaCP
37 +
38 + ```shell
39 + wget https://raw.githubusercontent.com/hestiacp/hestiacp/release/install/hst-install.sh -O /tmp/hst-install.sh
40 + bash /tmp/hst-install.sh \
41 + --hostname "$HESTIACP_HOSTNAME" \
42 + --username "$HESTIACP_USER_NAME" \
43 + --password "$HESTIACP_USER_PASS" \
44 + --email "$HESTIACP_USER_EMAIL" \
45 + --multiphp '7.4,8.0,8.1,8.2,8.3,8.4' \
46 + --vsftpd no \
47 + --proftpd yes \
48 + --postgresql yes \
49 + --sieve yes \
50 + --quota yes \
51 + --webterminal yes \
52 + --interactive no \
53 + --force
54 + ```
Newer Older