Installing VMware server 2.0.2 on debian 6.0.1 X64


Download VMware-server-2.0.2-203138.x86_64.tar.gz from the vmware website and place it in /usr/src (you need to register on the VMware website before you can download)

Download my install file below and unpack it to /usr/src:

cd /usr/src
wget http://www.troublenow.org/files/vmware/vmware2.0.2-on-debian6.0.1.tar.gz
tar xvzf vmware2.0.2-on-debian6.0.1.tar.gz
cd /usr/src/vmware2
sh install-vmware-2.0.2.sh

This wil unpack the files, patch them for debian 6.0.1 and start the vmware installation.
Answer all the questions during the vmware install and the installation should complete.

Now reboot the server and you should be ready to go.

The above vmware2.0.2-on-debian6.0.1.tar.gz file has the following content:

00-vmware-2.6.32_functional.diff
01-vmware-2.6.32_cosmetic.diff
02-vmnet-include.diff
install-vmware-2.0.2.sh
patch-vmware_2.6.3x.sh
vmware-config.pl.diff

All files except install-vmware-2.0.2.sh are from NerdbyNature.de with some small modifications.
install-vmware-2.0.2.sh is a simple setup script I created for easy install.

References:

Linux notes

tar over ssh

Backup:

trouble@sun:$ tar zcvf – / | ssh user@255.255.255.255 “cat > /backup/data.tgz”

Restore a tar session:

trouble@sun:$ cd /
trouble@sun:$ ssh user@255.255.255.255 “cat /backup/data.tgz” | tar zxvf -

Ubuntu

Start the upgrade manager

trouble@sun:$ gksudo “update-manager -d”

Linux VNC server

* Note that this is for debian based distro’s.

If you want to connect to your desktop or server that is running X you can install a vnc server to do so..
We will use gdm and xinetd to get it working so that if you boot up the computer it should all work at once.
To install a vnc server you need atleast the following packages installed:

trouble@sun:$ apt-get install vnc4server gdm xinetd

Then you will need to add a new service to the services list in /etc/services

trouble@sun:$ vi /etc/services

–here add at the end of the file:

vncserver 5900/tcp # vnc server

Then you need to change the gdm.conf file

trouble@sun:$ vi /etc/X11/gdm/gdm.conf

– Here find the line [xdmcp] and change the option Enable=false to:

Enable=true

Then add a file in /etc/xinetd.d/ called vncserver

trouble@sun:$ vi /etc/xinetd.d/vncserver

here add:

service vncserver
{
disable = no
socket-type = stream
protocol = tcp
group = tty
wait = no
user = nobody
server = /usr/bin/Xvnc
server_args = -inetd -query localhost -geometry 1024×768 -depth 16 -once -fp unix/:7100 -securitytypes=none
}

Restart xinetd and you should be done..

trouble@sun:$ /etc/init.d/xinetd restart

Try to connect to the box using a vnc viewer to :0

Page 1 of 2 12