{"id":499,"date":"2024-12-04T20:11:17","date_gmt":"2024-12-04T20:11:17","guid":{"rendered":"https:\/\/blog.eu.enginyr.ing\/?p=499"},"modified":"2024-12-04T20:12:39","modified_gmt":"2024-12-04T20:12:39","slug":"how-to-install-hestiacp-on-vps-hosting-a-step-by-step-guide-for-beginners","status":"publish","type":"post","link":"https:\/\/www.serverspan.com\/en\/blog\/how-to-install-hestiacp-on-vps-hosting-a-step-by-step-guide-for-beginners\/","title":{"rendered":"How to Install HestiaCP on VPS Hosting \u2013 A Step-by-Step Guide for Beginners"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hestia Control Panel (<strong>HestiaCP<\/strong>) is a powerful yet lightweight web hosting control panel for managing VPS hosting. It simplifies tasks like managing websites, emails, and databases while offering a user-friendly interface. This guide will walk you through installing HestiaCP on a VPS using supported Linux distributions like Debian and Ubuntu.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>System Requirements<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Before proceeding, ensure your VPS meets the following prerequisites:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Operating System<\/strong>:\n<ul class=\"wp-block-list\">\n<li>Debian 10, 11, or 12.<\/li>\n\n\n\n<li>Ubuntu 20.04 or 22.04 LTS.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Processor<\/strong>: 64-bit (AMD64\/x86_64 or ARM64\/aarch64).<\/li>\n\n\n\n<li><strong>Memory<\/strong>:\n<ul class=\"wp-block-list\">\n<li>Minimum: 1 GB RAM (without SpamAssassin and ClamAV).<\/li>\n\n\n\n<li>Recommended: 4 GB RAM.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Storage<\/strong>:\n<ul class=\"wp-block-list\">\n<li>Minimum: 10 GB HDD.<\/li>\n\n\n\n<li>Recommended: 40 GB SSD.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Network<\/strong>: Stable internet connection.<\/li>\n\n\n\n<li><strong>Access<\/strong>: Root user privileges.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Note<\/strong>: HestiaCP requires a clean operating system installation for optimal performance. If an existing <code>admin<\/code> account is present, delete it or use the <code>--force<\/code> option during installation.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 1: Prepare Your VPS<\/strong><\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">Update System Packages<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">To ensure your VPS is up-to-date:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>sudo apt update &amp;&amp; sudo apt upgrade -y<br><\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Set the Hostname<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Configure your Fully Qualified Domain Name (FQDN):<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>sudo hostnamectl set-hostname yourdomain.com<br><\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Replace <code>yourdomain.com<\/code> with your actual domain name.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 2: Download the HestiaCP Installer<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">HestiaCP provides an automated installation script. Download it using the commands below:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>wget https:\/\/raw.githubusercontent.com\/hestiacp\/hestiacp\/release\/install\/hst-install.sh<br><\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 3: Run the Installer<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The installation process requires root privileges. Start the installation with the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>sudo bash hst-install.sh<br><\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Optional Installation Flags<\/strong><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">HestiaCP allows customization during installation. Below is an example of a command with optional flags:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>sudo bash hst-install.sh --apache yes --nginx yes --phpfpm yes --mysql yes --exim yes --dovecot yes --clamav yes --spamassassin yes --iptables yes --fail2ban yes<br><\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>NGINX<\/strong> and <strong>Apache<\/strong>: Web server options.<\/li>\n\n\n\n<li><strong>PHP-FPM<\/strong>: PHP processing.<\/li>\n\n\n\n<li><strong>Exim\/Dovecot<\/strong>: Mail servers.<\/li>\n\n\n\n<li><strong>SpamAssassin\/ClamAV<\/strong>: Email filtering and virus scanning (requires higher system resources).<\/li>\n\n\n\n<li><strong>Fail2Ban<\/strong>: Intrusion prevention system.<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 4: Confirm Installation Details<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The installer will prompt you to:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Select services to install.<\/li>\n\n\n\n<li>Enter your FQDN.<\/li>\n\n\n\n<li>Provide a valid email address for administrative notifications.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Once you confirm, the installation will proceed and may take up to 20 minutes.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 5: Access HestiaCP<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">After the installation, the installer will provide:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>The URL for accessing the control panel (e.g., <code>https:\/\/yourdomain.com:8083<\/code>).<\/li>\n\n\n\n<li>The admin username and a temporary password.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Open the URL in your browser and log in using the provided credentials.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 6: Post-Installation Configuration<\/strong><\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">Secure Your Installation<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Change the Admin Password<\/strong>:<br>Log into HestiaCP and navigate to <strong>User > Admin > Edit > Password<\/strong> to set a new password.<\/li>\n\n\n\n<li><strong>Install SSL for the Control Panel<\/strong>:<br>Use Let\u2019s Encrypt within HestiaCP to secure your login portal with an SSL certificate.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">Add Your First Domain<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">To host a website, add your domain in the <strong>Web &gt; Add Domain<\/strong> section.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 7: Start Managing Your VPS<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">With HestiaCP installed, you can:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Host websites and configure DNS records.<\/li>\n\n\n\n<li>Create and manage email accounts.<\/li>\n\n\n\n<li>Set up databases and monitor server performance.<\/li>\n\n\n\n<li>Use advanced tools like backups, firewalls, and monitoring features.<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Troubleshooting Tips<\/strong><\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Installer Issues<\/strong>: Ensure your server is freshly installed and updated.<\/li>\n\n\n\n<li><strong>Access Issues<\/strong>: If the control panel is inaccessible, ensure port 8083 is open: <code>sudo ufw allow 8083\/tcp<\/code><\/li>\n\n\n\n<li><strong>Missing Features<\/strong>: Re-run the installer with additional flags to include missing services.<\/li>\n<\/ol>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n","protected":false},"excerpt":{"rendered":"<p>Hestia Control Panel (HestiaCP) is a powerful yet lightweight web hosting control panel for managing VPS hosting. It simplifies tasks like managing websites, emails, and databases while offering a user-friendly interface. This guide will walk you through installing HestiaCP on a VPS using supported Linux distributions like Debian and Ubuntu. System Requirements Before proceeding, ensure [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":500,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[2464,2453,2463,2455,2461,2460,2448,2454,2465,2466,2467,2449,2450,2456,2452,2459,2462,2457,2451,2458],"class_list":["post-499","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-virtual-servers","tag-control-panel-for-vps-hosting","tag-free-hosting-control-panel","tag-free-web-hosting-panel-guide","tag-hestiacp-configuration-guide","tag-hestiacp-custom-installation","tag-hestiacp-features","tag-hestiacp-installation-guide","tag-hestiacp-setup-for-beginners","tag-hestiacp-tutorial","tag-hosting-panel-for-linux","tag-how-to-set-up-hestiacp","tag-install-hestiacp-on-debian","tag-install-hestiacp-on-ubuntu","tag-install-hestiacp-on-vps","tag-lightweight-vps-hosting-panel","tag-secure-hosting-control-panel","tag-server-management-for-vps","tag-step-by-step-hestiacp-installation","tag-vps-control-panel-setup","tag-web-hosting-management-panel"],"_links":{"self":[{"href":"https:\/\/www.serverspan.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/499","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.serverspan.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.serverspan.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.serverspan.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.serverspan.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=499"}],"version-history":[{"count":0,"href":"https:\/\/www.serverspan.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/499\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.serverspan.com\/blog\/index.php?rest_route=\/wp\/v2\/media\/500"}],"wp:attachment":[{"href":"https:\/\/www.serverspan.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=499"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.serverspan.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=499"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.serverspan.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=499"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}