As I said in my previous post, I’m going to build a fresh development platform. Part of this was prompted by the fact that my old installation started having some issues, and that the latest VMWare Fusion for the Mac has added some support for Ubuntu 8.10.
So, here’s my starting point. Mac OS 10.5.6, VMWare Fusion 2.02, Ubuntu Desktop 8.10 (I need the desktop, so the server version is not the right choice), Komodo IDE 5.0.
My goal is to describe every step of the process in getting the new Ubuntu VM configured properly – this involves the initial installation, adding LAMP, getting it configured to be a virtual host to a few domains, getting e-mail to work properly to send out e-mail, installing the Linux version of Komodo IDE, and getting the debugger to work properly (This means accessing the Ubuntu hosted site from a browser running in the Mac OS X environment while using Komodo on the Ubuntu platform to edit and debug). My past experience has shown that getting the getting Apache set up properly with correct permissions, getting e-mail to work, and getting the debugger to work were the hardest issues.
So, step 1 – Initial configuration of Ubuntu 8.10.
I downloaded the 8.10 desktop ISO and started Fusion and created a new VM. It knew how to mount the ISO, and did an “easy install” – that is I only provided the virtual disk size, my user name and password, and after a while, the Ubuntu VM was up and running. Easier than earlier versions. Right after installing, you can install the updates. It is pretty much totally automatic.
After it is installed, you still have to install the VMware Tools package so that stuff works better with the VM (at least I did). That takes a little effort. You tell Fusion to install the Tools from the Virtual Machine menu. That mounts and opens a virtual CD on Ubuntu. You have to then copy the tar.gz file to a non-read-only place – like /tmp.
Then you extract the tar.gz file, and open a terminal. cd to /tmp/vmware-tools-distrib, and then “sudo ./vmware-install.pl”. Answer all the questions, the defaults are almost always right. And in 5 minutes, it is ready to reboot, and the system will properly resize the screen and other stuff.
Next it is time to install LAMP. Next post.