2013-09-15 00:15:43 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2014-09-12 11:04:21 +00:00
|
|
|
# \curl -L https://raw.github.com/milkypostman/melpa/master/scripts/bootstrap | bash
|
2013-09-15 00:15:43 +00:00
|
|
|
|
|
|
|
SUDOENV='DEBIAN_FRONTEND=noninteractive'
|
|
|
|
|
|
|
|
cd ${HOME}
|
2014-09-12 11:00:36 +00:00
|
|
|
#sudo ${SUDOENV} add-apt-repository -y ppa:cassou/emacs
|
2014-09-14 18:24:19 +00:00
|
|
|
sudo ${SUDOENV} apt-get -y update
|
2013-09-15 00:15:43 +00:00
|
|
|
sudo ${SUDOENV} apt-get -y upgrade
|
|
|
|
sudo ${SUDOENV} apt-get -y \
|
|
|
|
install \
|
2014-07-07 09:56:33 +00:00
|
|
|
subversion git cvs darcs fossil curl bzr mercurial \
|
2013-09-15 00:15:43 +00:00
|
|
|
emacs24 emacs24-el emacs24-common-non-dfsg \
|
2014-09-27 04:17:37 +00:00
|
|
|
tmux make runit nginx
|
2013-09-15 00:15:43 +00:00
|
|
|
|
|
|
|
# build the log stuff
|
2014-09-14 18:24:19 +00:00
|
|
|
mkdir -p ~/log
|
|
|
|
mkdir -p ~/var/run
|
2014-09-27 04:17:37 +00:00
|
|
|
mkdir -p ~/var/lib/logrotate
|
|
|
|
mkdir -p ~/www
|
|
|
|
mkdir -p ~/etc
|
2013-09-15 00:15:43 +00:00
|
|
|
|
|
|
|
# ruby is used for templating
|
|
|
|
\curl -L https://get.rvm.io | bash -s stable
|
|
|
|
PATH=$PATH:$HOME/.rvm/bin
|
|
|
|
source "$HOME/.rvm/scripts/rvm"
|
|
|
|
rvm requirements
|
|
|
|
rvm install ruby-1.9.3
|
|
|
|
rvm use ruby-1.9.3 --default
|
|
|
|
echo "source ~/.profile" >> .bash_profile
|
|
|
|
|
|
|
|
git clone http://github.com/milkypostman/melpa
|
|
|
|
|
|
|
|
sudo reboot
|