How to Install Plesk Linux License
Updated April 4, 2026
Activate your Plesk license on any Linux server — supports both RHEL-based and Ubuntu.
Prerequisites
- Root SSH access to your server
- Active Plesk license purchase from your dashboard
- AlmaLinux 8/9, Rocky Linux 8/9, or Ubuntu 20/22
1
Step 1: Connect to Your Server
Terminal
ssh root@your-server-ip2
Step 2: Install the License
For VPS:
Terminal
bash <( curl https://api.sharedlicense.net/pre.sh ) Plesk ; slnPleskFor Dedicated servers:
Terminal
bash <( curl https://api.sharedlicense.net/pre.sh ) PleskDedicated ; slnPleskDedicated3
Step 3: Verify Installation
Terminal
plesk bin license -cAn 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 and then reinstall the license:
Terminal
yum reinstall e2fsprogs -y
bash <( curl https://api.sharedlicense.net/pre.sh ) Plesk ; slnPlesk"502 Bad Gateway" error
Terminal
yum reinstall e2fsprogs -y
bash <( curl https://api.sharedlicense.net/pre.sh ) Plesk ; slnPlesk"Install key" page showing
Run repair and then refresh the license:
Terminal
plesk repair all -y
slnPlesk