Question
How to add programs to a chrooted shell environment template in Plesk.
Answer
Note: If you notice that you have to add more and more software into the chrooted environment template for a small number of customers, you may want to consider offering them an upgrade for their hosting to dedicated or virtual servers.
-
Connect to the server via SSH
-
Run the following commands to download and unpack the script:
# wget https://plesk.zendesk.com/hc/article_attachments/360023025260/update_chroot.zip
# unzip update_chroot.zip
Please note that three other articles have links to this script:
https://support.plesk.com/hc/en-us/articles/115002140654
-
Add executable permission and run the script with the
--add
flag and the executable path, or name:# chmod +x ./update_chroot.sh
# ./update_chroot.sh –add dashNote: see
./update_chroot.sh --help
for other options such aslocale
.Note: Not all so…