Archive

Archive for the ‘OS X Server’ Category

iCloud, OS X Lion and iOS 5.0 to be Introduced by Steve Jobs at WWDC ’11

May 31st, 2011 No comments

Damn.

Damn damn.

Damn damn DAMN damn DAMN DAMN DAMN.

I couldn’t get a ticket to WWDC this year. There was absolutely no way I could cough up that kind of cash in 10 hours flat. I tried, but it just didn’t happen.

This morning comes the press release. iCloud is no longer a rumor. It’s really here. iOS 5.0 and OS X Lion are the focal points of WWDC ’11. This just makes me sad. Oh well, I suppose I will see the videos after the conference.

You can read the press release for yourself right here. All of you who will be standing in line next Monday… have a great time! I’m there with you in spirit.

Saving iPad Documents to Dropbox

May 22nd, 2011 No comments

If you’re not familiar with Dropbox by now, you should be. Dropbox is what MobileMe‘s iDisk aspires to be one day. For now, it isn’t.

For the uninitiated, Dropbox is a fantastic cross-platform bit of code that synchronizes files across all of your computers. It also provides a look into the folders via a web browser if you should need it. They also offer an iPad app that allows you to browse and download files to local applications such as Pages.

Alas, Pages on the iPad, however, doesn’t speak Dropbox. It will allow you to edit the documents and export them to:

  • An email
  • iWork.com
  • iDisk
  • A webdav server

Dropbox is missing from that list. You could save your files back to your iDisk, but then you’d need to go to a regular machine and copy that file from the iDisk to your Dropbox folder. That’s pretty obtuse.

While we wait for Apple to purchase Dropbox and implement it as an iDisk replacement, we can use the magic of Apple Mail and Applescript to create a nifty workaround. Today I spent some time on a script that will do the following:

  • Take the contents of an email message with a particular subject line
  • Extract the attachment
  • Save the attachment in a Dropbox folder depending on the keyword you use in the subject line of the message

Since Dropbox runs all the time on your Mac, it will notice the file change event and automatically sync the file to all of your computers linked to that Dropbox account.

Making an Applescript that will save an attachment to your file system is quite easy. Linking a mail rule to that Applescript is also quite easy. Therefore, the implementation of this is easy. What makes this script a little different is that you can specify keywords in the subject line and it will decide where to put the file inside your Dropbox folder based on the keyword. Editing those keywords are completely up to you.

To implement, download the “Save Attachment to Dropbox.scpt” file below. You should open /Utilities/Applescript Editor.app and modify the script’s keywords for the subject lines you plan to use. Save the .scpt file to your favorite location for AppleScripts. (For Mail scripts, I use “~/Library/Scripts/Mail”).

Next, create a rule in your Apple Mail using criteria to judge when to fire off the rule. In my case, I told it to look for messages that meet all of these criteria:

  1. Messages coming from a particular email address
  2. Containing a subject line keyword that starts with“-savedb”

The script will execute and look at the subject line of your email message. The subject line should start with “-savedb…” and have some kind of keyword in there. You edited the script to define those, right? Well, you don’t use the rule to define those keywords. Note that I said in the keyword to use “starts with” the string “-savedb”. The script will determine what to do with it based on what you code there.

I also recommend adding an action to move the processed messages over to a folder. In my case, I created a folder called “Processed to Dropbox” and told the rule to move the message there.

An important note: the script will overwrite any files that have the same name as the file. I felt that this was a safe thing to do since Dropbox automatically backs up 30 copies of the file on the site and you can retrieve any version you like. Deleted versions of the files are tossed in the Trash. They are not deleted completely until you empty the Trash. If you still do not like this behavior, feel free to modify the script to remove that action.

Now all you have to do is send yourself an email from the proper address with the proper keyword from your favorite app on the iPad and voila, it’s instantly synced to all of your computers and backed up.

Another way to use this is via “DropDAV” at http://dropdav.com. I was close to using that solution until I read more about it. I decided I wasn’t entirely comfortable with giving another third party my Dropbox username and password, so I developed this method instead.

I hope you enjoy this script and it helps band-aid the interruption in workflow until Apple purchases Dropbox. :) If you have any questions, don’t hesitate to ask in the comments below.

If you want to encourage the developers of Dropbox to add WebDAV support, be sure to give them a +1 vote here.

Click here to download “Save Attachment to Dropbox.scpt”.

Enhanced by Zemanta

Mac OS X Server v10.6.7: Wiki movies may not play in Firefox or Internet Explorer

May 19th, 2011 No comments

My good buddy @fakemacfusion on Twitter ran across this little tidbit on the Apple KB. Apparently, in OS X 10.6.7, movie files posted to the wiki server in OS X Server may not play in Firefox or IE. It’s a damn shame that no one uses either of those web browsers anyway, right? Cough.

Mac OS X Server v10.6.7: Wiki movies may not play in Firefox or Internet Explorer

(Via @fakeMacFusion)

WWDC Sold Out in Six Hours!?

March 28th, 2011 No comments

Guess who didn’t get a ticket? There’s absolutely no way I will ever be able to purchase a ticket through my corporation if the windows is down to the hour. No way. I was going to be lucky to pull a purchase within 48 hours.

Apple needs to expand this conference and offer paid developer accounts a first right of refusal.

Apple reveals new info about OS X Lion; launches Developer Preview | Macgasm

February 24th, 2011 No comments

Apple reveals new info about OS X Lion; launches Developer Preview | Macgasm: “”

(Via MacGasm)

Looks like OS X Lion will include the server components baked into the client. Interesting and probably a very, very good move. Could this be a preparation for licensing the OS on more hardware that is not developed by Apple?

S/MIME on the iPhone

February 1st, 2011 No comments
There’s an app in the store called “SMIME Reader” that is free to download and install. This morning I tested it with my certificates and it works for decrypting S/MIME on the phone. You cannot, however, use it to encrypt a message back.
To get it working:
  • Install the app from the app store like you normally would
  • Use Keychain Access to export a pkcs12 file of your certificates and keys (.p12 file)
  • With SMIME Reader installed, tether your iPhone to the iTunes library you sync against. Go to the “Apps” tab and scroll all the way down. There you will see a box with a list of apps that will take documents. Select SMIME Reader on the left and drag your .p12 file into the window beside it.
  • Sync the iPhone
  • Open the SMIME Reader app on the iPhone and it will read the identity file. It will ask for the password to get the private keys. You must provide your .p12 password.
  • Now, anytime you need to decrypt an email message, click on the smime.p7m file attachment in Mail and tap “open in SMIME Reader.” It will launch SMIME Reader and decrypt the SMIME attachment, then display the text.
As I said, it’s not a full solution since you can’t encrypt a message, but until Apple provides a full solution this would probably help for 85% of the use cases of encrypted messages on the iPhone.
Categories: iPhone, Mail Server Tags: , , , , ,

Mac OS X Server – Client Update Solutions

January 3rd, 2011 No comments

When you have your own Apple environment you’ll also want to keep your clients up to date. But, since it’s a managed environment a normal user doesn’t have the correct permissions and you’ll want to manage what they get as well. Having the latest and greatest update for each application without testing isn’t exactly a good thing.

For that purpose I’ll write down the two solutions that I know of, one easy solution and a more complex solution.

Read more…

Move SteamApps Folder on a Mac

January 2nd, 2011 No comments

(NOTE: While not necessarily enterprise-related, some of your users may have Steam on their Mac and expect you to support it).

On a Windows machine, the Steam application allows you to relocate the “SteamApps” folder to a different drive. This allows you to effectively shift your content around anywhere you like. When you install a new game, it’ll even ask you where you want to install it.

For some bizarre reason they did not afford the same convenience to Mac users. Initially when Steam was released for the Mac they even forced you to keep the SteamApps folder in your Documents folder. This made it really painful to use a portable home directory. Valve relented after a huge user outcry and relocated the folder to ~/Library/Application Support/Steam, which is probably where it belonged anyway.

Now what if you want to move it out of there to an external drive? I have roughly 40gb of games wrapped up in that directory and frankly, there’s no reason for it to exist in my home directory. I studied around on the forums and Steam support site and discovered they did not have any ability to shift this content around natively. That won’t defeat me, however.

I moved the SteamApps folder to a location on an external drive and first tried to make an alias of the new location to ~/Library/Application Support/Steam/SteamApps. This didn’t work. When I launched Steam, it told me that it had to exist on a case-insensitive volume. That’s rather odd. My external drive is formatted with HFS+ case-insensitive. No matter. I deleted the alias and tried a UNIX-style link:

ln -sf /Volumes/DS4600/Storage/SteamApps 
~/Library/Application Support/Steam/SteamApps

(Note the line break was inserted for readability – do not use a line break in your command!)

I then started Steam back up and I heard the DS4600 RAID-5 volume (which is where the SteamApps now reside) spin. I looked in the library and voila, all of my games were present.

That wasn’t so hard. Wonder why Valve won’t let you do this? I’ll keep it running this way for a while and see if it blows up.

Enhanced by Zemanta

Mac OS X Server – Enterprise Backup Solutions

December 13th, 2010 No comments

If you run your own Apple server then you’ll also (obviously) need to think about backing up whatever is on that server (user home directories, shares, mail data, websites, databases, etc.). For that purpose you could use Time Machine, but from my personal experience I’d have to say that Time Machine really won’t scale that well when your environment grows.

So, when that happens you have to look at the big toys out there and the “real” backup software. But which one?

Read more…

MacNN: XServe owners staying put (survey)

December 2nd, 2010 2 comments

MacNN has a report from the Enterprise Desktop Alliance that indicates owners of XServe’s are planning to keep them as long as possible.

Other facts include organizations that own XServes are more likely to have Macs in their environment. Who would’ve thought businesses actually want a full Mac lifecycle?

The report from MacNN can be found here. They link to the original report from EDS as well. EDS is expecting to have a webcast to discuss this survey and options moving forward to Mac Pros or Mac Minis, which still makes my stomach hurt a little.

Categories: OS X Server, Xserve Tags: