Served: the Mac OS X Lion Server review

Posted by steve on Jan 16, 2012 in internet, network, Reviews, Software Reviews

I’ve been running Mac OS X Server in various incarnations for about six years. I’m reluctant to be terribly specific, since I don’t remember with a good deal of precision when I first installed Apple’s server operating system on the old eMac that I’d repurposed for my daughter’s use, Debbie having finally upgraded to a PowerMac G5.

Most recently I’ve had Mac OS X 10.6 Snow Leopard Server (a clunkily-named piece of software, to be sure, but then Apple are not know for their elegance in nomenclature), running on a headless Mac mini, a system I wrote about a handful of years ago and which Apple clearly used as inspiration for their min server product.

I’ve been happy with this setup for quite some time. A batch of websites have been dished up from my server, reliably and consistently, for years, including this very blog, as well as New Life: New Zealand, my Moving to New Zealand blog. It was, for the most part, a set-and-forget system, needing only the most occasional of tweaks. But lately I’d noticed that the overall performance of my mini was becoming quite unacceptable. In addition to web- and mail-serving tasks, my mini also did light duties as a home media centre, and also hosted my iPhone, and so I use Screen Sharing to administer the thing, hidden as it is under a coffee table in the family room. Increasingly, this was becoming intolerable.

My lovely wife had recently returned from her annual visit to the US, and had brought home with her for me a new 2TB external hard disc; given that they retail over there for around half the price you can find them here in New Zealand, this was very much appreciated. Although I couldn’t be sure, I strongly suspected that the original internal hard disc of my mini, all 80GB of it, might have started to see the end of its useful life, and so I decided to install an operating system on the new external disc, and run my mini from there.

But which version to run? I had an installer disc for version 10.6, Snow Leopard Server, but I was sorely tempted by version 10.7, Lion Server. I particularly was tempted by the joys of wireless syncing that my iPhone, now running iOS 5, would now experience, and, well, why would I want to re-install an obsolescing system? Reading up on Lion Server gave me pause, though. Reviews such as this one concerned me, other sites had implied that multiple sites wouldn’t be possible, and I also got the impression that mail services would be hobbled.

In the end, I took a deep breath and installed. The software was surprisingly easy to install: once the standard client edition of Mac OS X Lion was up and running — and that was quite effortless, given that I already had made an installer DVD when I installed Lion on my laptop — a quick trip to the Mac App Store and a fifty-dollar spend later, and I had a new server. (Pricing, by the way, finally seems to be a bit clearer than it was before release.)

Lion Server's Server app

Server: Lion Server's part-replacement for Server Admin

All I could see, though, that was new for my $49.99 was a new application in the dock, Server. That, it would appear, was that, and it was, as far as I could tell, a rather severely hobbled version of the Server Admin application that used to power earlier editions of Mac OS X Server. Web services, for example, no longer had the flexible options that Snow Leopard Server used to make available; while multiple domains could quite easily be set up, there was a degree of inconvenience in the new simplification — instead of adding, say, domain.com and then configuring www.domain.com within that domain’s settings, each domain had to be set up separately to point to the same folder of web pages. Aliases and redirects can, of course, be set up — Apache still powers the web server, with Server only a graphical front-end — but now they need hand-to-hand combat between user and config files in the Terminal. While this still enables full access to everything you’d want to be able to do in Apache, it’s the very antithesis of Apple’s claim that Lion Server is The Server For Everyone, unless the only option Everyone wants is the choice of turning PHP on or off.

Not that turning PHP on is as helpful as it might be. PHP, for many people, me included, is useful only as long as it’s interacting with a MySQL database or two. The only reason I run PHP on my web server is to enable WordPress, my blogging and CMS platform of choice and one which is utterly dependent upon PHP being able to talk to MySQL. And maybe I’m being a bit too literal, a little rigid in my thinking, here, but I find that MySQL works so very much better when it’s actually installed. Which, oddly, it isn’t under Lion Server. MySQL was part of Mac OS X Server as recently as version 10.6.x, but it has now disappeared, with, typically, no explanation beyond the bare statement that ” Lion Server replaces MySQL with PostgreSQL.” There is speculation that the change is related to Apple’s dislike of GPL licences and Oracle’s acquisition of the product, and certainly it has resulted in plenty of unhappiness among users; at any rate, Apple’s documentation goes on to state that upgrades from Mac OS X Server 10.5.8 — that would be Leopard Server — and later will keep their functioning installations of MySQL, but, of course, this didn’t help me too much, given that I was performing a clean install.

A download of MySQL, which I then had to install, and configure, manually, was the workaround, but it did involve manual manipulation of a number of configuration files — again, not entirely what one might expect from The Server For Everyone, which now appeared to need renaming The Server For Everyone Who Only Wants to Configure PHP In Their Web Server And Not Run MySQL. Much time was spent searching the Web for help, and credit is definitely due to Tasman Hayes and Rob Allen. But I had my web server serving again, so onward.

Mail options in Mac OS X Lion Server

Lion Server's limited mail options

Next came mail, the other primary job of my server. The Server application was the obvious first place to look for settings, but options were quite limited. How, for example, could I specify the various different domains for which I wanted to provide service? Again, I could, if I felt like it, get my hands dirty tinkering with configuration files, but why should I? This functionality was provided in the Server Admin programme that was part of earlier iterations of Mac OS X Server — and there was my answer. Server Admin, however, was not part of the standard installation of Lion Server, but had to be downloaded separately from the Apple website. Once downloaded, it allowed me to set up mail service for the several domains I host, but, curiously, not webmail, despite that being one of the very few options actually offered by Server. (I eventually realized that, at least as I have my system set up, webmail is an intranet-only feature. Hmmm.)

Mail duly configured, I decided to tackle an issue I’d always struggled with in earlier versions of Mac OS X Server — virtual mail hosting. I host websites for both threelionstech.com and threelionsphoto.com (both seriously under re-construction at time of writing; you’re welcome to visit right now, but you might not be impressed), and also receive email sent to both domains. The problem I’ve had until now has been configuring my mail server so that mail to steve@threelionstech.com and steve@threelionsphoto.com can be picket up and dealt with by two separate IMAP accounts in my mail client. This can, I know, be done — I had it working, briefly, a couple of years ago. But the setting up of this feature is messy and not a little convoluted. My joy was unbounded, then, when I discovered that Server’s “Users” panel enables this feature effortlessly — simply set up a new account and specify the email address you want it to receive mail for, and you’re done. I was, at this point, almost (but not entirely — it still rankles) willing to forgive the hours of gaffing around that I’d had to deal with in setting up MySQL.

So now my server is happy again. If you’re reading this, then it’s still working. Much has changed, some things have been taken away, and the target market for Apple’s server software, especially since the demise of the XServe, is clearly home users. I’ll explore Wikis next — Apple are pushing them quite strongly, but since I run my own business I don’t know how much mileage I’ll get. I’ll tinker with calendar services. I’ll leave the “Next Steps” box (see the screenshot above) alone; it seems a little simplistic and facile. For now, my server is serving again.

Rating: ★★★★☆

Share and Enjoy:
  • Print
  • Digg
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Technorati
  • Twitter
  • Add to favorites

Tags: , , , , , , , , , , , , , , , , ,


Upgrading to WordPress

Posted by steve on Jan 11, 2010 in News, Personal, Software, Uncategorized

One of the biggest dangers associated with having as many websites as I do — a good half-dozen, at the last count, including this one, this one and this one — is that it’s hard to keep generating content for all of them. And, while I’ve been busy writing about all manner of other things, I’ve been sadly neglecting my very own site. I looked at it recently and realised that I hadn’t updated the content in over a year and a half.

My website, before rebuilding in WordPress

My website, before rebuilding in WordPress

The irony, of course, was that I’ve been working on plenty of other sites about, and for, other people and other things. I’ve been using WordPress as my new primary web-design tool; it’s gone way beyond the blogging engine it used to be and has become a fully-featured and quite mature content-management system. I’ve been taking advantage of its flexibility for my other concerns and clients, so I decided it was time to rebuild my own site in WordPress.

The problem was, I built my site a couple of years ago in DreamWeaver, and I quite liked the look of it. It wasn’t, I’ll admit, the absolute last word in design — I’m much more the writer and technician; the lovely and talented Mrs. McCabe is very much the designer of the operation — but I was fond of it. The challenge was how to re-purpose the design I’d created in DreamWeaver as a WordPress theme.

In the end, it turned out to be quite remarkably easy. I’ll post a complete blow-by-blow one of these days; for the time being, here are the basic steps:

The same site, rebuilt in WordPress
The same site, rebuilt in WordPress

  • Install WordPress on my hosting service. This was quite straightforward — my hosting service use Fantastico De Luxe, a very simple couple-of-clicks installation system. Once it was set up, it was time to
  • Create a new theme. This basically required two files in a folder in the Themes directory of my WordPress installation. Despite what I’ve read elsewhere, it looks like all that’s required is a basic template file, index.php, and a stylesheet, stylesheet.css — so long as those two are there, you’re in business. The next step was to
  • Upload the stylesheet. A little bit of tweaking of the .css file and it was ready to upload to the server. This contained all the designy goodness of the site; all that was left, now, was to
  • Replace verbiage in the home page to WordPress .php code. This was the tricky bit, but, with a fair old bit of trying, reloading, re-trying, re-reloading and so forth, it turned out to be a fairly straightforward process.

So there it is. SteveMcCabe.net is now live again. It’s all but indistinguishable from the old version. I did make a couple of very small adjustments that I’ve been meaning to make for a while, but otherwise the site’s where I wanted it to be.

Tags: , , , , ,

Copyright © 2017 Steve’s TechBlog All rights reserved. Theme by Laptop Geek Site content developed by Steve McCabe.