Virtualization

VMWare Workstation 6.5.1 on OpenSUSE 11.1

Finally, I received my new hdd (the previos one died) so I decided to install OpenSUSE 11.1.  VMWare refused to work. I tried to install VMware-server-1.0.8 but without any success, and in the case of VMware-server-2.0.0 I don’t like the new management interface (they didn’t keep the old vmware-console, you will need to manage [...]


Chrome in Wine on OpenSUSE

Yes, it is running …
here is what you have to do:
Get the latest Wine (>= 1.1.3) from the Emulators:Wine repository.
wget http://gpdl.google.com/chrome/install/149.27/chrome_installer.exe
winetricks riched20 riched30
wine chrome_installer.exe
… click away crashes and terminate it …
cd ~/.wine/drive_c/windows/profiles/*/*/*/Google/Chrome/Application
wine chrome.exe –new-http –in-process-plugins
And, a screenshot:

Thanks to Marcus.


Using KVM and Qemu

1. check if you have a processor that supports virtualization:

egrep ‘^flags.*(svm|vmx)’ /proc/cpuinfo

2. create the image to hold the guest OS (10G size in this case):

qemu-img create -f qcow opensuse.img 10G

3. insert KVM kernel modules in the kernel if you compiled them as modules

sudo modprobe kvm
sudo modprobe kvm-intel (for intel processors)
sudo modprobe kvm-amd (for [...]


How to clone an OpenVZ virtual machine

I need sometimes to clone a vps in an openvz environment, so here you can find three methods to do this task:
first option:
# vzctl stop 101
Stopping VE …
VE was stopped
VE is unmounted
# cp -r /vz/private/101 /vz/private/202
# cp /etc/vz/conf/101.conf /etc/vz/conf/202.conf
# vzctl start 202
Starting VE …
Initializing quota …
VE is mounted
Setting CPU units: 1000
VE start in progress…
the [...]