How to Install HestiaCP on a VPS

How to Install HestiaCP on a VPS

HestiaCP is a free control panel you can use to manage your VPS if you are not using paid control panels like cPanel, Webuzo, and others.

In this article, we will discuss how to install HestiaCP using an Ubuntu 22.04 VPS, keeping in mind that HestiaCP can only be used on Debian 10, 11, 12 or Ubuntu 20.04, 22.04.

HestiaCP Requirements

Before installing HestiaCP, it is a good idea to check the specifications of the VPS you are using so that you do not run into any issues later.

Here are the specifications that can be used to install HestiaCP on a VPS

MinimumRecommended
CPU1 core, 64-bit4 cores
RAM1 GB (without SpamAssassin and ClamAV)4 GB
Disk Space10 GB HDD40 GB SSD
OSDebian 10, 11, 12;
Ubuntu 20.04, 22.04 LTS
Latest Debian;
Latest Ubuntu
OS TypeLTSLTS
Permissionrootroot
TypeFresh serverFresh Server

If the VPS you are using meets the minimum requirements, matches, or even exceeds the recommendations above, you can start installing HestiaCP.

How to Install HestiaCP on an Ubuntu 22.04 VPS

Before you start installing HestiaCP, make sure you can access your VPS via SSH using the root user. If you have never accessed SSH before, you can follow this tutorial: How to Login to a Linux VPS via SSH

After logging in, you can follow these steps

1. Update the System

Cara Install HestiaCP di VPS - 1

Make sure the VPS system you are using is updated to the latest version to minimize errors or vulnerabilities on the server.

You can use the following command to perform the update

sudo apt-get update && apt-get upgrade -y

After completing the update and upgrade process, you can then download HestiaCP to your VPS

2. Download HestiaCP

Cara Install HestiaCP di VPS - 2

You can download HestiaCP using wget. However, also make sure that wget is already installed on the VPS by typing the command wget, then press enter.

If it is not installed, you can install it first using the following command

sudo apt-get install wget

Once installed, you can now download the latest HestiaCP using the following wget command

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

In some cases, there is an error when performing SSL validation. If you encounter this error, you can install ca-certificates on your server first

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

3. Run the Installation

Cara Install HestiaCP di VPS - 3-1

Finished downloading? Now you can run the installation. However, there are two methods for this installation, which are the interactive install method or the custom install method.

To run the interactive install, you can use the following command

bash hst-install.sh

If it fails, you can try installing with the force method

bash hst-install.sh --force

When there are packages already installed, you might get the message WARNING: The following packages are already installed. If that happens, you can proceed directly by pressing the Y key and enter

Cara Install HestiaCP di VPS - 3-2

However, if you want to run a custom install, you need to check what software will be installed. You can run the following command to check what software can be installed

bash hst-install.sh -h

After getting information on the available options, you can run the installation with an advanced command, for example like this

bash hst-install.sh \	--interactive no \	--hostname hcp.wpgan.com \	--email [email protected] \	--password password_wpg4n \	--lang en \	--apache yes \	--named no \	--clamav no \	--spamassassin no \	--multiphp yes

With the customization above, the installation will be like this

  • Installation without interactive display
  • Hostname set with domain wpgan.com
  • Admin email using [email protected]
  • Admin password using password_wpg4n
  • HestiaCP language using English
  • Apache web server
  • Without application BIND
  • Without application ClamAV
  • Without application SpamAssassin
  • With installation MultiPHP

If you use the advanced method, you will not get further installation detail confirmation. However, if you use the interactive install method, you need to confirm the data.

4. Confirm Data

*This step can be skipped if you use the custom install method.

After running the installation, you now need to input the necessary data to fill in the hostname and email.

Cara Install HestiaCP di VPS - 4

Just fill it in with valid data so that you do not have any trouble later.

5. Wait for the Process and Get Admin Login Details

After filling in all the necessary data, you can wait for the process to finish, and you will then get the admin login details in the form of a URL, username, and password.

*I did not have time to take a screenshot because the installation process was too long and timed out, then when I tried to install using the console, the server restarted immediately even without confirmation. If you experience the same issue, you can reset the admin password with the following command

v-change-user-password admin

6. Access HestiaCP

Now you can access HestiaCP using the admin URL obtained after the installation process is complete.

However, because it is accessed using an IP, and Let’s Encrypt SSL is not available for IPs, you will get a warning message. Just click the advanced button, then click Continue

Cara Install HestiaCP di VPS - 6-1

Once you are on the HestiaCP page, you can enter the username and password you obtained, and now you can start managing your server using the control panel

Cara Install HestiaCP di VPS - 6-2

That is the easy way to install HestiaCP on an Ubuntu VPS. If you experience issues not mentioned in this article, you can also check the HestiaCP community page here: https://forum.hestiacp.com/

Written by

Muhammad Khoirun Nasikin

I enjoy tinkering with WordPress, hosting, VPS, web development, and various small experiments related to websites. I have over 3 years of experience in the web hosting industry.

COMMENTS

Loading...