Create a Mountain Lion Install DVD or USB Drive after App Store purchase

Apple, Macintosh, Mountain Lion, OSX, osx Server
Once you've purchased Mountain Lion from the App Store, follow these steps to create a backup install DVD or flash drive Download Lion from the Mac App Store—but don't install it yet, because of the disappearing installer issue noted above. Find the installer in your Applications folder and right-click on it then select "Show Package Contents." Head to Contents and SharedSupport and look for the file called "InstallESD.dmg" Open up Disk Utility from your Applications and Utilities folder and drag the DMG file into the sidebar on the left. If you're burning to DVD: insert your disk, select the DMG file in the sidebar, and hit "Burn." Skip to step 6. If you're burning to USB, you'll need to first format the drive properly: Insert the disk and select it…
Read More

SSH to your remote machine using Back to My Mac iCloud Service

Apple, CLI, Macintosh, OSX, osx Server, ssh, XServe
This is kinda cool. It only works if you have access to "Back to My Mac" service and you have it turned on in the remote mac's preferences (under iCloud preferences). If you ever need to find out the FQDN (Fully Qualified Domain Name) of your remote mac and connect to it via ssh or something like it you can use the following command in the terminal: echo show Setup:/Network/BackToMyMac | scutil | sed -n 's/.* : *\(.*\).$/\1/p' This should spit out the "domain name" for your "personal" iCloud DNS. The output looks something like this: 12345678.members.btmm.icloud.com To use this in a ssh command you would need the name of the remote machine plus the information above: ssh -2 -6 remote-hostname.12345678.members.btmm.icloud.com That's it…..you should see a prompt for ssh login…
Read More

Using iCloud to sync files just like dropbox

Apple, iCloud, ipad, iPhone, iPod, iPodTouch, Macintosh, OSX, osx Server, XServe
If you didn't know, iCloud has a really neat feature that allows it to act just like dropbox. If you activate the "Document & Data" synching option in the iCloud pref panel, it allows you to sync any file using iCloud. This is contrary to what Apple is selling the service as being just for "Custom" Apps that have the iCloud feature (i.e.: keynote, numbers, etc.). So here is how you take advantage of this. Once you've turned on the feature in the preferences panel, you open up Finder. Hold down the "option/alt" key and from the finder menus choose "Go/Library". This should land you in your not so secret Library directory. You need to hold down the option key to see this, since OSX Lion hides the users Library…
Read More

Adding mcrypt support to builtin php5 on OSX Leopard….

Apache, Apple, Macintosh, OSX, osx Server, php, Server, XServe
I got a request to add mcrypt support to our Leopard server today and here is a brief step-by-step installation instruction. This works well under the current 10.5.8 server installation. It should also work for 10.6 (snow leopard), but I have not tried it. Before you start here are the requirements: Backup your system Install (and update) the latest XCode (I've got version 3) Install X11 client stuff from your server install DVD install X11 SDK stuff from your server install DVD Ensure you have server 10.5.8 (latest update as of Feb.04.2011) Make sure you have not tried to install mcrypt using another method. We need a "virgin" 10.5.8 install (as far as homebrew/local installs) BACKUP Please note that this will add mcrypt support to php. This is NOT the…
Read More

Adding GD support to builtin php5 on OSX Leopard….

Apache, Apple, Leopard, Macintosh, osx Server, php, XServe
I got a request to add GD support to our Leopard server today and here is a brief step-by-step installation instruction. This works well under the current 10.5.8 server installation. It should also work for 10.6 (snow leopard), but I have not tried it. Before you start here are the requirements: Backup your system Install (and update) the latest XCode (I've got version 3) Install X11 client stuff from your server install DVD install X11 SDK stuff from your server install DVD Ensure you have server 10.5.8 (latest update as of Feb.04.2011) Make sure you have not tried to install GD using another method. We need a "virgin" 10.5.8 install (as far as homebrew/local installs) BACKUP Please note that this will add GD support to php. This is NOT the…
Read More

Optimizing Snow Leopard for SSD drives….

Apple, Macintosh, OSX, osx Server
I just installed a new 128GB SSD drive in my older C2D 17" macbook Pro and let me tell you....WOW....This thing is on fire. The system is extremely responsive and apps literally jump onto the screen. The machine now boots up to full desktop in roughly 17 seconds. Now that's nice. I did do a bunch of changes to the way Snow Leopard is setup to optimize a couple of things that are normally tuned for HDD's. Turn off Sudden Motion Sensor (SMS): If you are replacing your primary (and only) HDD internal drive with a SSD, you can get a bit of a performance boost by turning off the Sudden Motion Sensor technology that comes with your laptop. Remember your SSD doesn’t use read/write head on rigid platters so…
Read More

Map any network drive to Mac OS X that auto mounts after system reboot

Apple, Macintosh, OSX, osx Server, Tip
Here is a quick recipe for making a network drive auto mount on your OSX machine. This works with pretty much any protocol supported by Finders "Connect to Server" option. Here is how you do it: From the Finder, hit Command+K or select Connect to Server from the Go menu. You'll see the following window, enter the relevant information (ie: the network drive location, be it afp:// or smb:// or http://) and hit Connect button. Enter your login/password and click “OK” Make sure your Finder Preferences are set so Network Drives are visible on your desktop: At this point you should have a icon like on your desktop Now go to System Preferences under the Apple menu Click on the Accounts icon under System and select Login Items tab (you…
Read More

Reset iTunes 10 window control buttons

Apple, Macintosh, OSX, osx Server
Not sure what's happening lately in the Apple UI design department. Someone over there decided to reposition the window control buttons (you know x,-,+ aka. close,minimize,maximize) vertically in the latest itunes10 (see pics below). If you prefer the old (proper) way of having them ordered horizontally (see picture above), you can use the commands below: defaults write com.apple.iTunes full-window -1 If you need to reset it back, you can use the commands below: defaults write com.apple.iTunes full-window -0
Read More