#!/bin/sh # Tested on OSX 10.8 # update system software # sudo softwareupdate --install --all # install xcode # install xcode command line tools # enable password-less sudo # enable ssh access echo export PATH='/usr/local/bin:/usr/local/share/python:${PATH}' >> ~/.bash_profile export PATH="/usr/local/bin:/usr/local/share/python:${PATH}" # install homebrew ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)" # required only if running a hackintoch in virtualbox, must perform after homebrew install sudo sed -i -e 's/march=native/march=core2/g' /usr/local/Library/ENV/4.3/cc brew install wget wget https://raw.github.com/mxcl/homebrew/master/Library/Formula/python.rb sudo sed -i -e 's/enable-ipv6/disable-ipv6/g' python.rb brew install python.rb brew install boost brew install gmp brew install git sudo easy_install pip sudo pip install --upgrade pip sudo pip install --upgrade setuptools sudo pip install gmpy sudo pip install obfsproxy sudo pip install pyptlib sudo pip install pyinstaller sudo touch /usr/local/lib/python2.7/site-packages/zope/__init__.py git clone https://github.com/kpdyer/fteproxy.git cd fteproxy make -j`nproc` install_name_tool -change /System/Library/Frameworks/Python.framework/Versions/2.7/Python /usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Python fte/cDFA.so