# Install: HestiaCP + Debian 11

**URL:** <https://forum.hestiacp.com/t/install-hestiacp-debian-11/4313>\
**Category:** Community Support\
**Created:** [August 18, 2021, 12:29pm UTC](https://forum.hestiacp.com/t/install-hestiacp-debian-11/4313 "2021-08-18T12:29:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![eris](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/eris/32/1241_2.png) [@eris](https://forum.hestiacp.com/u/eris)\
**Post date:** [August 18, 2021, 12:29pm UTC](https://forum.hestiacp.com/t/install-hestiacp-debian-11/4313/1 "2021-08-18T12:29:40Z")

</div>

How to install:

```
# Replace with https://github.com/username/hestiacp.git if you want to test a test branch hosted that you created your self
git clone https://github.com/hestiacp/hestiacp.git
cd ./hestiacp/

# Replace main with the branch you want to test
git checkout main

cd ./src/

# Compile packages
./hst_autocompile.sh --all --noinstall --keepbuild '~localsrc'

cd ../install
bash hst-install-debian.sh --with-debs /tmp/hestiacp-src/deb/

```

Follow the instructions and you are done!

---

<div class="post-metadata">

**Author:** ![eris](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/eris/32/1241_2.png) [@eris](https://forum.hestiacp.com/u/eris)\
**Post date:** [August 20, 2021, 11:18am UTC](https://forum.hestiacp.com/t/install-hestiacp-debian-11/4313/2 "2021-08-20T11:18:01Z")

</div>

A few notes:

Upgrade from Debian 10.x to 11 Is currently not supported it will need to be done via manual config files changes due to changes in Exim 4.94 so information will follow soon…

---

<div class="post-metadata">

**Author:** ![Raphael](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/raphael/32/5217_2.png) [@Raphael](https://forum.hestiacp.com/u/Raphael)\
**Post date:** [August 20, 2021, 11:18am UTC](https://forum.hestiacp.com/t/install-hestiacp-debian-11/4313/3 "2021-08-20T11:18:45Z")

</div>

Pinned on August 20, 2021, 11:18am UTC



---

<div class="post-metadata">

**Author:** ![Raphael](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/raphael/32/5217_2.png) [@Raphael](https://forum.hestiacp.com/u/Raphael)\
**Post date:** [August 20, 2021, 11:19am UTC](https://forum.hestiacp.com/t/install-hestiacp-debian-11/4313/4 "2021-08-20T11:19:23Z")

</div>

Closed on August 20, 2021, 11:19am UTC



---

<div class="post-metadata">

**Author:** ![eris](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/eris/32/1241_2.png) [@eris](https://forum.hestiacp.com/u/eris)\
**Post date:** [August 23, 2021, 1:11pm UTC](https://forum.hestiacp.com/t/install-hestiacp-debian-11/4313/5 "2021-08-23T13:11:23Z")

</div>

For upgrades:

Run the command:  
Always!

```
 sed -i "s/obscure yescrypt/obscure sha512/g" /etc/pam.d/common-password

```

When Exim is installed:

```auto
# make sure to replace it otherwise you are not able to receive email anymore 
rm -f /etc/exim4/exim4.conf.template 
cp -f /usr/local/hestia/install/deb/exim/exim4.conf.4.94.template /etc/exim4/exim4.conf.template 

```

If Proftpd is installed:

Comment out: IdentLookups in /etc/proftpd/proftpd.conf

> <https://github.com/hestiacp/hestiacp/blob/bf1105d0784f8f3a9f35ab3062609991dcf67a56/install/deb/proftpd/proftpd.conf#L29>
