Nowadays, renting a cheap VDS (Virtual Dedicated Server) has become an attractive option for many businesses and individuals. However, the installation and management of these servers can pose challenges even for experienced system administrators. In this article, we will examine the step-by-step installation of cPanel or Plesk on AlmaLinux.
1. Preparing the Server
First, we need to connect to the VDS server via SSH. Open your terminal and use the following command to connect to your server:
ssh root@
Once connected, check if your server is up to date:
dnf update -y
2. Installing Required Packages
Before we begin the installation of cPanel or Plesk, we need to install the necessary dependency packages. You can install these packages using the following command:
dnf install perl -y
3. cPanel Installation
Before proceeding with the cPanel installation, check if you have sufficient disk space on your system. A minimum of 20 GB disk space is recommended for cPanel:
df -h
If your disk space is adequate, run the following command to install cPanel:
cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest
Once the installation is complete, visit http://:2087 in your browser to access the cPanel management panel.
4. Plesk Installation
To perform the Plesk installation, download the Plesk installation package using the following command:
curl -O https://get.keycdn.com/plesk-installer
Then, start the installation process by running:
sh plesk-installer
After the installation is complete, go to https://:8443 in your browser to access the Plesk management panel.
5. Security Settings
After the installation, it is important to take some measures to secure your server. First, configure your firewall settings:
firewall-cmd --permanent --add-port=2087/tcp
firewall-cmd --permanent --add-port=8443/tcp
firewall-cmd --reload
Conclusion
In this article, we performed a step-by-step installation of cPanel or Plesk on AlmaLinux using a cheap VDS. After installation, do not forget to take additional measures to ensure the security and optimize the performance of your server.