How to Install Plesk Linux License

Updated April 19, 20262 views

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-ip
2

Step 2: Install the License

For VPS:

Terminal
bash <( curl https://api.licence.pk/pre.sh ) Plesk ; lpkPlesk

For Dedicated servers:

Terminal
bash <( curl https://api.licence.pk/pre.sh ) PleskDedicated ; lpkPleskDedicated
3

Step 3: Verify Installation

Terminal
plesk bin license -c

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

Supported Operating Systems

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

Troubleshooting

"The license is invalid" error

Reinstall the e2fsprogs package and then reinstall the license:

Terminal
yum reinstall e2fsprogs -y
bash <( curl https://api.licence.pk/pre.sh ) Plesk ; lpkPlesk

"502 Bad Gateway" error

Terminal
yum reinstall e2fsprogs -y
bash <( curl https://api.licence.pk/pre.sh ) Plesk ; lpkPlesk

"Install key" page showing

Run repair and then refresh the license:

Terminal
plesk repair all -y
lpkPlesk

Still need help?

Our support team is available to assist with license installation and troubleshooting.

Open Support Ticket

Was this article helpful?

Need help? Chat with us
How to Install Plesk Linux License | Knowledge Base | Licence.pk | Licence.pk