Before You Install
- A supported system: supported releases of Ubuntu, Debian, AlmaLinux, Rocky Linux, and Red Hat Enterprise Linux, though not always the newest release of each; Rocky Linux, for example, is listed only in release 8. Plesk lists the exact versions in its software requirements; check that list for your release.
- A fresh server: a clean, minimal install with no other control panel and no web, mail, or database server set up by hand.
- Memory and disk: Plesk's documented minimum for Linux is 1 GB of RAM plus 1 GB of swap and 20 GB of disk space; plan more for mail filtering and many sites.
- A hostname: a fully qualified name such as
server.example.comthat resolves to the server's IP. - A snapshot: take one first. See snapshot vs backup.
What Plesk does once it is running is described in what is Plesk.
Step 1: Update the System
sudo apt update && sudo apt upgrade # Ubuntu and Debian
sudo dnf upgrade # AlmaLinux and Rocky Linux
Reboot if a new kernel was installed.
Step 2: Download and Read the Installer
Plesk's documentation offers a one-line command that downloads the installer and runs it at once. The longer way gives you a chance to look at it first:
curl -o plesk-installer https://autoinstall.plesk.com/plesk-installer
less plesk-installer
chmod +x plesk-installer
Plesk's documentation calls this file the installer script. It needs root rights, because it adds Plesk's package repositories and installs packages system-wide. sh ./plesk-installer --help lists its options.
Step 3: Run the Installer
Run it in the terminal and answer its questions:
sudo sh ./plesk-installer
- Accept the license agreement shown in the terminal.
- Choose the product release; by default the installer offers the latest stable one, and
--all-versionslists the others. - Choose the components: a preset set or a custom selection that leaves parts out.
- Confirm and wait. The download and setup can take from several minutes to an hour.
The installer can also run as a web interface on port 8447 with sudo sh ./plesk-installer --web-interface. Plesk documents the same port for its upgrades and updates. Run the install inside tmux or screen, so a dropped SSH connection does not stop it; see the tmux cheat sheet.
Ports to Know
| Port | Use |
|---|---|
| 8443 | Plesk over HTTPS |
| 8880 | Plesk over HTTP |
| 8447 | Installer and updates |
| 80, 443 | Websites |
| 25, 465, 587 | Mail sending |
| 993, 995 | Mail reading |
| 53 | DNS |
Restrict 8443, 8880, and 8447 to your own IP address in the firewall, keep the rule for SSH, and test SSH in a second session before you close the first. On a server with firewalld, the installer opens Plesk's ports itself, so review the rules afterward; Plesk's Firewall extension manages the firewall from the panel.
Step 4: First Login
When the installer finishes, it prints the address of the panel. To get a login link at any time, run:
sudo plesk login
It prints one-time links that log you in without a password. Open one in the browser; the certificate is self-signed until you replace it.
Step 5: Finish the Setup
The first screen in the browser asks for a few details; the exact layout depends on the release:
- The administrator's contact name and e-mail address.
- The administrator password, a long and unique one.
- The license: enter the license key or activation code you received, or choose one of the options the screen shows.
- Accept the agreement. The panel opens.
Then secure the panel itself: under Tools and Settings, SSL/TLS Certificates, issue a Let's Encrypt certificate for the hostname, and set up two-factor authentication.
After the Install
- Updates: Plesk can install its own updates automatically; check the update settings under Tools and Settings.
- Backups: set up the Backup Manager with a remote storage location.
- First site: add a domain under Websites and Domains.
How Plesk compares with cPanel is in cPanel vs Plesk.