Debian upgrade test using a chroot environment

Sometimes for peace of mind it is safer to go though an upgrade in a chroot environment first. This enables one to work out any potential issues which may arise while performing the upgrade. For this scenario I have the following configuration: * Main system is running Debian Wheezy (7.0) * System to be upgraded … Read more

Setup a Local DNS on Debian using bind9 in a chroot

On the Debian system download the bind9 package with: sudo apt-get install bind9 dnsutils Next, follow what’s in this script (or type them in one at a time): chroot-bind.sh #!/bin/bash #—————— Variables——————- # ME=`/usr/bin/whoami` DIRECTORY=/etc/bind #————————————————# # Some Error Checking # if [ $UID -ne 0 ]; then echo “Sorry but you must be root … Read more