Created
April 16, 2013 13:18
-
-
Save codedependant/5395796 to your computer and use it in GitHub Desktop.
Development Machine Install Script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get update | |
sudo apt-get -y install openssh-server git-core zsh gcc make zlib1g-dev g++ mysql-server python-setuptools python-dev build-essential libmysqlclient-dev sqlite3 libsqlite3-dev nginx samba | |
curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh | |
chsh -s `which zsh` | |
git config --global user.email "you@example.com" | |
git config --global user.name "Your Name" | |
git clone git://github.com/sstephenson/rbenv.git ~/.rbenv | |
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.zshrc | |
exec $SHELL -l | |
git clone git://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build | |
rbenv install 1.9.3-p327 | |
sudo easy_install pip | |
sudo pip install virtualenv | |
sudo sh -c 'echo "[ubuntu12.04] | |
writable = yes | |
path = / | |
public = no | |
browsable = yes | |
valid users = chen" >> /etc/samba/smb.conf' | |
sudo smbpasswd -a chen | |
sudo sh -c 'echo "UseDNS no" >> /etc/ssh/sshd_config' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment