How To Set Up VMware Tools On Various Linux Distributions-lenny?

Discussion in 'HOWTO-Related Questions' started by wiseman, Jan 14, 2009.

  1. wiseman

    wiseman New Member

    I was looking at this howto and its a little out of date but I was informed
    so someone who had recently installed vmware tools on lenny and this is the way that was pointed out to me .

    seems a long way around but can I have so feedback please on the
    points below

    THE LONG WAY AROUND

    1 check ur gcc version ( seems open-vm-tools and vm tools like 4.1)


    # gcc --version ## if ur gcc version > 4.1, do the fllowing setps


    # aptitude install gcc-4.1


    # ln -sf /usr/bin/gcc-4.1 /usr/bin/gcc


    2 check ur kernel build number


    # uname -r


    3 install the depand packages include linux-headers ....


    the depand packages list:


    build-essential linux-headers-$(uname -r) psmisc binutils make libgtk2.0-dev libproc-dev libdumbnet-dev xorg-dev libicu-dev


    u can copy this command


    aptitude install build-essential linux-headers-$(uname -r) psmisc binutils make libgtk2.0-dev libproc-dev libdumbnet-dev xorg-dev libicu-dev


    download and install following deb-packages


    http://ftp.ie.debian.org/debian/pool/main/u/uriparser/liburiparser1_0.7.2-0exp1_i386.deb


    http://ftp.ie.debian.org/debian/pool/main/u/uriparser/liburiparser-dev_0.7.2-0exp1_i386.deb


    copy them to a tmp directory and install it with the command ' dpkg -i filename'


    4 unpack the vmtools to ur tmp directory


    click the vmware menu-select the install vmware-tools. cp it to /tmp


    # cd /tmp


    # tar xzfv vmware-tools-xxxxx


    5 download the open-vm-tools


    http://downloads.sourceforge.net/op...130226.tar.gz?modtime=1227030450&big_mirror=0


    copy it to a tmp directory and compile


    # tar xzvf name.gz


    # cd open-vm-tools/


    # ./configure && make


    6 if u passed all with no errors


    # cd open-vm-tools-2008.11.18-130226/modules/linux/



    # for i in *; do sudo mv ${i} ${i}-only; sudo tar -cf ${i}.tar ${i}-only; done

    *7 cp .tar to vmware-tools-distirb replace the same name file

    # mv -f open-vm-tools-2008.11.18-130226/modules/linux*/*.tar vmware-tools-distrib/lib/modules/source/


    8 install ur vmware-tools


    # cd /tmp/vmware-tools/distirb/


    # ./vmware-tools.pl

    THE ABOVE IS A VERY LONG WAY AROUND the simple way is
    here

    1. Install software needed by VMware Tools
    Install packages to build the kernel modules

    aptitude install autoconf automake binutils cpp gcc linux-headers-$(uname -r) make psmisc

    Find out where the kernel headers are (you may need this later)

    ls -d /usr/src/linux-headers-$(uname -r)*/include

    From VMware Workstation: go to VM> Install VMware Tools
    From the VM: mount the virtual cd drive

    mount /dev/cdrom /mnt/Extract VMware Tools to /tmp/

    tar -C /tmp -zxvf /mnt/VMwareTools*gz

    Unmount the virtual cd drive

    umount /mntNow run the installer

    cd /tmp/vmware-tools-distrib
    ./vmware-install.pl

    QUESTION
    after finishing it says
    to use the vmxnet driver restart networking useing the following commands
    /etc/networking stop
    rmmod pcnet32
    rmmod vmxnet
    modprobe vmxnet
    /etc/init.d/networking start

    what is the advantage of doing this?

    wiseman
     
    Last edited: Jan 15, 2009
  2. falko

    falko Super Moderator ISPConfig Developer

    I don't know VMware's inner workings, so I can't say anything about it...
     

Share This Page