Created
February 2, 2015 04:45
-
-
Save miyagui/9fb71f0fab1d51ed4d71 to your computer and use it in GitHub Desktop.
linux
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
# Make sure we're up to date | |
apt-get -y update | |
apt-get -y dist-upgrade | |
# Some basic tools to get started | |
apt-get -y install vim-gtk build-essential | |
# Install and setup Git | |
apt-get -y install git | |
git config --global user.name "Martin Wozniewicz" | |
git config --global user.email "[email protected]" | |
git config --global merge.tool "vimdiff" | |
git config --global color.ui true | |
git config --global credential.helper "cache --timeout=10000" | |
git config --global push.default simple | |
# Make common directories | |
mkdir ~/src | |
mkdir ~/school | |
mkdir ~/tmp | |
# Set up dotfiles to configure programs | |
git clone https://github.com/mpwoz/dotfiles.git ~/src/dotfiles | |
ln -s ~/src/dotfiles/.vimrc ~/.vimrc | |
ln -s ~/src/dotfiles/.vim ~/.vim | |
ln -s ~/src/dotfiles/.bashrc ~/.bashrc | |
ln -s ~/src/dotfiles/.profile ~/.profile | |
ln -s ~/src/dotfiles/.i3 ~/.i3 | |
# i3 tiling wm and some more utilities | |
apt-get -y install i3 i3status dmenu suckless-tools i3lock feh scrot | |
# install Chrome | |
wget -P ~/tmp/ https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb | |
dpkg -i ~/tmp/google-chrome-stable_current_amd64.deb | |
apt-get -y -f install | |
# Install useful desktop tools | |
apt-get -y install gnome-do tilda | |
# Python | |
apt-get -y install python-pip | |
# Node | |
apt-get -y install g++ libssl-dev apache2-utils git-core curl | |
cd ~/tmp/ | |
curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1 | |
./configure && make -j 6 && make install | |
# Some useful npm packages | |
npm install -g jshint | |
# Misc. | |
# Set clock format string to %A %-m/%-d %t %-I:%M %P |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment