Blog Servers

Installing VestaCP on AlmaLinux: A Step-by-Step Guide

Installing VestaCP on AlmaLinux: A Step-by-Step Guide
Netbudur Blog Infrastructure, hosting and server guides

VestaCP is a fast, user-friendly and open source web hosting control panel. VestaCP, running on Linux distributions like AlmaLinux, makes web sites, email servers and DNS management easier. In this guide, we will handle the installation of VestaCP on AlmaLinux by step.


1. What is VestaCP and What Are The Advantages?

VestaCPstand out with the following features:

  • Easy and quick installation
  • A user-friendly web interface
  • Integrated installation of vehicles such as Nginx, Apache, MySQL, PHP
  • DNS and email server management
  • Automatic backup feature

2. Gereksinimler

Make sure your server meets the following requirements before starting the installation:

  • Operating System: AlmaLinux 8 or higher
  • RAM: Minimum 512 MB ( 1 GB or above)
  • Storage Area: Minimum 20 GB free space
  • Connection: A server with root SSH access

3. Installation of VestaCP on AlmaLinux

3.1. Update Server

Make sure you update your system before installation:

 
sudo dnf update -y

3.2. Dry Required Packages

 
sudo dnf install wget curl -y

3.3. Download and Play VestaCP Setup Script

Use the following commands to download and run the official installation script of VestaCP:

 
curl -O http://vestacp.com/pub/vst-install.sh bash vst-install.sh

3.4. Setup Process

When the installation script is run, some options are available:

  • You can choose default configuration for web server, database and other components.
  • You will be asked to enter an admin email address.

4. Firewall and Port Settings

In order to work properly of VestaCP, some ports should be open:

  • Web Interface: 8083
  • Web Server: 80, 443
  • Email Server: 25, 465, 587
  • DNS: 53

Open Required Ports in Firewall

 
sudo firewall-cmd --permanent --add-port=8083/tcp sudo firewall-cmd --permanent --add-port=80/tcp sudo firewall-cmd --permanent --add-port=443/tcp sudo firewall-cmd --permanent --add-port=25/tcp sudo firewall-cmd --permanent --add-port=53/udp sudo firewall-cmd --reload

5. Access to VestaCP

After installation is completed, the input information of VestaCP is printed on the screen. This information is:

  • Web Panel URL: https://<sunucu_IP_adresi>:8083
  • User Name: admin
  • Password: Password created during installation

You can login to VestaCP by accessing the URL above through your browser.


6. The First Configuration of VestaCP

6.1. Add Domain Name and Website

  1. Login to the VestaCP panel.
  2. Go to "WEB" tab and select "Add Domain".
  3. Enter the domain name and complete the insertion process.

6.2. Create email account

  1. Go to "MAIL" tab and select "Add Account".
  2. Create a new email account.

6.3. SSL Certificate Setup

VestaCP provides free SSL certificate with Let's Encrypt.

  1. Select the domain name on the "WEB".
  2. Check the "SSL Support" box and activate Let's Encrypt option.

7. Backup and Restore Management

VestaCP keeps your data safe with its automatic backup feature.

  1. Go to the “BACKUP” tab.
  2. You can create backup plans or restore existing backups.

8. Update VestaCP

The current retention of VestaCP is important. You can use this command to check the updates:

 
v-update-sys-vesta-all

 

In this guide, we took the installation and basic configuration of VestaCP on AlmaLinux step by step. VestaCP facilitates server management with quick installation and user-friendly interface. For more information and help VestaCP Official Documentation You can visit the address.