• : Function ereg() is deprecated in /home/sahkoaut/laisaari.com/drupal-5.16/includes/file.inc on line 646.
  • : Function ereg() is deprecated in /home/sahkoaut/laisaari.com/drupal-5.16/includes/file.inc on line 646.

Minimal debian server installation in vmware


This is my minimal debian server installation.
  1. Basic minimal installation using netinst image
  2. For convinience: apt-get install less vim screen ssh
  3. Not mandatory compiler stuff: apt-get install linux-headers-`uname -r` build-essential
  4. Minimal X: apt-get install xserver-xorg-core xorg xdm fluxbox iceweasel vnc4server
  5. LAMPP: apt-get install apache2 php5 libapache2-mod-php5 mysql-server mysql-client php5-mysql phpmyadmin
  6. Not mandatory: install vmware-tools (with your precompiled modules)
  7. Test.

If vmware-tools services are needed, create a separate image and install steps 1,2 and 3
Then do the following steps:
  1. Instal vmware-tools, compile modules - you may need to force earlier gcc compiler using: export CC=<older compiler>
  2. copy *.o vmware modules into host machine, shutdown the temporary vm, you can delete it now.
  3. create new vm - install debian, steps 1-5
  4. install vmware-tools, do not run vmware-config-tools.pl yet!
  5. delete all directories from /usr/lib/vmware-tools/modules/binary (they are not needed)
  6. create directory: mkdir -p `uname -r`/objects into .../binary directory
  7. copy compiled modules *.o from your host machine into objects directory
  8. 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

  9. run command vmware-config-tools.pl - modules should match your kernel now!
  10. test and enjoy!

Edit! vmware instructions can be found also from: http://kb.vmware.com/selfservice/viewContent.do?externalId=1898&sliceId=...

Vastaa