The walls of the jail are now up. Though the following files are not necessary, experience shows that many scripts require them. Add them now to avoid having to debug mysterious problems later. Construct special devices after using ls to examine the existing /dev folder to learn what numbers should be used: # mkdir /chroot/apache/dev Then, add a temporary folder: # mkdir /chroot/apache/tmp Finally, configure the time zone and the locale (we could have copied the whole /usr/ share/locale folder but we will not because of its size): # cp /usr/share/zoneinfo/MET /chroot/apache/
blog comments powered by Disqus |