Skip to content

Instantly share code, notes, and snippets.

@dimzak
Last active November 5, 2015 09:59
Show Gist options
  • Save dimzak/41e6d561dc779fbab0ae to your computer and use it in GitHub Desktop.
Save dimzak/41e6d561dc779fbab0ae to your computer and use it in GitHub Desktop.
Restore development machine
#!/bin/bash
apt-get update
apt-get -y upgrade
# Google Chrome
echo 'Installing Google Chrome'
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
apt-get update
apt-get -y install google-chrome-stable
# Java - Maven
echo 'Installing Java and Maven'
apt-get -y install openjdk-7-jdk
apt-get -y install maven
# Mysql
echo 'Installing Mysql'
debconf-set-selections <<< 'mysql-server mysql-server/root_password password root'
debconf-set-selections <<< 'mysql-server mysql-server/root_password_again password root'
apt-get -y install mysql-server
apt-get -y install mysql-workbench
# skype
add-apt-repository "deb http://archive.canonical.com/ $(lsb_release -sc) partner"
apt-get update && sudo apt-get install skype
# Spotify
apt-add-repository -y "deb http://repository.spotify.com stable non-free" &&
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 94558F59 &&
apt-get update -qq &&
apt-get -y install spotify-client
# Nodejs
# Don't forget the symlink if you install node from repositories.
ln -s /usr/bin/nodejs /usr/bin/node
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment