Building A Fresh Mac/Ubuntu Development Platform

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.

About brucewampler

I've had a long and varied careen in the computer industry. I taught computer science at the University of New Mexico for nearly 15 years. I founded two successful computer software companies. I wrote the first spelling checker and first grammar checkers for personal computers. I've lived in Glenwood Springs for 10 years. My wife, Trina, grew up here, and I've been coming to Glenwood since 1977. My kids have attended the local public schools, and have had a great experience. My son, Van, will be attending the University of Colorado starting in the fall of 2007, and my daughter is a Sophomore at Glenwood Springs High School. I've been on the Roaring Fork School District Board of Education for almost 5 years. Working with our kids, teachers, schools, principals, administrators, and the Roaring Fork community has been one of the most rewarding experiences in my life.
This entry was posted in LAMP. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s