How to setup plesk on AlmaLinux

To set up Plesk on AlmaLinux, you can follow these steps:

Step 1: Prepare the Server

  1. Begin by provisioning a fresh AlmaLinux server. Ensure that the server meets the minimum system requirements for Plesk.
  2. Connect to your server via SSH using a terminal or an SSH client like PuTTY.
  3. Update the system packages by running the following command:
   sudo yum update
  1. Once the update process is complete, install the necessary dependencies using the following command:
   sudo yum install wget unzip

Step 2: Download and Install Plesk

  1. Use the wget command to download the Plesk installer script:
   wget https://installer.plesk.com/plesk-installer
  1. Change the permissions of the downloaded script to make it executable:
   chmod +x plesk-installer
  1. Run the Plesk installer:
   ./plesk-installer
  1. The installer will guide you through the setup process. You will be prompted to accept the End-User License Agreement (EULA). Press Enter to proceed.
  2. Next, you will be presented with the installation options. Choose the desired installation type based on your requirements. The options include Plesk Web Admin Edition, Plesk Web Pro Edition, and Plesk Web Host Edition. Select the appropriate option by entering its number and press Enter.
  3. The installer will start downloading the necessary files. This process may take some time, depending on your internet connection.
  4. Once the download is complete, you will be prompted to enter your email address and specify a password for the Plesk admin user. Provide the required information and press Enter.
  5. The installation process will continue, and Plesk will be installed on your AlmaLinux server. This may take a while.
  6. Once the installation is complete, you will see a message indicating a successful installation. Note down the Plesk login URL, username, and password displayed on the screen.

Step 3: Accessing the Plesk Panel

  1. Open a web browser and enter the Plesk login URL in the address bar. The URL should be in the format https://your-server-ip-address:8443.
  2. You will be presented with a security warning as the default SSL certificate is self-signed. Proceed to the website anyway to access the Plesk login page.
  3. On the login page, enter the username and password you created during the installation process.
  4. After successfully logging in, you will be directed to the Plesk Panel, where you can manage your server and websites.

Step 4: Initial Configuration

  1. Before you begin using Plesk, it is recommended to go through the initial configuration process to set up basic settings and customize your installation.
  2. Start by clicking on the “Tools & Settings” option in the left sidebar.
  3. Under the “General Settings” section, you can configure the interface language, time zone, and other basic settings.
  4. In the “Updates and Upgrades” section, you can configure the automatic updates for Plesk and its components.
  5. Proceed to the “License Management” section to verify your license or apply a new one if needed.
  6. Explore the other sections and configure any additional settings according to your requirements.

Step 5: Adding Domains and Websites

  1. To add a domain in Plesk, click on the “Websites & Domains” option in the left sidebar.
  2. Click on the “Add Domain” button.
  3. Enter the domain name and select the hosting type. You can choose between “Website Hosting” or “Forwarding.”
  4. Specify the document root directory and configure any additional settings as necessary.
  5. Click on the “OK” button to add the domain.
  6. To upload website files, click on the “File Manager” option in the domain’s control panel. Use the file manager to upload your website files and directories.

Step 6: Managing Email Accounts

  1. To create an email account, navigate to the “Mail” tab in the domain’s control panel.
  2. Click on the “Create Email Address” button.
  3. Enter the desired email address, password, and mailbox size limit.
  4. Configure additional settings such as email forwarding, autoresponders, and spam filters as needed.
  5. Click on the “OK” button to create the email account.

Step 7: Installing Additional Extensions (Optional)

  1. Plesk offers a wide range of extensions that can enhance its functionality. To install additional extensions, click on the “Extensions” option in the left sidebar.
  2. Browse the available extensions or search for specific ones using the search bar.
  3. Click on an extension to view its details and click the “Install” button to add it to your Plesk installation.
  4. Follow the on-screen instructions to complete the installation process.

Step 8: Securing Plesk

  1. It is crucial to secure your Plesk installation to protect your server and websites.
  2. In the Plesk Panel, navigate to the “Tools & Settings” section.
  3. Under the “Security” group, click on “Firewall” to configure the firewall rules for your server.
  4. Enable the firewall and configure the rules to allow necessary traffic while blocking unwanted access.
  5. Consider enabling additional security measures like Fail2Ban, ModSecurity, and SSL/TLS certificates for secure connections.

Step 9: Managing Databases

  1. Plesk provides support for various database management systems like MySQL, MariaDB, and PostgreSQL.
  2. To manage databases, click on the “Databases” option in the left sidebar.
  3. Click on “Create Database” to set up a new database.
  4. Specify the database name, database server, and additional settings as required.
  5. To access and manage the database, click on the “Web Admin” button next to the database name.

Step 10: Managing DNS Settings

  1. Plesk allows you to manage DNS settings for your domains.
  2. In the Plesk Panel, go to the “Websites & Domains” section.
  3. Click on the “DNS Settings” option for the desired domain.
  4. Add or modify DNS records such as A, CNAME, MX, and TXT records.
  5. Save the changes to update the DNS configuration.

Congratulations! You have successfully set up Plesk on your AlmaLinux server and performed basic configuration tasks. From here, you can explore the various features and options provided by Plesk to manage your server, websites, and applications effectively.

Leave a Comment