https://github.com/ilikenwf/apt-fast
Update!
sudo apt-get update; sudo apt-get dist-upgrade;
directories setup
mkdir ~/apps ~/downloads ~/projects;
Base utilities
sudo apt-get install build-essential curl git wget;
sudo apt-get install byobu;
zsh
sudo apt-get install zsh; chsh -s $(which zsh);
curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh
cd ~; git clone https://github.com/alexleekt/dotfiles.git dotfiles; ./dotfiles/bin/dfm;
sudoers (disable password re-prompt)
echo "$USER ALL=NOPASSWD: ALL" > /tmp/$USER; cd /etc/sudoers.d/; sudo cp /tmp/$USER .; sudo chown root:root $USER; sudo chmod 440 $USER;
cd ~/apps; git clone https://github.com/joelthelion/autojump.git autojump; cd autojump; python install.py;
git clone git://github.com/kennethreitz/autoenv.git ~/apps/autoenv;
curl https://raw.github.com/creationix/nvm/master/install.sh | sh
curl -L https://get.rvm.io | bash -s stable --autolibs=enabled
Install Dropbox on Linux headless server
Install Cloudflare (dynamic dns) ddclient
sudo apt-get install libio-socket-ssl-perl;
Setup cron to run ddclient every 10 minutes.
crontab -e */10 * * * * nohup /home/alexleekt/bin/ddclient -file /home/alexleekt/dotfiles/etc/ddclient.conf -cache /tmp/ddclient.cache &> /dev/null
Remove exim4 mailer
apt-get remove exim4 exim4-base