Disclaimer
I am against the abuse of free licenses. This code is presented for informational purposes only. Using it can and probably violates Plesk rules. The author is not responsible for any material losses incurred by Plesk.
Plesk auto-update trial key
Plesk trial key auto update
Create table in MySQL:
CREATE TABLE `Plesk` (
`id` int(6) NOT NULL,
`text` varchar(255) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `text` (`text`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
INSERT INTO Plesk (id, text) values (0, "Your Key");
INSERT INTO Plesk (id, text) values (1, "Your Key2");
INSERT INTO Plesk (id, text) values (2, "Your Key3");
Run on Windows:
bat file
java -jar Plesk_Auto_Update_Trial_Key.jar "ip address MySQL" "user MySQL" "pass MySQL" "ip address SSH" "login SSH" "pass SSH" "database name mysql"
Run on Linux (Debian/Ubuntu):
sudo apt-get install screen
sudo apt-get install openjdk-15-jdk
export JAVA_HOME=/usr/lib/jvm/openjdk-11-jdk
export PATH=$PATH:$JAVA_HOME/bin
java -version
screen -dmS pleskKey bash -c "java -jar Plesk_Auto_Update_Trial_Key.jar "ip address MySQL" "user MySQL" "pass MySQL" "ip address SSH" "login SSH" "pass SSH" "database name mysql" "
Get free key:
https://www.plesk.com/plesk-free-download/
https://temp-mail.org/ru/
Ideological inspirer
FAQ & Troubleshooting
• On Windows/MacOS, install Oracle Java from here or OpenJDK from here.