backing up your mac (for UNIX dweebs)
Saturday, August 15th, 2009follow the advice here: http://www.jwz.org/doc/backups.html
seriously. just do it.
if you need a GUI, SuperDuper, works wonderfully. this will save your ass. no joke.
follow the advice here: http://www.jwz.org/doc/backups.html
seriously. just do it.
if you need a GUI, SuperDuper, works wonderfully. this will save your ass. no joke.
somehow, apple managed to really screw up the X11 implementation that they shipped with leopard. fortunately, they had really sharp guys tracking this and the xquartz project stepped in quickly to plug the gaps. if you’re running leopard, this is the release to get. personally, i keep a copy of the latest version on my machine in the odd chance than an OS upgrade happens to trigger nastiness on the X11 front.
if you need to run a UNIX X app, you’re going to need an X server running. however, for the most part, if you’re just doing CLI stuff you’re not going to care. i happen to have an apparent inability to use the option key as meta. terminal doesn’t allow you to remap the command key to meta so .. i use rxvt (built from ports) and xterm is obviously readily available. X11 will honor the use of the command key as meta so my thumb will do the right thing.
release 2.3.2.1 and later provides the ability to update the system pasteboard w/copy on select from X11. this means that copy and paste work pretty much the way you would intuit between OS X apps and xterms, etc. without having to manually invoke the copy operation from the menu w/i X11. this of course assumes that you have sanely disabled “Enable key equivalents under X11″.
note to make this work you need to enable the “update pasteboard immediately when new text is selected” option in the preferences. this has persisted across a number of releases and pretty much just works the way you want it too. this was a major nit for me for a number of years. if you’re a recent convert, enjoy.
omnifocus – the most powerful productivity tool on my mac. i used to use a collection of text files, scripts, etc. this just slurps it all up and syncs to my phone. i use a hacked version of GTD for my workflow, which omnifocus is oriented to. however, as a catchall for things that need to get done, this can’t be beat. infinitely customizable and tweakable. i haven’t found too many things that it doesn’t just do.
adium – the last word in instant messengers for the mac. covers pretty much every protocol out there and a few that you really wish would just die already. the latest beta builds include support for twitter. i have to confess that integrated twitter support is a lot handier than i expected.
gitx – gui git client for the mac. this actually rocks pretty hard. graphical display of what you have going with your local git repo and useful for dorks like me who do everything in emacs before they shove it into word to share with coworkers.
vmware – i used to be a parallels fan. then vmware fusion came out and the performance was awesome, i could use other folks VMs and it didn’t sporadically suck up all available CPU. joy ensued.
cord – the best remote desktop client i’ve seen to date. full screen mode rocks, there’s support for font smoothing and unlike the microsoft remote desktop client, it just works. neat features like connect in full-screen mode and drawer storage of configs, etc are quite handy.
keynote – this is part of the iWork suite and i’ve personally found it to be a better presentation package than pretty much anything else i’ve seen. which isn’t a particularly high standard to beat, given that pretty much all presentation software sucks rocks. this is a notable exception it’s an excellent package.
microsoft word – over the years i’ve made my peace with MS word. under the mac it’s proven to be a more than capable platform for crafting those internal missives.
entourage – quite frankly i regard this as a flaming hunk of shit. i’ve made my peace with it and perturb it as little as possible with the fear that it will flame out and crash horribly. the sync function is barely passable. that it talks to exchange servers is nothing short of a miracle. it’s consistently had issues with parsing timezone information and the management of meeting invites and lack of a plug-in architecture has me consistently wondering if they’ve taken explicit pains to make this a royal pain in the ass to use. treat with care it will likely fsck you over. i refuse to put real email into this given the proprietary database backend and repeated exposure to horror stories involving corrupted databases. if i can’t edit my email with a text editor something’s gone horribly wrong.
in no particular order – here are some notes on the use of OSX for my UNIX dweeb friends who are making the jump.
go and get the developer toolkit (aka Xcode) – this will get you a working compiler and a kick ass development environment. unfortunately, i haven’t had a lot of time to monkey with Xcode for its primary purpose of developing mac apps. you should be able to install this off of the optional software installation on the OS distribution disk. alternatively you can get this from the apple developers web site. (http://developer.apple.com/mac/ – note you might have to create an account on this site to get the latest tools and they are a big download. get it when you’re someplace where you have a solid and fast connection.)
macports – run, don’t walk, to get this one. i’ve messed with fink, i find this to be more complete and more often than not, it just works. to make life easier, you should periodically update your ports collection. this is trivially accomplished via a periodic sudo port selfupdate. note, you’ll need to have a working Xcode installation to get this appropriately installed since, like the FreeBSD version of ports, it will build this stuff from source and resolve dependencies in the process. it’s not a binary build system like fink, et al.
emacs / vim – without taking a religious perspective on this topic it’s good to know that there are first rate implementations of both on this platform. i install both and toggle between the two of them as it makes sense. personally, i’ve toyed with some very useful 3rd party editors as well. i’ll include some additional notes on these as well.
su / root account – if you’re used to just su’ing to root, then you’re going to be surprised by the fact that root isn’t enabled by default. instead you use sudo for pretty much everything. if you’re used to running things as root and you feel like doing this all over the place you’re welcome to enable root (done by following these directions), over the past couple of machines i’ve had, i haven’t enabled root.
cron – OSX doesn’t run the crond like you’ve seen on other platforms instead there’s launchd. which assumes the responsibilities of a whole host of classic UNIX processes (notably, init and crond). if you use crontab -e a la the classic UNIX interface to crond, then all of the launchd stuff is handled in the background for you. if you expect to just copy over your crontab files from /var/spool/cron then you’re in for something of an awakening. to make all of this just work, use crontab, it will make sure that launchd is updated appropriately.
your IP address : 38.107.179.210