Skip to main content

Dedicated Server: Installation of Plesk

This guide was created with the following products:

(Details may vary with products from different providers but the main concepts remain the same)

Introduction

Plesk is a comprehensive web hosting and server management platform that allows users to manage websites, servers, email accounts and more through a user-friendly interface. It is a versatile solution that is suitable for beginners as well as experienced web developers and system administrators.

Install Plesk

info

Before installing, run apt update and apt upgrade so that the latest packages are installed on the server.

Plesk can currently only be installed on Debian 9 (Strech), Debian 10 (Buster), Ubuntu 18.04 (Bionic Beaver), Ubuntu 20.04 (Focal Fossa), CentOS 7/8, Red Hat Enterprise Linux 7.x/8.x, CloudLinux 7.1+/8, AlmaLinux OS, Rocky Linux 8.x and Virtuozzo Linux 7. The architecture must be 64-bit.

The connection to the server can be made via Putty, for example.

Starting the installation

For Plesk to install fully automatically with the standard components and features used by most Plesk users, only one command is required:

The Plesk installer always installs the latest/most recent version of Plesk. It may happen that the graphics/screenshots shown here do not show the latest/most recent version of Plesk.

sh <(curl https://autoinstall.plesk.com/one-click-installer || wget -O - https://autoinstall.plesk.com/one-click-installer)
info

If this error is displayed: "-bash: curl: command not found" you have to reload the package with apt install curl.

Once this command has been executed, it usually takes between 15 and 60 minutes to fully install Plesk.

info

The SSH session must not be closed while the installer is still active. This would otherwise lead to termination.

Also, the server would have to be reinstalled to restart the installer. If the installer is restarted without first reinstalling the server, there will be problems with non-functioning features during the installation or in the Plesk panel itself.

info

It can happen that it looks like the installer is "stuck", in 99% of the cases the installer will continue to run after a few minutes, because it still has to configure packages/configs and co.

The installation is complete when this is displayed

Open the Web Installer

After the installer has been started, the installation is carried out in the browser. The installation page can be reached via https://IP:8447 or via https://Domain.xx:8447.

The Plesk Web Panel

info

The following is displayed when calling the Web Panel: "This is not a secure connection". This must be confirmed the first time, then the page opens.

The web interface can be reached via https://IP:8443 or https://Domain.xx:8443 of the server. The login data is root/admin and the current root password. Alternatively you can simply use one of the displayed URLs. If these are no longer valid, you can create new URLs with the command plesk login.

Setup

As soon as the registration was successful, the Admin Account must be set up. A contact name, an e-mail and a password must be entered. If you already have a Plesk license, you can enter it directly. Alternatively, a 15-day trial license can be requested from Plesk. Finally, the user contract must be confirmed. Plesk can now be used.

Set language

After installation, the Plesk panel is in English, the German language can be set or selected under Tools&Settings ➡️ Plesk Appearance ➡️ Languages. There "de-DE" must be selected. Afterwards the language can be set permanently for all by clicking on "Make default". After a logout and login you will find the Plesk panel in German.

Add domain

To add the first domain click on the blue button "Add domain".

Now the own domain can be entered. Also an IP as well as a user name and password for the web space of the domain must be defined. If the subdoimain "www" is already entered in the DNS of the domain, an SSL certificate from Let's Encrypt can be created directly. This option can be selected, after entering a mail address, it is confirmed on the blue "OK" button.

info

The domain must point to the IP of the webspace, if the domain is ZAP-hosting, it can be easily redirected to the webspace via EasyDNS, if it is external, an A-record must be set to the IP and the subdomain "www", "webmail" must also point to the IP. An MX record should also be set to the IP of the web space.

It can take up to 24 hours until a new/changed DNS entry is forwarded to the correct destination.

SSL encryption

During the domain registration/creation of the web space, an SSL certificate from Let's Encrypt was already generated, this can now be entered/selected under "Hosting settings" of the domain. Afterwards it must confirm with a click on "Apply".

info

In order to be permanently redirected to HTTPS (SSL) when calling up the web page, the checkbox "Permanent, SEO-suitable 301 forwarding from HTTP to HTTPS" must be checked.

If the domain is now opened in the browser, it shows its encryption.

info

The installation as well as the setup of the first domain with encryption is now completely finished.