Skip to content

Instantly share code, notes, and snippets.

@gufranco-zz
Last active December 17, 2015 06:49
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save gufranco-zz/5567985 to your computer and use it in GitHub Desktop.
Save gufranco-zz/5567985 to your computer and use it in GitHub Desktop.
My Ubuntu 13.10 initial configuration
#!/bin/sh
# System upgrade
echo "Updating repositories and upgrading system"
sudo apt-get -y update && sudo apt-get -y upgrade && sudo apt-get -y dist-upgrade && sudo apt-get -y autoremove
clear
# Install Unity Tweak Tool
echo "Installing Unity Tweak Tool"
sudo apt-get -y install unity-tweak-tool
clear
# Install Codecs
echo "Installing Codecs"
sudo apt-get -y install libavformat-extra-53 libavcodec-extra-53 ubuntu-restricted-extras
clear
# Install Oracle Java 8
echo "Installing Oracle Java 8"
sudo add-apt-repository -y ppa:webupd8team/java && sudo apt-get -y update && sudo apt-get -y install oracle-java8-installer
clear
# Install My Weather Indicator
echo "Installing My Weather Indicator"
sudo add-apt-repository -y ppa:atareao/atareao && sudo apt-get -y update && sudo apt-get -y install my-weather-indicator
clear
# Install Chromium Browser
echo "Installing Chromium Browser"
sudo apt-get -y install chromium-browser
clear
# Install Adobe Flash Player
echo "Installing Adobe Flash Player"
sudo apt-get install -y flashplugin-installer gsfonts-x11
clear
# Install Tmux
echo "Installing Tmux"
sudo apt-get -y install tmux
clear
# Install Dropbox
echo "Installing Dropbox"
sudo apt-get -y install nautilus-dropbox
clear
# Install Curl
echo "Installing curl"
sudo apt-get -y install curl
clear
# Install Git
echo "Installing Git"
sudo apt-get -y install git-core
clear
# Install NodeJS
echo "Installing NodejS"
sudo apt-get install -y python-software-properties python g++ make && sudo add-apt-repository -y ppa:chris-lea/node.js && sudo apt-get -y update && sudo apt-get -y install nodejs
clear
# Install MySQL
echo "Installing MySQL"
sudo apt-get -y install mysql-server mysql-client libmysqlclient-dev
clear
# Install MySQL Workbench
echo "Installing MySQL Workbench"
sudo apt-get -y install mysql-workbench
clear
# Install PostgreSQL
echo "Installing PostgreSQL"
sudo apt-get -y install postgresql postgresql-client libpq-dev
clear
# Install Apache
echo "Installing Apache"
sudo apt-get install apache2
sudo adduser $USER www-data
sudo chown -R www-data:www-data /var/www
sudo chmod -R g+rw /var/www
clear
# Install PHP 5
echo "Installing PHP 5"
sudo apt-get install php5 libapache2-mod-php5 php5-mysql php5-curl php5-gd php5-idn php-pear php5-imagick php5-imap php5-mcrypt php5-memcache php5-mhash php5-ming php5-ps php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl php5-json
clear
# Install VLC Player
echo "Installing VLC Player"
sudo apt-get install vlc browser-plugin-vlc
clear
# Install Skype
echo "Installing Skype"
sudo apt-get install skype
clear
# Install Vim
echo "Installing Vim"
sudo apt-get install vim
clear
# Remove Gnome games
echo "Removing Gnome Games"
sudo apt-get remove aisleriot gnome-mahjongg gnome-mines gnome-sudoku gnomine
clear
# Install Steam
echo "Installing Steam"
cd /tpm
wget http://media.steampowered.com/client/installer/steam.deb
sudo dpkg -i steam.deb
sudo apt-get update
sudo apt-get -f install
clear
# Install fonts
echo "Installing fonts"
sudo apt-get install mplayer-fonts ttf-xfree86-nonfree xfs cabextract ttf-liberation ttf-larabie-straight ttf-larabie-deco xfonts-terminus-dos xfonts-terminus xfonts-terminus-oblique tv-fonts ttf-tuffy ttf-sjfonts ttf-georgewilliams ttf-fifthhorseman-dkg-handwriting ttf-essays1743 ttf-opensymbol ttf-mgopen ttf-freefont ttf-dustin ttf-dejavu-extra ttf-dejavu-core ttf-dejavu ttf-bpg-georgian-fonts ttf-bitstream-vera equivs ttf-sil-gentium ttf-aenigma gnome-specimen
clear
# Install VirtualBox
echo "Installing VirtualBox"
sudo apt-get install virtualbox
sudo adduser $USER vboxusers
clear
# Install Sublime Text 3
echo "Installing Sublime Text 3"
sudo add-apt-repository -y ppa:webupd8team/sublime-text-3 && sudo apt-get -y update && sudo apt-get -y install sublime-text-installer
clear
# Install f.lux
echo "Installing f.lux"
sudo add-apt-repository -y ppa:kilian/f.lux && sudo apt-get -y update && sudo apt-get -y install fluxgui
clear
# End! ;)
echo "You MUST restart your system right now."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment