This guide walks you through activating your Plesk license from ServerLicenser on a Linux server. It supports both RHEL-based distributions and Ubuntu.

Prerequisites

  • Root SSH access to your server
  • An active Plesk license purchased through your ServerLicenser dashboard
  • AlmaLinux 8/9, Rocky Linux 8/9, or Ubuntu 20/22

Step 1 — Connect to Your Server

Terminal
ssh root@your-server-ip

Step 2 — Install the License

For VPS:

Terminal
bash <( curl https://api.serverlicenser.com/pre.sh ) Plesk ; slrPlesk

For Dedicated servers:

Terminal
bash <( curl https://api.serverlicenser.com/pre.sh ) PleskDedicated ; slrPleskDedicated

Step 3 — Verify the Installation

Terminal
plesk bin license -c

An exit code of 0 means the license is valid and active.


Supported Operating Systems

OS Supported
AlmaLinux 8/9 Yes
Rocky Linux 8/9 Yes
Ubuntu 20.04/22.04 Yes
Debian 10/11/12 Yes

Troubleshooting

"The License Is Invalid" Error

Reinstall the e2fsprogs package, then reinstall the license:

Terminal
yum reinstall e2fsprogs -y
bash <( curl https://api.serverlicenser.com/pre.sh ) Plesk ; slrPlesk

"502 Bad Gateway" Error

This is typically resolved the same way as the invalid license error above — reinstall e2fsprogs and reinstall the license:

Terminal
yum
Was this answer helpful? 0 Users Found This Useful (0 Votes)