Skip to content

Instantly share code, notes, and snippets.

@drola
Last active December 22, 2015 01:59
Show Gist options
  • Save drola/6400305 to your computer and use it in GitHub Desktop.
Save drola/6400305 to your computer and use it in GitHub Desktop.
#!/bin/bash
#Repositiories
sudo add-apt-repository ppa:webupd8team/sublime-text-3
sudo add-apt-repository ppa:webupd8team/java
sudo add-apt-repository ppa:chris-lea/node.js
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
wget -O - http://deb.opera.com/archive.key | sudo apt-key add -
sudo sh -c 'echo "deb http://deb.opera.com/opera/ stable non-free" >> /etc/apt/sources.list.d/opera.list'
ppa:ondrej/php5
sudo apt-get update
sudo apt-get --yes --force-yes install oracle-java7-installer sublime-text-installer zsh git wget curl
#Zsh and Oh My Zsh
wget --no-check-certificate https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | sh
chsh -s $(which zsh)
#LAMP stack
sudo apt-get --yes --force-yes install phpmyadmin mysql-server php5-cli php-pear php5-dev php5-gd php5-pgsql postgresql pgadmin3
#Composer (global)
curl -sS https://getcomposer.org/installer | php
sudo mv composer.phar /usr/local/bin/composer
#PHP_CodeSniffer, PHPMD, #pfff, php-cs-fixer
sudo apt-get --yes --force-yes install libmagickcore-dev
sudo pear install PHP_CodeSniffer
sudo pear channel-discover pear.phpmd.org
sudo pear channel-discover pear.pdepend.org
sudo pear install --alldeps phpmd/PHP_PMD
sudo curl http://cs.sensiolabs.org/get/php-cs-fixer.phar -o /usr/local/bin/php-cs-fixer
sudo chmod a+x /usr/local/bin/php-cs-fixer
#Clementine
sudo apt-get --yes --force-yes install clementine
#Google Chrome (stable)
sudo apt-get --yes --force-yes install google-chrome-stable
#Opera
sudo apt-get --yes --force-yes install opera
#XChat
sudo apt-get --yes --force-yes install xchat
#Filezilla
sudo apt-get --yes --force-yes install filezilla
#GCC
sudo apt-get --yes --force-yes install build-essential
#Set git user and email
git config --global user.email "email@example.com"
git config --global user.name "Firstname Lastname"
#Install Node.js and NPM
sudo apt-get --yes --force-yes install nodejs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment