Skip to content

Instantly share code, notes, and snippets.

@trfiladelfo
Last active December 20, 2015 22:09
Show Gist options
  • Save trfiladelfo/6203047 to your computer and use it in GitHub Desktop.
Save trfiladelfo/6203047 to your computer and use it in GitHub Desktop.
Script install Ubuntu 13.04
# update & upgrade #
sudo apt-get update && sudo apt-get upgrade
#Sublime Text 2
echo "Instalando Sublime Text 2"
sudo add-apt-repository ppa:webupd8team/sublime-text-2 && sudo apt-get update && sudo apt-get install sublime-text
#Git
sudo apt-get install git
#Oracle Java 7
echo "Instalando Oracle Java JDK7"
sudo add-apt-repository ppa:webupd8team/java && sudo apt-get update && sudo apt-get install oracle-jdk7-installer
#Skype
echo "Instalando Skype"
sudo add-apt-repository "deb http://archive.canonical.com/ $(lsb_release -sc) partner" && sudo apt-get update && sudo apt-get install skype
#LAMP
echo "Instalando Apache 2 - PHP5 - MySQL - PHPMyAdmin"
sudo apt-get install mysql-server apache2 libapache2-mod-php5 php5 php5-mysql phpmyadmin
#NodeJS
echo "Instalando NodeJS"
sudo apt-get install python-software-properties && sudo add-apt-repository ppa:chris-lea/node.js && sudo apt-get update && sudo apt-get install nodejs && sudo apt-get install npm
#Ruby
sudo apt-get update && sudo apt-get install curl && \curl -L https://get.rvm.io | bash -s stable && source ~/.rvm/scripts/rvm && rvm requirements
echo "Just follow the instructions to get your system up to date with all of the required dependancies.
sudo apt-get --no-install-recommends install build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev libgdbm-dev ncurses-dev automake libtool bison subversion pkg-config libffi-dev"
rvm install 1.9.3 && rvm use 1.9.3 --default && rvm rubygems current
#Install LESS - SASS - Compass
echo "Instalando LESS, SASS e COMPASS"
gem install less
gem install sass
gem install compass
#Alterando permissão do Android ADB
#Locate your adb
chown root adb
chmod 4755 adb
adb kill-server
#Install QEmu
sudo apt-get install qemu
qemu-img create ubuntu.img 10G
qemu -hda ubuntu.img -boot d -cdrom ./ubuntu-9.10-desktop-i386.iso -m 512
qemu -m 512 -hda ubuntu.img
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment