Showing posts with label Snow Leopard. Show all posts
Showing posts with label Snow Leopard. Show all posts

Saturday, July 23, 2011

OS X 10.7 Lion and Lion Server Upgrade Notes

In this post I will share my notes on the upgrade from OS X 10.6 "Snow Leopard" to 10.7 "Lion". This is not meant to be a comprehensive review but I hope someone can find some benefit in this information. I am an early adopter in most cases and a software lover (fanatic or addict might be a more appropriate adjective!), so I bit the bullet for this upgrade as soon as I could get it, knowing that I would be in for some trouble here or there. As for my background, I am a technologist mostly on the management side these days but do have a clue, and since I am not doing OS X or iOS development nor did I have time to read too much about Lion before the release, these notes represent fairly fresh eyes on the product.

Generally, my upgrade from 10.6.8 to 10.7.0 went smoothly and without trouble. Developers of the software I use were on the ball, and had apps ready for Lion either off their sites or in the Apple App Store. Kudos to them and to Apple for all the hard work. Make no mistake, software is truly hard work, and to make things appear easy and to "just work", like Apple often does, requires massive effort. If it looks easy, the guts of it are hard, in the world of software. There are no magic wands, although it might appear that way.

OS X 10.7 Lion

I thought the download would take forever, but it was relatively quick after making the payment in the App Store. I feel the low price is more than fair; generous even, given the value provided. I did two systems: my home system and my work system, paying for those separately. The morning download at about 7AM JST was fast, while the late afternoon download at the office was slower. Either way, it is a 4GB download.

I retrieved the file that had downloaded to the /Applications folder, before I clicked "Install", for safekeeping, and copied it to a USB stick. There is a way to convert a USB to a bootable disk to use for reinstallation, so I will revisit and do that later.

After clicking Install, the time to install was similar to past experiences with OS X upgrades. Breakfast eaten and paper read, I went back to look, and the system had rebooted into a login screen with a nice-looking "textile" background; very attractive. I used my usual account to log in, and after some grinding of gears (caches and such being created I imagine), everything pretty much came up as expected.

After the install and logging in, my first impression was that this release is a definite paradigm shift towards a more iOS like experience on OS X, given features like Launchpad and Mission Control. These take over a bit of the market share for small development houses making utilities to do a similar thing albeit in a more advanced manner. QuickSilver, LaunchBar and Spaces come to mind.

Some apps do conversions the first time you start them, like Mail and maybe Calendar. This takes a while especially if you have a massive amount of data stored.

Spotlight re-indexed after the first reboot, causing a temporary loss of Spotlight search and, full text search within Mail, for example, while the index process grinds away. Spotlight has been glitchy in the past for me, but this time "it just worked."

Lion has a monochrome palette, looking at the mostly-grey icons in Mail, Finder and Safari. Colorful icons are still present in the Launchpad and Mission Control apps. Then there are the iCal and Address Book apps which look out of character, looking like the objects they represent: iCal like a physical calendar complete with a torn paper edge and Address Book looking like an old-fashioned scheduler portfolio. They look good, but a bit out of place when compared with Mail, Finder or Safari.

Mail.app has really matured well with the Lion release, and has sharp-looking grey-on-grey icons. The problem for me is, I like to rely on color as a visual clue for speed while I work. I suppose one way of looking at it is, there are few distractions from the task at hand, and the monochromality of certain apps make it easy to concentrate on the work being done rather than on colorful icons.

Two of the key new-to-Lion features, LaunchPad and Mission Control, are very iOS-like and easy to use. For instance, to get into Mission Control, which lets you administer and move between spaces, you swipe four fingers upward on the trackpad. This is assuming you have one either on a Laptop like a MacBook Pro, or a Magic Trackpad, but I think we are in the middle of a bootstrap to make OS X very much a touch-centric OS.

An example of a really large "who moved my cheese" moment, and whopping big paradigm shift, is the scroll bars or lack thereof. Lion has the ability to allow any app that is programmed to take advantage of it, to run full screen. This looks fantastic, in apps like Mail, Safari, and even the Mars Edit edtor I am using to write this post. Further, the scroll bars do not appear by default a la iPhone and iPad (i.e., iOS), giving a very clean look to Lion apps, in general. Despite the relative hysteria over this predictable Apple shift (I mean, how many times have they done it in the past?), I am not finding it to be a problem at all. You just swipe two fingers on the trackpad to scroll, or for the trackpad-deficient, you can nudge your scroll button on your mouse. If you jiggle the trackpad with two fingers for instance, the scrollbars appear, and you can then drag-scroll as before and always.

The concept of scrolling itself has changed too, and this takes a bit of getting used to. On a tablet or phone, the touch paradigm means you push or pull the objects in the direction of the movement of your fingers, swiping and pinching. However, this is the opposite of what you might be used to, where pulling down on a scroll bar moves content up. With a touch device, this is the opposite, and so it is with OS X Lion. You pull or push the object (document, list, etc) with your fingers on the trackpad.

Safari has a neat visual indicator of download progress, to the right of the address bar.

Suspending with Option-Command-Eject is faster than ever. Where Snow Leopard was taking ages to go silent, Lion goes to sleep immediately. Perhaps this is due to all the various improvements in automatic file saving and caching?

After restarting a program, Lion remembers the exact state of it, and reopens the program how you left it. If you had 10 text files open, it will open them all back up the next time. I can see this might be annoying, but, it is really nice in many cases.

So far, I really like Lion. As I observe more, I will update this post.

Updates 24 July 2011

When you cmd-click a link in Safari, it now does the right thing and opens the tab next to what you were looking at, instead of way, way over in right field. I like it.

If you use Path Finder, note that it messes with Mission Control. I am not sure what I need to do yet, but I had to keep searching for the open Path Finder window in its Windows menu.

The upper-right hand "lozenge" icon is gone, having been replaced by the full screen icon. It was useful to quickly cycle between different views of the icon bar in any given application, if you option-click it. RIP.

The stop light icons in the upper left of any window seem to function the same, but they are smaller and daintier.

Pressing option while clicking a menu still works to bring up hidden options.

A lot of text-to-speech voices were added and are available as optional downloads. Check out the Speech preferences panel.

Updates 3 Aug 2011

Finally, a security basic has been improved, in that you can easily set your mac to lock after screen inactivity or screensaver activity. System Preferences, Security and Privacy, General.

An irritation is, Lion spell-checks everything everywhere automatically, making it a bit difficult to type, sometimes. It is the iOS paradigm for sure. You can toggle this in System Preferences, Language and Text, Text, Correct Spelling Automatically. It requires a restart.

 

OS X 10.7 Lion Server

Luckily, my firm was not making use of too many of the features of Snow Leopard Server, or this upgrade would have been really painful. When I upgraded to Lion Server, a lot of stuff just broke, unfortunately, but more on that below.

When you go to buy Lion Server from the App Store, you are told that both programs need to be purchased, and it is just as easy as the client to install. XCode and the Lion Server Administration tools are available as separate downloads. When you download XCode, despite the fact that it is put into /Applications, you still need fo find and run the XCode install program.

You can still use Workgroup Manager and the Server Admin app, but Lion presents the Server app as the primary admin tool. The problem with this is, the Server app is overly simplistic. Where as Server Admin had many settings, Server.app has only 1 or 2 per service, and not all services came through the upgrade unscathed.

My firm was primarily using Open Directory, Apache, Wiki, Mail, MySQL, and some development tools on our Snow Leopard server. Some problems occurred with each:

Open Directory - some user IDs broke and I had to recreate them.

Mail Server - Lion is still using postfix, but, the upgrade broke our aliases in /etc/aliases. When I told postfix how to find the aliases file, in main.cf, mail started to flow again. That being said, there is nowhere to add virtual domains and so on and so forth, like you could do with Snow Leopard Server.

Apache - the virual hosts settings do not work, and I lost a whole range of websites in this. Virtual Hosting is the most basic thing, so it was a shame that Apple could not get this one right.

Wiki - the wiki is now being served out of the postgresql database (user collab, db collab), instead of out of the Collaboration folder. Further, the looks have been generified so you no longer have the ability to customize each wiki. However, I would say the usability of the wiki went up considerably from an editor standpoint. We still cannot edit the Wiki pages using an iPad.

MySQL - is no more, though I imagine you can install it some how. Lion server comes with PostGreSQL rather than MySQL but there is no GUI for it at all. You are stuck with psql or perhaps Tuples.app.

My feeling is, Apple are aiming Lion Server at the SMB market, and shutting out businesses that really want to push the envelope on Lion Server.

If that is the case, is it not strange to have so many troubles upgrading, or to have no easy way to back up the wiki, without hiring a tech to assist.

Updates 3 Aug 2011

Setting up notifications on the wiki was difficult, because apparently the wiki recognizes only its own hostname. Perhaps I misunderstood something, but for me, entering preferred addresses for each user did not work. I had to use username@my.host.name.com and set up a .forward file in each home folder. Definitely not something for the uninitiated.

 

In Conclusion

I will add more as I discover. Hope this was helpful.

 

Friday, February 05, 2010

Fixing Slow Snow Leopard Mail

OS X Snow Leopard Mail SMTPMany upgrading Mac users have reported that Mail is "slow" in Snow Leopard 10.6. There are several things you can do to remedy the situation. Here's what you can try, but please make sure you have Time Machine backing up your system, or are running an alternative like SuperDuper! or CarbonCopyCloner.

Reset SMTP Mail

One thing that sharp users observed on Apple's forums was that newly-created Mail accounts were not experiencing the slowness to send, that upgraders were commonly experiencing. You can export your mail, recreate your accounts and re-import everything, but another way to mimic creating a new account is to re-set SMTP credentials. It's a bit voodoo, but it seems to work.

  • In Mail app open Preferences, choose the Account you are having trouble with, and then choose "Edit SMTP Server List" from the "Outgoing Mail Server (SMTP)" drop down, in the Account Information panel.
  • Select the SMTP server you are using, and re-enter its credentials.
  • Click OK to Save.

Do this for all your SMTP servers, and remember you can always use Keychain Access to confirm saved passwords.

Vacuum That Index

Mail keeps an index of your messages in a sqlite database, and you can "vacuum" that index regularly to compact and clean up. This is especially useful if you regularly delete mail, and is well-documented on various Mac-related web sites. Quit mail, then from Terminal, run these commands.

yourhost:~ youruser$ ls -lah ~/Library/Mail/Envelope\ Index

yourhost:~ youruser$ /usr/bin/sqlite3 ~/Library/Mail/Envelope\ Index vacuum;

yourhost:~ youruser$ ls -lah ~/Library/Mail/Envelope\ Index

The bookend "ls" commands just show how large your Envelope Index is in megabytes, so you can see the before and after, when running the vacuum command. The middle sqlite3 command vacuums the index. For reference, recently vacuuming my mail envelope index required about 10 minutes, but reduced its size from about 70MB to about 40MB.

Run Cocktail

And finally for general performance, you should regularly run Cocktail. From Maintain's site:

Cocktail is an award winning general purpose utility for Mac OS X. It is a smooth and powerful digital toolset with a variety of practical features that simplifies the use of advanced UNIX functions and helps Mac users around the world to get the most out of their computers. Cocktail is installed at more than 200 000 computers world wide. The largest part being private individuals, but Cocktail can also be found at large international companies (Puma, Sony), educational institutions (Harvard University, University of Texas) or newspapers (The New York Times, Business Week).

The application serves up a scrumptious mix of maintenance tools and interface tweaks, all accessible via a comprehensive graphical interface. Most of Cocktail's major features are arranged in five basic categories. In addition, a Pilot lets you clean, repair and optimize your system with one click of the button.

Cocktail's Pilot is where you can schedule commands to run. I do a weekly Cocktail run, to reset disk permissions and delete caches. It seems to keep things running smooth, but you should note that for certain system cache resets, you should restart the system afterwards.

At any rate, I hope the above information helps someone out. Enjoy!

Wednesday, September 09, 2009

Directory Utility MIA in Snow Leopard?

Snow Leopard Directory Utility HiddenIs Directory Utility, which has been available in /Applications/Utilities, missing in action in Snow Leopard? No, it's just been moved to Core Services. Access it this way:

  1. Open Apple Menu, System Preferences.
  2. Enter Accounts, clicking the lock to authenticate as needed.
  3. Click Login Options at the bottom of the accounts list.
  4. Click Edit, to the right of "Network Account Server."
  5. Click Open Directory Utility.

You use Directory Utility to connect to Active Directory, Open Directory, or other LDAP servers.

Tuesday, September 01, 2009

Fixing EMobile USB Dialup on Snow Leopard

I just installed Snow Leopard OS X 10.6 with no problems after getting a replacement for a bad Family Pack install disk (the Shibuya Apple Store said that many people reported the same), and found that my EMobile Huawei D02HW USB Wireless Dialup card, which was fine in Leopard, died when Snow Leopard was installed.

Reinstalling the EMobile Huawei D02HW on Snow Leopard

Here's how I fixed it:

  1. Deleted /Applications/EMobile D02HW Utility.app.
  2. Deleted /System/Library/Extensions/HuaweiDataCardDriver.kext
  3. Deleted Huawei folders and files in /System/Library/Modem Scripts and in /Library/Modem Scripts
  4. Emptied the Finder trash.
  5. Rebooted the system.
  6. On plugging in the USB Modem, the system mounts it in Finder as a USB memory. Ran the installer EMobile D02HW Utility.app and got an error regarding AutoOpen. Bypassed this by opening the installer package via "Show Package Contents" in Finder, and ran the Contents/Resources/EMOBILE_D02HW_Drv_App.pkg, which is the actual installer. Now it runs with no errors. AutoOpen be damned.
  7. After the install, rebooted again.
  8. After the reboot, I can add the Huawei Mobile modem in Network Preferences. Phone number for these devices is "*99***1#", user name em, password em.

I read a report that you can simply change tone to pulse dialing in the existing Huawei Mobile settings (from Leopard, for instance), so maybe the failure just has something to do with a plist not working somewhere and changing that setting refreshes it, but removing and reinstalling works fine too.

Give it a try if you have trouble, and I hope this short tip is helpful for someone.

Monday, August 03, 2009

Plaxo Outlook Sync Now Fee-based, going DavMail

DavMail Gateway Settings

Despite its once-poor reputation, I have been using Plaxo to keep my iCal and Exchange calendar sync'ed as well as a way to keep in touch with business contacts. I've been syncing using the Plaxo Outlook client on an old clunker of a Windows box at work, to go Outlook to Plaxo, and also using the Plaxo iCal client on Mac OS X, to go iCal to Plaxo. It also works to sync Address Book entries. My goal in using it was to be able to use the Mail and iCal software in OS X, and not MS Entourage. I dislike Entourage because it puts your mail, calendar and address items in a single large monolithic database. Hard to back that up, and, it gets really, really large after a while.

At any rate, that setup working around Plaxo has worked well for me, but last week as of 30 July 2009, Plaxo changed tacks and will start charging for the Outlook sync services. This is part of the announcement email they sent me:

Act now: keep your Outlook Contacts in sync

Outlook sync will become part of Plaxo Premium effective July 30, 2009. This change will allow us to continue to invest in the development and support of this valuable (but high-cost) feature. In order to continue syncing your Outlook address book and calendar via Plaxo, you'll need to upgrade to Plaxo Premium.

If you act before July 30, you can lock in a 20% lifetime discount on Plaxo Premium. You'll get Plaxo Premium for $47.95/year, a $12.00/year savings off the regular $59.95 annual subscription price. In addition, you can try Premium, risk-free, for 30 days.

Of course, I appreciate that Plaxo might quite reasonably want to charge for sync, since it's got to be one of the most difficult things to do, programmatically. Lots of variables and expensive to maintain. Not being interested in yet another subscription service however, I decided to re-visit the topic and see if I could find a way to sync for less coin than that. I assume that since iPhone OS 3.0 supports connectivity to Exchange, that native Exchange connectivity for OS X iCal cannot be far behind.

Meanwhile, however, to have this iCal:Exchange sync while we wait for Snow Leopard, one can make use of the excellent open source project "DavMail." This is a simple app you start at login and keep running, that brokers connections between IMAP, CalDav and LDAP clients, and an Exchange server. You set it up for your platform, which in my case was Mac OS X, and then set up your Calendar, Mail and Directory so they access ports on localhost, your local machine.

DavMail sits there listening for the connections you set up, and it then talks to your Exchange server as though it were an Outlook Web Access server. Pretty slick, and it uses only about 70MB of memory and hardly any CPU on my system.

If it crashes and burns, I'll let you know in an update. Enjoy!