How to add programs to a chrooted shell environment template in Plesk.
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:
Add executable permission and run the script with the
--addflag and the executable path, or name:
# chmod +x ./update_chroot.sh
# ./update_chroot.sh –add dash
./update_chroot.sh --helpfor other options such as
Note: Not all so…