Thursday, March 13, 2008
xampp-dsl: A Damn Small LAMP Appliance
Saturday, March 8, 2008
KQemu on Ubuntu Gutsy Gibbon
Could not open '/dev/kqemu' - QEMU acceleration layer not activatedThis howto shows how to get KQemu running on Ubuntu 7.10 (Gutsy Gibbon) First install the following packages:
sudo apt-get install kqemu-source kqemu-common build-essentialThen run the following commands:
sudo module-assistant prepare kqemu sudo module-assistant auto-install kqemuIf everything went right (so no errors occurred) you can load the module with this command:
sudo modprobe kqemuNow check if the module is loaded correctly. If you get a line of output starting with the word kqemu it means the module is loaded properly:
lsmod | grep qemuTo use this module as a user the right permission need to be set:
sudo chmod a+rw /dev/kqemuYou QEMU VM's should now run without the warning above and run a whole lot faster!
Could not open '/dev/kqemu' - QEMU acceleration layer not activatedThis howto shows how to get KQemu running on Ubuntu 7.10 (Gutsy Gibbon) First install the following packages:
sudo apt-get install kqemu-source kqemu-common build-essentialThen run the following commands:
sudo module-assistant prepare kqemu sudo module-assistant auto-install kqemuIf everything went right (so no errors occurred) you can load the module with this command:
sudo modprobe kqemuNow check if the module is loaded correctly. If you get a line of output starting with the word kqemu it means the module is loaded properly:
lsmod | grep qemuTo use this module as a user the right permission need to be set:
sudo chmod a+rw /dev/kqemuYou QEMU VM's should now run without the warning above and run a whole lot faster!
Friday, March 7, 2008
VirtualCenter 2.5 Passthrough Authentication
Stuart Radnidge from vinternals.com discovered how to do pass-through authentication in VMware VC 2.5. This means you will automatically log in to VC 2.5 when the Windows workstation credentials are the same as the ones VC is working with (so this works if you authenticate to the same Windows Domain on both platforms.) The setting is undocumented but is reported to work. You can find the post here. This is how it is done:
To use it, simply add -passthroughAuth -s vchostname to the end of the shortcut used to launch the VI 2.5 client. By default it uses the Negotiate SSPI provider, however since they have fully implemented the interface you can change that behaviour to use Kerberos by adding the following within the <vpxd> node in the vpxd.cfg file on the VC server: <sspiProtocol>Kerberos</sspiProtocol>Via virtualization.info.
Stuart Radnidge from vinternals.com discovered how to do pass-through authentication in VMware VC 2.5. This means you will automatically log in to VC 2.5 when the Windows workstation credentials are the same as the ones VC is working with (so this works if you authenticate to the same Windows Domain on both platforms.) The setting is undocumented but is reported to work. You can find the post here. This is how it is done:
To use it, simply add -passthroughAuth -s vchostname to the end of the shortcut used to launch the VI 2.5 client. By default it uses the Negotiate SSPI provider, however since they have fully implemented the interface you can change that behaviour to use Kerberos by adding the following within the <vpxd> node in the vpxd.cfg file on the VC server: <sspiProtocol>Kerberos</sspiProtocol>Via virtualization.info.
Sunday, March 2, 2008
Creating VM's in a breeze
At work I used this script to create VM's with static MAC addresses which are known in our DHCP server, and it helped me a lot to instantly have a clean VM while working on unattended OS installations.
The script is written in bash and runs on any system which supports bash. It depends on vmware-vdiskmanager , which is included in VMware Server and VMware Workstation.
To run the script you first need to download it.
wget http://createvm.googlecode.com/svn/trunk/createvm.sh -O createvm.sh
Once downloaded you have to flag it executable:
chmod +x createvm.sh
Now you can run the script. Run it without any parameters to see the options available:
./createvm.sh
The script has one parameter that needs to be set, and that is the guest OS you want to run in your VM. To see a list of OS'es that are supported run the script with parameter -l :
./createvm.sh -l
To create your first VM decide on which Guest OS you want to run and pass it as the first parameter to the script. In this example I am creating an Ubuntu virtual machine:
./createvm.sh ubuntu
To create the same VM with some more memory pass the -r (for ram) parameter with the wanted RAM value:
./createvm.sh ubuntu -r 512
The script will display a summary of what will be created (see screenshot). The defaults are displayed here. All the settings displayed here can be manipulated by the command line parameters.
To see some of the examples of creating Virtual Machines run the following command:
./createvm.sh -ex
Any major updates on this script will be displayed here.
Links:
At work I used this script to create VM's with static MAC addresses which are known in our DHCP server, and it helped me a lot to instantly have a clean VM while working on unattended OS installations.
The script is written in bash and runs on any system which supports bash. It depends on vmware-vdiskmanager , which is included in VMware Server and VMware Workstation.
To run the script you first need to download it.
wget http://createvm.googlecode.com/svn/trunk/createvm.sh -O createvm.sh
Once downloaded you have to flag it executable:
chmod +x createvm.sh
Now you can run the script. Run it without any parameters to see the options available:
./createvm.sh
The script has one parameter that needs to be set, and that is the guest OS you want to run in your VM. To see a list of OS'es that are supported run the script with parameter -l :
./createvm.sh -l
To create your first VM decide on which Guest OS you want to run and pass it as the first parameter to the script. In this example I am creating an Ubuntu virtual machine:
./createvm.sh ubuntu
To create the same VM with some more memory pass the -r (for ram) parameter with the wanted RAM value:
./createvm.sh ubuntu -r 512
The script will display a summary of what will be created (see screenshot). The defaults are displayed here. All the settings displayed here can be manipulated by the command line parameters.
To see some of the examples of creating Virtual Machines run the following command:
./createvm.sh -ex
Any major updates on this script will be displayed here.
Links:
