X
X

Select Your Currency

Türk Lirası $ US Dollar
X
X

Select Your Currency

Türk Lirası $ US Dollar

Step-by-Step Dedicated Server Setup: AlmaLinux with cPanel/Plesk

HomepageArticlesTechnical GuidesStep-by-Step Dedicated Server Setup...

Introduction

A dedicated server offers high performance and reliability as a hosting solution. However, managing and setting up these servers requires technical knowledge. In this article, we will detail the steps for setting up cPanel/Plesk on AlmaLinux.

1. Check Server Status

First, it’s important to check the status of your server. You can use the following commands:

  • top - Displays the load on your server.
  • htop - A more visual task manager that helps you analyze the load better.
  • dmesg - Shows hardware-related messages and potential errors.

2. AlmaLinux Installation

To install AlmaLinux, follow these steps:

  • First, download the AlmaLinux ISO file and upload it to the server.
  • Boot the server with this ISO and follow the installation wizard.

3. System Updates

Once the installation is complete, you need to perform system updates:

  • sudo dnf update -y - Updates all packages.

4. Installing cPanel or Plesk

To install cPanel or Plesk, follow these steps:

  • cPanel Installation:
  • cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest - Starts the cPanel installation.
  • After installation, you can access cPanel at https://your-server-ip:2087.
  • Plesk Installation:
  • sh <(curl http://autoinstall.plesk.com/one-click-installer) - Starts the Plesk installation.
  • After installation, you can access Plesk at https://your-server-ip:8443.

5. Restarting Services

After installation, it’s important to restart the necessary services:

  • sudo systemctl restart httpd - Restarts the Apache server.
  • sudo systemctl restart mysqld - Restarts the MySQL server.

6. Security Settings

To enhance your server security, you should configure the following settings:

  • Firewall: Allow HTTP and HTTPS traffic with sudo firewall-cmd --permanent --add-service=http and sudo firewall-cmd --permanent --add-service=https.

Conclusion

The dedicated server setup process involves steps that must be carefully followed. By following the steps above, you can successfully set up cPanel or Plesk on AlmaLinux. If you encounter any issues, don’t hesitate to contact our technical support team.


Top