Archive for the 'virtualization' Category

Problem with Vmware Server 1.0.* and kernel 2.4.37

vmware logoWhile today 2.6.32 is the mainline version of Linux kernel, 2.4 branch is still supported by Linux community developers who fix security bugs there but don’t add any new functionality (unlike 2.6 that grows with new features like a snowball). Sometimes it happens that Linux box runs too much services which cannot be stopped so that admin is not allowed to migrate from 2.4 to 2.6 to keep those services online.

In my example the box runs 2.4.37.7 kernel but Vmware Server 1.0.* fails on it with segmentation fault throwing into the logs the errors below in this post. Does that look familiar to anybody? Is there any solution to run Vmware Server at 2.4.37 kernel? Thank you!

Continue reading…

Sort CLI output by line length

Want to sort file contents by each line’s lenght? No problems:

artemn@artemn-laptop:~$ cat /etc/passwd | awk '{print length, $0}' | sort -n | awk '{$1=""; print $0 }'

Continue reading…

Xen cluster on Debian for newbies

xenXen is a free software that runs on a host operating system and allows several guest operating systems to be run on top of the host on the same computer hardware at the same time. The following article tells how to set up Xen cluster based on Debian nodes with cluster virtualization management system Ganeti. Tutorial would be helpful also for Linux newbies as all stages of Xen cluster installation are described in great detail.

Read a tutorial…

Make a copy of virtual machine with Vmware Server

It’s proven to be that during software development process, research activities and etc., using of virtulization is invaluable. In my practice I use Vmware Server, so the next article would be useful.

First of all, we need to find where all our virtual machines are in our system. After small search I’ve found vmware files in /var/lib/vmware/Virtual Machines. There are some set of directories each corresponds to some of your already created virtual machines. In my case I was interested in cloning virtual machine with name db1 to new machine db2 and then to db3.

Continue reading about virtual machines cloning with Vmware Server…

Probably you’re interested also in:
Vmware Server at Ubuntu Feisty 7.04

Vmware Server at Ubuntu Feisty 7.04

This step-by-step manual provides instructions on how to install freely available VMWare Server at Ubuntu Feisty Fawn Linux (7.04).

First of all download installation package here and get free serial code. To get VMWare Server working at Ubuntu 7.04 I recommend to download this patch.

To make sure there are all necessary tools installed to get VMWare Server running, execute:
sudo aptitude install linux-headers-`uname -r` build-essentia xinetd

After it’s done unpack installation package and patch:
tar -xvzf VMware-server-1.0.3-44356.tar.gz
tar -xvzf vmware-any-any-update109.tar.gz

Then:
cd vmware-server-distrib
./vmware-install.pl

Choose defaults to questions until installer asks to run vmware-config.pl. Press no and install patch:
cd ../
cd vmware-any-any-update109
sudo ./runme.pl

Now it’s proper time to configure VMWare Server:
sudo vmware-config.pl

Just choose default values (it really worked for me).

When the installation is done, run
vmware

and proceed with using VMWare Server:

screenshot-viper-laptop-vmwareserverconsole.png

You may also be insterested in:
Make a copy of virtual machine with Vmware Server




Friendly Sites:Who is behind Linux Screw?
GeekyBits³ | Bash Cures Cancer | OMG! Ubuntu!
My SysAd Blog | Web Upd8
ZEPY | Linux config Wiki | Planet Sysadmin
a non-geek's linux notes | Linux Today
TuxArena: The arena of Tux | LinuxAlt.Com
My name is Artem N. (artiomix AT gmail DOT com) and I'm Linux/Unix, Cisco systems engineer. The main idea of Linux Screw is to share relevant knowledge, skills and observations over The Web. Here you can find a lot of information related to different Linux distributions, FreeBSD, IOS as well as a other Open Source around staff. Read more ››