Delete a route in Mac OS X Yosemite

I realized I had a post for how to add a static route, but didn’t have one for how to delete one…. So here ya go!  

Down for a couple days…

I upgraded this server from OS X Mountain Lion Server to OS X Mavericks Server two nights ago….. The server is remotely managed by Macstadium and they HOOKED me up when it didn’t return from the upgrade.  They rebuilt the upgrade from USB and  put it back where it needed to be!  Kudos to Phil @ … Continue Reading

How to Add a Route in Mac OS X Mavericks

Ever have need to access a network that your default gateway (router) doesn’t know about?  Just add the route via the CLI/Terminal on a Mac OS X running Mavericks! The command is sudo route -n add (network) (gateway)

Where is httpd.conf on Mac OS X Server?

Mac OS X Server is awesome! But it “hides” configuration files for some of the services it runs. Finding them can be a pain… This is the directory where OS X Server puts all of the relevant httpd.conf files: /Library/Server/Web/Config/apache2/sites/

Disable Adobe Reader for Safari PDFs

If you absolutely MUST have Adobe Reader installed on your Mac, you probably hate how Adobe takes over Safari.  So anytime you view a PDF in Safari, you’ll have to load an Adobe plugin and slow your computer down to a halt… Yep, Adobe is great at making crapware! To disable this junk, it’s super … Continue Reading

Show the entire contents of a file in Linux/Ubuntu/Mac

I’m primarily a Juniper engineer, so most of my commands are followed by ” | no-more”. If you’re like me, you probably like to print the entire contents of files/output and scroll up within the terminal. There’s a super easy command that will print the contents of a file to the screen. “cat” cat output.txt

Update $PATH variable on Mac Permanently

If you’re a developer or you commonly run apps from directory locations other than the default Mac locations, you probably hate typing out the full directory when running the app or script. To update the $PATH variable within the Terminal you just need to type: export PATH=/new/path:$PATH To update the $PATH variable PERMANENTLY you just … Continue Reading

Install ownCloud on a Mac Mini Server

So, I now have my own cloud storage solution!  I installed an ownCloud server on my colocated Mac Mini in Atlanta today. The install process is super easy on a mac: Create a website using server use https if possible allow .htaccess in advanced settings Download ownCloud server for mac (http://owncloud.org/support/install/) Unzip and untar the … Continue Reading

Clear DNS Cache on a Mac (OS X)

If you’re ever messing with DNS records, you may run into times when you have stale entries in your DNS Cache. Here’s you how clear your cache in Mac OS X: dscacheutil -flushcache