Posts tagged debian

VirtualBox Manager – Debian – RedHat – BSD

Currently Debian systems are fully supported in VirtualBox Manager. It is apparent, based on initial user feedback, that RedHat and BSD systems are responding to various commands differently. Ultimately VBM issues a variety of VBoxManage commands and captures the standard output for analysis. Something is different on RedHat and BSD systems.

I am currently installing Fedora, and will install a comparable BSD system for analysis. When proper formatting of the commands are determined I will update VBM with an option to select the type of host being connected to.

VirtualBox 3.1.4 – Debian Lenny SMP Instability

I use an Ubuntu Karmic desktop environment for my host. I use VirtualBox with Debian Lenny for virtual machines. Most of the time virtual machines work fine with multiple processors enabled in VirtualBox, but Debian Lenny does have some instability forcing the VirtualBox configuration to use 1 processor to maintain stability. Maybe changing the kernel, particularly to an SMP kernel, is required; this would make sense. I can try that or just leave it as a single core virtual machine which is stable. I’m not really inclined to do anything because everything works fine as is.

Create a Swap File – Separate Partition is not Needed

Debian, and Ubuntu have an incredibly convenient package that creates a swap file in any directory. Install with:

sudo apt-get install dphys-swapfile

The installation process with automatically create the swap file. Then just enable it with:

sudo swapon -a

Viola, a fully function swap file that is not on a separate partition.

Debian Sendmail Virtusertable

On Fedora the virtusertable and virtual-domains files are pre-configured. On Debian you must add the following lines to your sendmail.mc file:

FEATURE(`virtusertable', `hash /etc/mail/virtusertable')dnl
VIRTUSER_DOMAIN_FILE(`/etc/mail/virtual-domains')dnl

After adding these two lines create the virtusertable and virtual-domains files using nano:

sudo nano /etc/mail/virtusertable

Save the file and exit by pressing control “o” and then control “x”. Do the same for the virtual-domains file, and them you can populate both accordingly. The virtusertable is highly useful if you are hosting multiple domains (virtualhosting). You will be able to configure multiple email addresses, at multiple domains, to be forwarded to a particular local user.