Control PanelHestia CPLinuxUbuntu

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

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
  • Debian 11
  • 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: Preparing

install deps/requirements :

apt install sudo wget curl

Download Hestiacp install script :

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 --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 

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 --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 

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 --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 

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 --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 

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 --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 

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 --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 

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 you get Error: apt-get install failed then follow this topic : https://forum.mysterydata.com/topic/110/hestiacp-error-apt-get-install-failed

Sandeep B.

I'm a system admin and php developer and currently working as System Admin In CWP Control panel, expertise in Linux and Windows administration RHEL certified admin.

Related Articles

4 Comments

Leave a Reply

Your email address will not be published.

Back to top button