Linux Loses My Desktop
Okay, I give up.
As i’ve written before, I’ve run Linux (SUSE) on my personal desktop and home servers for several years prior to moving to the Mac. I still run Linux for my home server. The only Windows computer I have running at home is my kid’s computer. They have games that won’t run elsewhere.
I installed Ubuntu 8.10 on my office desktop in a dual boot configuration. It handled my dual monitors, quad core CPU, 4Gb of RAM without a hitch. But what it couldn’t handle was working in my office. Now, I had no problem administering our dozen or so Linux servers, reading/writing Word, Excel, Powerpoint documents. I had no problems dealing with our various Java applications, or accessing data on our office network. But, two things have made a permanent conversion difficult, at best. Number one is Exchange/Outlook. I wrote about this earlier. Interacting with Exchange via Linux is painful if you use Exchange calendaring, contacts, or anything other than mail. There is no good way to interact with Exchange calendaring in Linux. Number two is somewhat surprising. As part of a server upgrade project we have adopted Citrix XenServer to handle server virtualization. This is based on the Linux-based Xen project. You would expect it to be very cross platform. You would be wrong. The management tools are Windows only. So, it uses a Windows only management console to manage Linux based hypervisors with Linux guest virtual machines.
Interestingly, both of these observations have been commented on in the last few days:
Where are the Enterprise Management Tools for Linux on the Desktop? by David Lane
What would you exchange Exchange for? by Doc Searls
So, I’m not alone.
I think as desktop virtualization matures, it will be easier to run the desktop of your choice. I use VMWare Fusion on my Mac to run Linux, Windows, and even Haiku. The downside for Linux is there will be less of an incentive to develop the replacements for Outlook and the enterprise management tools. There will also be fewer requests for those applications from corporate users. Why wait for the open source equivalent when I can run the Windows version in a virtual machine.
In the meantime, it’s back to XP. I’ve got work to do.
No More Sad Mac!
Two and a half years ago I popped into the Apple store in Des Moines and walked out with a 1.5ghz G4 Mac Mini. It wasn’t a rash purchase. I had planned on buying that particular model. It took over desktop duties from my SUSE 9.x Linux box I had built a couple of years prior. I needed something that could run the photography software I wanted to run, and I wasn’t willing to go back to Windows. It has served me well for two years. It has been run hard and put away wet frequently. A memory upgrade to the max 1Gb in the first year gave it some breathing room, and two external Firewire drives provided backup and archive space. I had been weighing the idea of replacing the mini with a new Intel Mac for many months. I was torn between a MacBook Pro and a low-end Mac Pro. Finally, in December ’07 I purchased a 15.4″ 2.2Ghz MacBook Pro. Portability won out over raw power. The day after I brought the MBR home, my mini died. Unwilling or unable to boot up. I took it to the local Kansas City Apple store and they confirmed my worst-case scenario: dead logic board, $450. I couldn’t justify spending that much money to fix a $600 computer. So, I took it home, still dead, and starting looking for alternatives. I found a company, DT&T Computer Service, that advertised $225 logic board repairs. I boxed up the mini and off it went. Weeks passed. And finally, 5 weeks and $240 (with shipping) later, my mini is back and running! In over 26 years of owning a large variety of computers, this was the first time I have ever paid to have one of them repaired. That alone was a strange feeling. But, stranger still was how much I missed having my mini on my desk. I had backups of everything on it, so there was no danger of data loss. I had a new Mac that was faster, portable, and sleeker looking. I guess I just wasn’t quite ready to give up on the mini. Now it’s home, getting a Leopard upgrade, preparing to become my wife’s ‘new’ computer, replacing her worn out HP laptop. Hopefully, it will live a long life and serve as force for good against Windows.l
Hand cart on the (Ruby on) Rails
In my previous post I detailed my problems getting NetBeans 6.0 to use the native Ruby installation on OS X Leopard. So, we pick up the story with that issue resolved.
Ok, time to create a new Rails project and get started. I go through the standard steps in NetBeans and am informed that there is a problem with my gems directory, and NetBeans thinks I am using Rails 1.2.6, instead of the 2.0.2 I installed. The error message sends me off the NetBeans wiki for details. So, off I go to figure out how to add GEM_HOME and GEM_PATH to my environment, so NB will recognize my gems directory. After about 30 minutes of surfing for answers I find the right combination of pages that allow me to piece together the answer.
I’m now running with a freshly created Rails project, complete with a database, with tables.
NOW, I can start coding. So far, the NetBeans/OS X combination has been more frustrating than it should be. Hopefully, I’ve completed all of the initiation rites.
Accelerating From a Stop
Ok, step one: Install Netbeans 6.0 Ruby version. No problem here, it works like any other package install. Now to configure it to my taste. The main change is to change the default Ruby engine from the included JRuby to the OS X installed 1.8.6 version of Ruby. I have nothing against JRuby, but at this stage I don’t want to debug JRuby related issues, so I want to stick with the de facto version. On Windows the location of your local Ruby installation is easy enough to find, c:rubybinruby.exe. On OS X I looked all over for it. It ran fine from the console, so it was installed and worked. But, where is the binary? I looked in the usual places, that I could think of, no joy. So, I turned to my local OS X/Ruby/NetBeans guru: Google. After much searching, I found a page with the path I needed. It seems that Ruby has been “framework-ized” into OS X. But, the binaries have been symlinked to: /usr/bin/ruby. Problem solved.
Step two: MySql. Downloaded. Installed from package. Done. Well, I need to install an OS X admin util. But, I can administrate it from the command-line in the meantime.
I opened the Depot Rails app from the Agile Rails book, ran the DB migrations and fired it up. Success.
Ok, I have a usable environment. Time to code.
