osx


Installing dnsmasq on Mac OS X for local development

To install dnsmasq, you need to have installed homebrew first. Have a look at this article if you haven't got brew yet. You can install dnsmasq like this: brew install dnsmasq Next up, copy the configuration files and start dnsmasq: cp $(brew list dnsmasq | grep /dnsmasq.conf.example$) /usr/local/etc/dnsmasq.conf sudo cp $(brew list dnsmasq | grep […]


Securing Mac-OS from CVE-2014-7169 (Shellshock / Bash bug)

For this to work you need to have Xcode installed. If you don't have it, try: sudo xcode-select –install In a terminal execute these commands: mkdir bash-fix cd bash-fix curl https://opensource.apple.com/tarballs/bash/bash-92.tar.gz | tar zxf – cd bash-92/bash-3.2 curl https://ftp.gnu.org/pub/gnu/bash/bash-3.2-patches/bash32-052 | patch -p0 curl https://ftp.gnu.org/pub/gnu/bash/bash-3.2-patches/bash32-053 | patch -p0 curl https://ftp.gnu.org/pub/gnu/bash/bash-3.2-patches/bash32-054 | patch -p0 cd .. xcodebuild Wait until you […]


Securing Mac-OS from CVE-2014-6271 (Shellshock / Bash bug)

For this to work you need to have Xcode installed. If you don't have it, try: sudo xcode-select –install In a terminal execute these commands: mkdir bash-fix cd bash-fix curl https://opensource.apple.com/tarballs/bash/bash-92.tar.gz | tar zxf – cd bash-92/bash-3.2 curl https://ftp.gnu.org/pub/gnu/bash/bash-3.2-patches/bash32-052 | patch -p0 cd .. xcodebuild Wait until you see "BUILD SUCCEEDED". Backup your old executables: […]


Installing Homebrew on Mac OS X

Just type the following command on a command line: ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" The output should be similar to this: ==> This script will install: /usr/local/bin/brew /usr/local/Library/… /usr/local/share/man/man1/brew.1 ==> The following directories will be made group writable: /usr/local/. /usr/local/bin /usr/local/include /usr/local/lib /usr/local/lib/pkgconfig /usr/local/share /usr/local/share/man /usr/local/share/man/man1 /usr/local/share/doc ==> The following directories will have their group […]