kb: how-to
Plesk for Linux
ABT: Group A
Applicable to:
- Plesk for Linux
Question
How to rebuild chroot template on a server with Plesk?
Answer
To rebuilt it, execute the script using the following steps:
- Connect to the server via SSH;
- Download chroot management script, unzip it and make executable:
# wget https://raw.githubusercontent.com/plesk/kb-scripts/master/update-chroot/update-chroot.sh
# chmod +x update-chroot.sh
- Run the script with
--rebuild
option to remove the chrooted template from all domains, create a new template and apply it:
# ./update-chroot.sh --rebuild
Note: If the type of shell access for system user of a subscription differs from
/bin/bash (chrooted)
, the old template will not be removed from its directory.
Comments
0 comments
Please sign in to leave a comment.