How to Install HestiaCP in Ubuntu 20.04/18.04 and Debian 10/9

by Sandeep B.

In this tutorial we’ll learn How to install HestiaCP control panel which is similar like vestacp and made by one developer of vesta control panel. Since Vestacp is not updating there features anymore and it seems dead project already i recommend you to move to Hestiacp as soon as possible. They have some extended features in there panel and there forum support is excellent.

Make sure that your server is running a supported operating system :

  • Debian 9
  • Debian 10
  • Ubuntu 16.04 LTS
  • Ubuntu 18.04 LTS
  • Ubuntu 20.04 LTS

Homepage : https://hestiacp.com

HestiaCP Demo : https://demo.hestiacp.com:8083/

Step 1: Login as root into your server via ssh client like putty or Linux terminal

Step 2: Download

wget https://raw.githubusercontent.com/hestiacp/hestiacp/release/install/hst-install.sh

Step 3: Run below command according to your software choice :

Ensure you change this with your details in below installation flag :

 --hostname server.domain.tld --email admin@gmail.com --port 8083 --password admin_password

**here port 8083 is the admin/user gui port for hestia cp

To install Nginx + Apache + php-fpm with multiphp, email server with clamav and spamassassin and installs mariadb server (requires 2gb ram and above):

sudo bash ./hst-install.sh --nginx yes --apache yes --phpfpm yes --multiphp yes --mysql yes --postgresql no --vsftpd yes --proftpd no --exim yes --dovecot yes --clamav yes --spamassassin yes --iptables yes --fail2ban yes --quota yes --hostname server.domain.tld --email admin@gmail.com --port 8083 --password admin_password --lang en --api yes --interactive yes

install Nginx + php-fpm with multiphp, email server with clamav and spamassassin and installs mariadb server (requires 2gb ram and above):

sudo bash ./hst-install.sh --nginx yes --apache no --phpfpm yes --multiphp yes --mysql yes --postgresql no --vsftpd yes --proftpd no --exim yes --dovecot yes --clamav yes --spamassassin yes --iptables yes --fail2ban yes --quota yes --hostname server.domain.tld --email admin@gmail.com --port 8083 --password admin_password --lang en --api yes --interactive yes 

To install Apache + php-fpm with multiphp, email server with clamav and spamassassin and installs mariadb server (requires 2gb ram and above):

sudo bash ./hst-install.sh --nginx no --apache yes --phpfpm yes --multiphp yes --mysql yes --postgresql no --vsftpd yes --proftpd no --exim yes --dovecot yes --clamav yes --spamassassin yes --iptables yes --fail2ban yes --quota yes --hostname server.domain.tld --email admin@gmail.com --port 8083 --password admin_password --lang en --api yes --interactive yes 

For 1 gb ram and above, if you need only Nginx + Apache + php-fpm with multiphp and light email server without security (clamav and spamassassin) with mariadb :

sudo bash ./hst-install.sh --nginx yes --apache yes --phpfpm yes --multiphp yes --mysql yes --postgresql no --vsftpd yes --proftpd no --exim yes --dovecot yes --clamav no --spamassassin no --iptables yes --fail2ban yes --quota yes --hostname server.domain.tld --email admin@gmail.com --port 8083 --password admin_password --lang en --api yes --interactive yes 

For 1 gb ram and above, if you need only Nginx + php-fpm with multiphp and light email server without security (clamav and spamassassin) with mariadb :

sudo bash ./hst-install.sh --nginx yes --apache no --phpfpm yes --multiphp yes --mysql yes --postgresql no --vsftpd yes --proftpd no --exim yes --dovecot yes --clamav no --spamassassin no --iptables yes --fail2ban yes --quota yes --hostname server.domain.tld --email admin@gmail.com --port 8083 --password admin_password --lang en --api yes --interactive yes 

For 1 gb ram and above, if you need only Apache + php-fpm with multiphp and light email server without security (clamav and spamassassin) with mariadb :

sudo bash ./hst-install.sh --nginx no --apache yes --phpfpm yes --multiphp yes --mysql yes --postgresql no --vsftpd yes --proftpd no --exim yes --dovecot yes --clamav no --spamassassin no --iptables yes --fail2ban yes --quota yes --hostname server.domain.tld --email admin@gmail.com --port 8083 --password admin_password --lang en --api yes --interactive yes 

Suppose you want to install postgresql change the option “–postgresql no” to “–postgresql yes” to disable revert the option yes to no. Thats it if you need installation support you can use our support forum.

If this post helps you in any way please consider a donation

Donate with PayPal :

md-donate

You may also like

2 comments

Epiel October 26, 2020 - 5:08 am

debian or ubuntu for this panel, what’s the best one?

Reply
Sandeep B. October 28, 2020 - 6:57 am

Debian obviously

Reply

Leave a Comment