HestiaCP panel universe-level tutorial: install scripts, add websites and easily manage VPS

Want to easily manage your Virtual Private Server (VPS)? Learn how to install itHestiaCPpanel for the ultimate server management experience.

OurSpaceThis advanced guide will take you step by step to complete the installation and configuration of HestiaCP, covering installation scripts, website additions and firewalls, making your server management efficient and secure.

What does Hestia mean?

Hestia is the goddess of the hearth in ancient Greek mythology.

When we talk about Hestia, most people probably first think of the goddess of the hearth, the hearth and the goddess of fire in ancient Greek mythology. She is one of the twelve main gods of Olympus.

Hestia was known for her warmth and protection, ensuring that the flames of homes and temples were never extinguished.

Similarly, Hestia also plays an important role in the modern computer world - HestiaCP.

HestiaCP panel universe-level tutorial: install scripts, add websites and easily manage VPS

HestiaCP panel easily manages VPS

HestiaCP is an open source Linux Server control panel artifact.

  • HestiaCP is an all-rounder in server management.
  • HestiaCP is known for its simplicity, efficiency, and versatility.
  • Just like that ancient goddess, provide reliable protection and support for your server.

It is derived from the popular VestaCPHowever, as the development and maintenance of VestaCP gradually entered "dormant mode", many security issues and vulnerabilities were not fixed in time...

Therefore, a group of visionary developers decided to start from scratch and created a new branch, Hestia CP, to continuously improve and maintain it, making server management safer and more convenient.

HestiaCP control panel function introduction

HestiaCP provides a simple, easy-to-use interface where you can easily add user accounts, website domains, and configure other aspects of the server.

Here are some key features:

  • Multi-language support: HestiaCP supports multiple languages, including Chinese.
  • Web server support: Apache2 and NGINX with PHP-FPM, multiple PHP versions supported (5.6-8.1, 8.0 is the default).
  • DNS server: DNS server with cluster function (Bind).
  • Mail service: Provide POP/IMAP/SMTP mail service, with anti-virus, anti-spam and web mail (ClamAV, SpamAssassin, Sieve, Roundcube, Rainloop).
  • Database: MariaDB and/or PostgreSQL databases are supported.
  • SSL Support: Supports Let's Encrypt SSL and wildcard certificates.
  • Firewall: Firewall with brute force attack detection and IP lists (iptables, fail2ban, and ipset).

HestiaCP panel universe-level tutorial: install scripts, add websites and easily manage VPS pictures 2

Basic requirements for installing HestiaCP

Before installing Hestia, you need to understand its basic server requirements.

Hestia needs to run on a completely new operating system to ensure it works properly.

The following are the minimum and recommended configurations:

Configuration TypeCPURAMdiskoperating system
Minimum Requirements1 core, 64-bit1 GB (without SpamAssassin and ClamAV)10 GB hard diskDebian 10, 11 or 12, Ubuntu 20.04, 22.04 LTS
Recommended configuration4 Nuclear4 GB40 GB SSDLatest Debian, Latest Ubuntu LTS

other requirements

  • Hestia runs only on AMD64/x86_64 and ARM64/aarch64 processors and requires a 64-bit operating system.
  • i386 or ARM7 based processors are not supported.
  • Non-LTS operating systems are not supported.

HestiaCP Panel Installation Preparation

Step 1: Switch to root user

First, you need to run the installer as root. You can do this directly in a terminal or remotely using SSH.

Run the following command to switch to the root user:

sudo -i

Step 2: Upgrade system packages

Before starting the installation, make sure your system packages are up to date. Run the following command to upgrade:

apt update -y

Step 3: Install commonsoftware

The Debian system is relatively clean, and it is recommended to install some commonly used software:

apt install wget curl sudo vim git -y

Step 4: Add DNS records

Generally speaking, you need to add an A record in DNS to resolve the IP address as the Hostname domain name of HestiaCP, for example:

HestiaCP panel universe-level tutorial: install scripts, add websites and easily manage VPS pictures 3

hcp.domain.tld

(Replace domain.tld with your actual domain name)

HestiaCP installation script tutorial

Step 1: Download the installation script

Download the installation script via SSH using the following command:

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

If the download fails due to SSL verification errors, make sure you have the ca-certificate package installed on your system.

This can be done using the following command:

apt-get update && apt-get install ca-certificates -y

Step 2: Run the HestiaCP installation script

An easier way to select HestiaCP installation options is to use the installation string builder.

To choose which software to install, you can choose to use the HestiaCP installation string generator to choose which software to install.

Click the link below to go to the official HestiaCP custom parameters and configuration options:

Select as needed:

HestiaCP adds website domain name 4

The following is an example command:

bash hst-install.sh --lang zh-cn --hostname hcp.domain.tld --email [email protected] --password p4ssw0rd --multiphp yes --sieve yes --quota yes --force

If you find it troublesome, you can also useChen WeiliangHowever, remember tohcp.domain.tld,[email protected],p4ssw0rd , change it to what you actually use.

Step 3: Restart the server

After the installation is complete, enter the command to restart the server:

reboot

HestiaCP panel configures SSL certificate

Step 1:Add an SSL certificate to the panel's URL:

v-add-letsencrypt-host

If you have not set the hostname before, you need to run:

v-change-sys-hostname hcp.domain.tld

Change hcp.domain.tld to your own host name.

Step 2:Then enter in the browser https://hcp.domain.tld:2053

You can access the panel.

The account password can be seen in the command line.

HestiaCP panel adds website

Since the default root user is not secure, if you want to add a website to the HestiaCP panel, it is recommended to create a new user and log in to the new user to add the website domain name.

Step 1:Add User Account▼

HestiaCP panel universe-level tutorial: install scripts, add websites and easily manage VPS pictures 5

Step 2:Add website domain ▼

HestiaCP panel universe-level tutorial: install scripts, add websites and easily manage VPS pictures 6

  • It is not recommended to check DNS support and email support, because the DNS and email you set up yourself are not stable enough and it is easy to miss important emails.
  • Therefore, it will be more stable if we use DNS and email from large companies.

Step 3:Edit website domain ▼

Step 3: Edit the website domain name. It is recommended to check: Enable SSL for this domain.

Recommended checkbox:Enable SSL for this domain

  • Obtaining an SSL certificate using Let's Encrypt
  • Enable HTTPS automatic redirection
  • Enable HTTP Strict Transport Security (HSTS)

As a powerful and flexible server management panel, HestiaCP not only provides rich functions and efficient management tools, but also maintains ease of use and scalability.

Whether you are managing a personal server or an enterprise-level server, HestiaCP can meet your needs, allowing you to easily control fire and security like the goddess Hestia.

To explore more about HestiaCP, please visit its GitHub project address and official website address.

Experience the powerful features of HestiaCP and enjoy simple and efficient server management!

Want to learn more about HestiaCP?

We recommend you continue reading our detailed guide on how to solve HestiaCP phpMyAdmin – Error problem.

This is the ultimate solution that helps you easily deal with common mistakes once and for all▼

Click the link below to find more detailed solutions to the problem of HestiaCP phpMyAdmin failing to cache templates and causing slow performance ▼

How does HestiaCP enable PHP functions shell_exec, passthr, system, exec?

HestiaCP PHP-FPM Load too high? Dynamic web page 500 error? This optimization will take effect immediately!

Comment

Your email address will not be published. Required fields * Callout

Scroll to Top