This assumes you've installed a *fresh* copy of turnkey-lamp-2009.02-hardy-x86.iso on VMWorkstation 6
Test environment: WebServer 2008 OS, turnkey-lamp installed under VM-Workstation 6.5. The total install base, after this has been completed this and Virtualmin is just under 1.8Gigs, so it's a good idea to create a VM image file that is over this (4 Gigs, for example).
You need to do some post-LAMP work on the install base to get everything ready before you can successfully install VMWareTools. Specifically, "make" and "gcc" need to be installed because future scripts may need to compile modules for this distro and are required to work. After completing these steps, everthing should just work.
Once this is done, you can move on to installing Virtualmin if you want to.
Also, I found that this distro does NOT require you to use "sudo" as is usual for Ubuntu, which is a good thing.
- Update packages:
- Shell: sudo apt-get update
- Install gcc
- ref. http://help.ubuntu.com/community/CompilingSoftware
- shell: apt-get install build-essential
- shell: apt-get install automake
- shell: apt-get install checkinstall
- Install linux-headers
- shell: apt-get install build-essential linux-headers-`uname -r`
- shell: apt-get install libproc-dev libdumbnet-dev
- Install VMTools
- ref. http://www.vmware.com/support/ws5/doc/ws_newguest_tools_linux.html
- note: script will say "none of the pre-built modules for VMware Tools is suitable for your running kernel" and will ask if you want to compile new modules. Do so for all.
- Installs (optional)
- shell: apt-get install php5-gd
- shell: /etc/init.d/apache2 restart
- GhostScript (ps/pdf support)
- shell: apt-get install ghostscript