{"id":633,"date":"2024-06-28T12:11:43","date_gmt":"2024-06-28T12:11:43","guid":{"rendered":"https:\/\/vpswebhostingindia.in\/blog\/?p=633"},"modified":"2024-06-28T12:33:06","modified_gmt":"2024-06-28T12:33:06","slug":"how-to-install-plesk-on-almalinux","status":"publish","type":"post","link":"https:\/\/vpswebhostingindia.in\/blog\/how-to-install-plesk-on-almalinux\/","title":{"rendered":"How to install Plesk on AlmaLinux"},"content":{"rendered":"\n<div class=\"wp-block-rank-math-toc-block\" id=\"rank-math-toc\"><h2>Table of Contents<\/h2><nav><ul><li><a href=\"#introduction\">Introduction<\/a><\/li><li><a href=\"#manual-installation-of-plesk-on-alma-linux\">Manual installation of Plesk on AlmaLinux<\/a><ul><li><a href=\"#step-1-install-required-packages\">Step 1 \u2013 Install Required Packages<\/a><\/li><li><a href=\"#step-2-configure-ntp\">Step 2 \u2013 Configure NTP<\/a><\/li><li><a href=\"#step-3-configure-firewall\">Step 3 \u2013 Configure Firewall<\/a><\/li><li><a href=\"#step-4-disable-se-linux-alma-linux-only\">Step 4 \u2013 Disable SELinux (AlmaLinux only)<\/a><\/li><li><a href=\"#step-5-create-plesk-user\">Step 5 \u2013 Create Plesk User<\/a><\/li><li><a href=\"#step-6-download-and-install-plesk\">Step 6 \u2013 Download and Install Plesk<\/a><\/li><li><a href=\"#step-7-configure-postgre-sql-for-plesk\">Step 7 \u2013 Configure PostgreSQL for Plesk<\/a><\/li><li><a href=\"#step-8-configure-maria-db-for-plesk-optional\">Step 8 \u2013 Configure MariaDB for Plesk (Optional)<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"introduction\">Introduction<\/h2>\n\n\n\n<p>Plesk on AlmaLinux &#8211; Plesk is a paid tool for managing your web space, available for both Windows and Linux operating systems. It provides a suite for the management of <a href=\"https:\/\/vpswebhostingindia.in\/vps_hosting\/\">your webserver<\/a>, also including FTP services, mailing, DNS management and, in case of further needs, many extensions with which to expand the functionality of the tool.<\/p>\n\n\n\n<p>In this tutorial you will discover all the main steps to install the Plesk hosting management panel on your AlmaLinux 8 server.<\/p>\n\n\n\n<p>AlmaLinux is a new open-source fork with several improvements compared to CentOS. It maintains complete compatibility with <a href=\"https:\/\/en.wikipedia.org\/wiki\/Red_Hat_Enterprise_Linux\" rel=\"nofollow noopener\" target=\"_blank\">Red Hat Enterprise Linux<\/a> and receives continuous support from the CloudLinux community.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"manual-installation-of-plesk-on-alma-linux\">Manual installation of Plesk on AlmaLinux<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"step-1-install-required-packages\">Step 1 \u2013 Install Required Packages<\/h3>\n\n\n\n<pre class=\"wp-block-code has-black-color has-white-background-color has-text-color has-background has-link-color wp-elements-9bf08b08289e1ed9db5660f01af902ed\"><code>$ sudo yum update -y\n\n$ sudo yum install unzip curl wget perl-libwww-perl perl-Net-SSLeay perl-Archive-Tar ntp ntpdate httpd httpd-tools mod_ssl mod_fcgid mod_ruid2 mysql-devel postgresql-devel rsync git sudo -y<\/code><\/pre>\n\n\n\n<p>This will install all the required packages.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"step-2-configure-ntp\">Step 2 \u2013 Configure NTP<\/h3>\n\n\n\n<p>Plesk requires the system date and time to be accurate. We\u2019ll configure NTP for that:<\/p>\n\n\n\n<pre class=\"wp-block-code has-black-color has-white-background-color has-text-color has-background has-link-color wp-elements-b858d71ffab87a41f929c4a265096e39\"><code>$ sudo ntpdate pool.ntp.org\n$ sudo systemctl enable ntpd.service\n$ sudo systemctl start ntpd.service<\/code><\/pre>\n\n\n\n<p>Check NTP sync status with:<\/p>\n\n\n\n<pre class=\"wp-block-code has-black-color has-white-background-color has-text-color has-background has-link-color wp-elements-44d22263de97b23a5bab7dc95070f222\"><code>$ sudo ntpstat<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"step-3-configure-firewall\">Step 3 \u2013 Configure Firewall<\/h3>\n\n\n\n<pre class=\"wp-block-code has-black-color has-white-background-color has-text-color has-background has-link-color wp-elements-326a9325bcf67c3742e2fec40267faf8\"><code>$ sudo firewall-cmd --permanent --add-port={21,22,25,80,110,143,443,465,993,995,8443,8447}\/tcp\n$ sudo firewall-cmd --reload<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"step-4-disable-se-linux-alma-linux-only\">Step 4 \u2013 Disable SELinux (AlmaLinux only)<\/h3>\n\n\n\n<p>On AlmaLinux, disable SELinux by editing&nbsp;<code>\/etc\/sysconfig\/selinux<\/code>:<\/p>\n\n\n\n<pre class=\"wp-block-code has-black-color has-white-background-color has-text-color has-background has-link-color wp-elements-fd7b02d86a24537aa24d895d2bb06e03\"><code>$ sudo sed -i 's\/SELINUX=enforcing\/SELINUX=disabled\/g' \/etc\/sysconfig\/selinux<\/code><\/pre>\n\n\n\n<p>Reboot the system for changes to take effect.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"step-5-create-plesk-user\">Step 5 \u2013 Create Plesk User<\/h3>\n\n\n\n<p>Create a user called&nbsp;<code>psaadm<\/code>&nbsp;for Plesk:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ sudo useradd psaadm<\/code><\/pre>\n\n\n\n<p>And set a password:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ sudo passwd psaadm<\/code><\/pre>\n\n\n\n<p>This user will be used to run Plesk services.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"step-6-download-and-install-plesk\">Step 6 \u2013 Download and Install Plesk<\/h3>\n\n\n\n<p>Now we\u2019re ready to install Plesk.<\/p>\n\n\n\n<p>Go to the Plesk downloads page and grab the Plesk installer for Linux:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ sudo cd \/tmp\n$ wget https:\/\/download.plesk.com\/plesk\/plesk-installer\/plesk-installer<\/code><\/pre>\n\n\n\n<p>Make the installer executable:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ sudo chmod +x \/tmp\/plesk-installer<\/code><\/pre>\n\n\n\n<p>Finally, run the installer as root providing your license key:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo \/tmp\/plesk-installer --with-panel bind --license-key YOUR_LICENSE_KEY_HERE<\/code><\/pre>\n\n\n\n<p>This will install Plesk with all components and apply the license key. Follow the on-screen instructions.<\/p>\n\n\n\n<p>Once the installer finishes, Plesk will be installed and ready!<\/p>\n\n\n\n<p>I suggest you hit \u201cY\u201d<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2022\/07\/Screenshot-2022-07-12-at-13.14.44.png?resize=584%2C530&amp;ssl=1\" alt=\"Plesk on AlmaLinux\" class=\"wp-image-2841\"\/><\/figure>\n\n\n\n<p>Go forward with the recommended option<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2022\/07\/Screenshot-2022-07-12-at-13.17.33.png?resize=576%2C407&amp;ssl=1\" alt=\"Go forward with the recommended option\" class=\"wp-image-2842\"\/><\/figure>\n\n\n\n<p>Go forward with the Product Installation<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2022\/07\/Screenshot-2022-07-12-at-13.19.38.png?resize=683%2C406&amp;ssl=1\" alt=\"Go forward with the Product Installation\" class=\"wp-image-2843\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"760\" height=\"486\" src=\"https:\/\/vpswebhostingindia.in\/blog\/wp-content\/uploads\/2024\/06\/image-11.png\" alt=\"\" class=\"wp-image-635\" srcset=\"https:\/\/vpswebhostingindia.in\/blog\/wp-content\/uploads\/2024\/06\/image-11.png 760w, https:\/\/vpswebhostingindia.in\/blog\/wp-content\/uploads\/2024\/06\/image-11-300x192.png 300w\" sizes=\"auto, (max-width: 760px) 100vw, 760px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"step-7-configure-postgre-sql-for-plesk\">Step 7 \u2013 Configure PostgreSQL for Plesk<\/h3>\n\n\n\n<p>Plesk requires access to a PostgreSQL database. We\u2019ll configure a postgres user and database for Plesk.<\/p>\n\n\n\n<p>Connect to PostgreSQL:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ sudo su - postgres\n$ sudo psql<\/code><\/pre>\n\n\n\n<p>Create a user called&nbsp;<code>psa<\/code>&nbsp;and set a password:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>CREATE USER psa WITH ENCRYPTED PASSWORD 'strongpassword';<\/code><\/pre>\n\n\n\n<p>Create a database&nbsp;<code>psa<\/code>&nbsp;owned by user&nbsp;<code>psa<\/code>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>CREATE DATABASE psa OWNER psa;<\/code><\/pre>\n\n\n\n<p>Allow the user to connect remotely:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ALTER USER psa WITH LOGIN;<\/code><\/pre>\n\n\n\n<p>Exit PostgreSQL:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\\q\nexit<\/code><\/pre>\n\n\n\n<p>PostgreSQL is now ready for Plesk.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"step-8-configure-maria-db-for-plesk-optional\">Step 8 \u2013 Configure MariaDB for Plesk (Optional)<\/h3>\n\n\n\n<p>If you want Plesk to also use MariaDB, follow these steps.<\/p>\n\n\n\n<p>Log in to MariaDB as root:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ mysql -u root -p<\/code><\/pre>\n\n\n\n<p>Create a user&nbsp;<code>psa<\/code>&nbsp;and database&nbsp;<code>psa<\/code>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>CREATE USER 'psa'@'localhost' IDENTIFIED BY 'strongpassword';\nCREATE DATABASE `psa` \/*!40100 DEFAULT CHARACTER SET utf8mb4 *\/;\nGRANT ALL PRIVILEGES ON `psa`.* TO 'psa'@'localhost';\nFLUSH PRIVILEGES;<\/code><\/pre>\n\n\n\n<p>Exit MariaDB:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>exit<\/code><\/pre>\n\n\n\n<p>MariaDB is now ready for Plesk.<\/p>\n\n\n\n<p>Step 10 \u2013 Access Plesk Web Interface<\/p>\n\n\n\n<p>Plesk should now be installed and ready! You can access the Plesk web UI at:<\/p>\n\n\n\n<p><code>http:\/\/your_server_ip:8443<\/code><\/p>\n\n\n\n<p>Log in with:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Username:\u00a0<code>admin<\/code><\/li>\n\n\n\n<li>Password: the one you set during installer<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"760\" height=\"770\" src=\"https:\/\/vpswebhostingindia.in\/blog\/wp-content\/uploads\/2024\/06\/image-12.png\" alt=\"\" class=\"wp-image-636\" srcset=\"https:\/\/vpswebhostingindia.in\/blog\/wp-content\/uploads\/2024\/06\/image-12.png 760w, https:\/\/vpswebhostingindia.in\/blog\/wp-content\/uploads\/2024\/06\/image-12-296x300.png 296w\" sizes=\"auto, (max-width: 760px) 100vw, 760px\" \/><\/figure>\n\n\n\n<p>This is how the Plesk Control Panel looks from the inside.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"802\" height=\"362\" src=\"https:\/\/vpswebhostingindia.in\/blog\/wp-content\/uploads\/2024\/06\/image-13.png\" alt=\"\" class=\"wp-image-637\" srcset=\"https:\/\/vpswebhostingindia.in\/blog\/wp-content\/uploads\/2024\/06\/image-13.png 802w, https:\/\/vpswebhostingindia.in\/blog\/wp-content\/uploads\/2024\/06\/image-13-300x135.png 300w, https:\/\/vpswebhostingindia.in\/blog\/wp-content\/uploads\/2024\/06\/image-13-768x347.png 768w\" sizes=\"auto, (max-width: 802px) 100vw, 802px\" \/><\/figure>\n\n\n\n<p>That\u2019s it! You now have Plesk installed on your AlmaLinux server. From the web UI you can create websites, emails, databases and manage all aspects of your hosting.<\/p>\n\n\n\n<p>Plesk on AlmaLinux Plesk on AlmaLinux Plesk on AlmaLinux Plesk on AlmaLinux<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction Plesk on AlmaLinux &#8211; Plesk is a paid tool for managing your web space, available for both Windows and Linux operating systems. It provides a suite for the management of your webserver, also including FTP services, mailing, DNS management and, in case of further needs, many extensions with which to expand the functionality of [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":643,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"rank_math_lock_modified_date":false,"_eb_attr":"","footnotes":""},"categories":[50,51],"tags":[],"class_list":["post-633","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-plesk","category-almalinux-8"],"_links":{"self":[{"href":"https:\/\/vpswebhostingindia.in\/blog\/wp-json\/wp\/v2\/posts\/633","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vpswebhostingindia.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vpswebhostingindia.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vpswebhostingindia.in\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vpswebhostingindia.in\/blog\/wp-json\/wp\/v2\/comments?post=633"}],"version-history":[{"count":5,"href":"https:\/\/vpswebhostingindia.in\/blog\/wp-json\/wp\/v2\/posts\/633\/revisions"}],"predecessor-version":[{"id":646,"href":"https:\/\/vpswebhostingindia.in\/blog\/wp-json\/wp\/v2\/posts\/633\/revisions\/646"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vpswebhostingindia.in\/blog\/wp-json\/wp\/v2\/media\/643"}],"wp:attachment":[{"href":"https:\/\/vpswebhostingindia.in\/blog\/wp-json\/wp\/v2\/media?parent=633"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vpswebhostingindia.in\/blog\/wp-json\/wp\/v2\/categories?post=633"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vpswebhostingindia.in\/blog\/wp-json\/wp\/v2\/tags?post=633"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}