-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnew_debian_box.sh
39 lines (30 loc) · 923 Bytes
/
new_debian_box.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# TODO: Ensure that apt-get exists - i.e. we're on a Debian or
# or Ubuntu box - before we try to use it.
# TODO: Bail with appropriate message if not the case.
# Install git, vim, zsh
sudo apt-get install git
sudo apt-get install vim
sudo apt-get install zsh
# TODO: check if directories exist before creating them
# Default zsh
chsh -s `which zsh`
# Install Desert colour scheme for Vim
# Referenced in .vimrc, below
cd ~
mkdir ~/.vim
mkdir ~/.vim/colors
cd ~/.vim/colors
wget https://raw.github.com/fugalh/desert.vim/master/desert.vim
# Make a projects directory
cd ~
mkdir ~/projects
cd projects
# Get the config project
git clone https://github.com/daynemay/.config.git
mv .config config
# Link ~/.vimrc and ~/.zshrc to the version controlled ones
ln -s ~/projects/config/vim/.vimrc ~/.vimrc
ln -s ~/projects/config/zsh/.zshrc ~/.zshrc
# TODO: DroidSansMono font
# Install Apache
sudo apt-get install apache2