Comments on Install VMWareTools On Endian Firewall Community 2.2 RC3 (Released 07 October 2008) On ESXi (3.5)

Install VMWareTools On Endian Firewall Community 2.2 RC3 (Released 07 October 2008) On ESXi (3.5) This is a small guide that shows how to install VMware-Tools on Endian Firewall Community 2.2 RC3 (released 07 October 2008) on ESXi (3.5). I'm using Endian Firewall Community 2.2 RC3 (released 07 October 2008) on an ESXi 3.5 Server. Installing and using Endian is no problem but it's great to get VmwareTools installed.

6 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: yannick

My solution to install vmtools on endian firewal 2.3 for an esx 3.5 

1. Install vmware-tools from the VMware Infrastucture Client (right click on the guest -> Install/Upgrade Vmware tools)

mount -t iso9660 /mnt/cdrom /mnt

cp /mnt/VMwareTools-3.5.0-153875.tar.gz ./

2. Install wget (and dependant info package) so you can get other packages

rpm -Uvh http://archives.fedoraproject.org/pub/archive/fedora/linux/core/3/i386/os/Fedora/RPMS/info-4.7-5.i386.rpm 

rpm -Uvh http://archives.fedoraproject.org/pub/archive/fedora/linux/core/3/i386/os/Fedora/RPMS/wget-1.9.1-17.i386.rpm 

3. register with the Endian community (via http://www.endian.com/en/community/efw-updates/)

4. get devel package via http://updates.endian.org/devel/pool/  (password=community)

vi ./packages.txt

http://updates.endian.org/devel/pool/binutils-2.15.92.0.2-24.endian1.i586.rpm
http://updates.endian.org/devel/pool/binutils-extras-2.15.92.0.2-24.endian1.i586.rpm
http://updates.endian.org/devel/pool/cpp-3.4.6-9.endian7.i586.rpm
http://updates.endian.org/devel/pool/glibc-kernheaders-2.4-9.1.100.EL.endian1.i386.rpm
http://updates.endian.org/devel/pool/glibc-2.3.4-2.39.endian6.i386.rpm
http://updates.endian.org/devel/pool/glibc-common-2.3.4-2.39.endian6.i386.rpm
http://updates.endian.org/devel/pool/glibc-devel-2.3.4-2.39.endian6.i386.rpm
http://updates.endian.org/devel/pool/glibc-headers-2.3.4-2.39.endian6.i386.rpm
http://updates.endian.org/devel/pool/gcc-3.4.6-9.endian7.i586.rpm
http://updates.endian.org/devel/pool/make-3.81-3.endian0.i586.rpm

wget [email protected] --http-passwd=community -i ./packages.txt

note: you can also get those from http://sourceforge.net/projects/efw/files/Development/EFW-COMMUNITY-2.2-rc3-devel-rpms.tar.gz even though it is the 2.2RC3 version. The devel package for 2.3 version is incomplete

5. Install some of the packages

rpm -Uvh binutils-*.rpm cpp-*.rpm glibc-kernheaders-*.rpm kernel-devel-*.rpm patch-*.rpm make-*.rpm 

5.  There is a conflcit with the glibc version installed on the efw 2.3 and the glibc of the devel package. Here is my workaround:

 mkdir /myglibc

cp glibc* /myglibc/

cp gcc*  /myglibc/

cd  /myglibc/

(I am a bit tired so I will be doing the short version now)

for each rpm package among glibc*.rpm and gcc*.rpm:

rpm2cpio package.rpm > package.cpio

cpio -id < package.cpio

6. Symlink the kernel headers to save us having to path to it during the install

ln -s /usr/src/kernels/`uname -r`-`uname -m` /usr/src/linux

7. Unpack the VMware tools

cd -

tar xvfz VMwareTools-3.5.0-153875.tar.gz

8. patch VMware tools for Endian (which can be downloaded from here)

cat vmware-tools-distribution.patch | patch -p 0

9. build the tools

export CC= /myglibc/usr/bin/gcc 

 cd vmware-tools-distrib

./vmware-install.pl

cd bin

chmod u+x startup-fix.sh

sh startup-fix.sh

10. check

ps -ef | grep vm

root      4180     1  0 00:57 ?        00:00:04 /usr/sbin/vmware-guestd --background /var/run/vmware-guestd.pid
root     13053  4498  0 02:18 pts/0    00:00:00 grep vm
 

11. reboot

 

references:

http://www.rndgroup.co.nz/blog/category/vmware/

http://www.mail-archive.com/[email protected]/msg04682.html

http://linuxgazette.net/issue48/tag/48.html

By: help_please

I followed your guide to install VMWare tools in Endian 2.3, but when I get up to the stage of compiling the VMWare tools it says that GCC isn't installed. 
I'm guessing there is a step missing after copying to the /myglibc folder as I followed this step-by-step twice but it isn't working.
If I just try to install glib it says a newer version is already installed, so after copying and running the CPIO steps, what else needs to be done???

By: yannick

Hey, sorry for the delay.

can you please confirm you did export CC

export CC= /myglibc/usr/bin/gcc

and there is indeed a gcc in this location: 

 ls -l /myglibc/usr/bin/gcc
-rwxr-xr-x  3 root root 102427 Nov 30 00:31 /myglibc/usr/bin/gcc
 

 

By: Der Protoype

Hi, btw you must have left out something, about the gcc and glibc, you didnt install them, and the VMware tools cant find them to do the build...

 

By: osmonitor

Thank you for your message and i have known what should i do now.It helps me a lot~~Thank you very much

By: Snorre

Attention: if you install wget the dynamic update DNS records does not work any more.

This is tested with version 2.2 rc3 .

Greetings

Snorre