FreeBSD / FreeNAS Clone Jail

BSD, Technology, Virtualization
I recently had the need to update my shiny new FreeBSD jailed server because I wanted to migrate to WordPress. I didn't want to bring down the existing server while I did the install and converted my content so I managed to clone my existing jailed server using warden: warden export name_of_jail --dir=/directory_for_warden_file This will take a while... Once done, you can import the warden file creating a new jail: warden import jail_warden_file.wdn --host=jailbird --ipv4= You've now got a cloned jail and a template for creating other jailed servers.
Read More

VirtualBox Serial Port Console on Solaris 10

Solaris, Technology, Virtualization
If you're like me and prefer the command line to the GUI, here's a trick and script to help you manage your Solaris VMs. Enable a serial port for the VM. Enable Port 1 Port Number COM1 Port Mode: Host Pipe Create Pipe Port/File Path: /tmp/vb-VM-NAME-console Perform a reconfiguration boot on the VM. Install socat on the host system sudo apt-get install socat Change the eeprom console device for the VM: eeprom console=ttya Change the /boot/grub/menu.lst for the VM: ... # To enable grub serial console to ttya uncomment the following lines # and comment out the splashimage line below # WARNING: don't enable grub serial console when BIOS console serial # redirection is active!!! serial --unit=0 --speed=9600 terminal serial # # Uncomment the following line to enable GRUB splashimage on console #splashimage /boot/grub/splash.xpm.gz # # To…
Read More