This is my minimal debian server installation.
- Basic minimal installation using netinst image
- For convinience: apt-get install less vim screen ssh
- Not mandatory compiler stuff: apt-get install linux-headers-`uname -r` build-essential
- Minimal X: apt-get install xserver-xorg-core xorg xdm fluxbox iceweasel vnc4server
- LAMPP: apt-get install apache2 php5 libapache2-mod-php5 mysql-server mysql-client php5-mysql phpmyadmin
- Not mandatory: install vmware-tools (with your precompiled modules)
- Test.
If vmware-tools services are needed, create a separate image and install steps 1,2 and 3
Then do the following steps:
- Instal vmware-tools, compile modules - you may need to force earlier gcc compiler using: export CC=<older compiler>
- copy *.o vmware modules into host machine, shutdown the temporary vm, you can delete it now.
- create new vm - install debian, steps 1-5
- install vmware-tools, do not run vmware-config-tools.pl yet!
- delete all directories from /usr/lib/vmware-tools/modules/binary (they are not needed)
- create directory: mkdir -p `uname -r`/objects into .../binary directory
- copy compiled modules *.o from your host machine into objects directory
- create properties file into directory `uname -r` containing the following:
UtsRelease 2.6.26-1-686 - or whatever the kernel name is
ModVersion yes
SMP yes - or no
PageOffset C0000000
Comment Debian 5.0.0 32 bit
- run command vmware-config-tools.pl - modules should match your kernel now!
- test and enjoy!
Edit! vmware instructions can be found also from: http://kb.vmware.com/selfservice/viewContent.do?externalId=1898&sliceId=...