Skip to content

Commit

Permalink
Merge pull request #7 from barriosnahuel/develop
Browse files Browse the repository at this point in the history
Release 1.0.0
  • Loading branch information
barriosnahuel committed Oct 4, 2015
2 parents bb05b67 + 81c606a commit a79078d
Show file tree
Hide file tree
Showing 8 changed files with 77 additions and 44 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/**/efu.log

### JetBrains template
/**/.idea/
/**/*.iml
Expand Down
1 change: 1 addition & 0 deletions OS X/installAll-10.9.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

# FROM HERE
. ./../createDirectoriesTree.sh
. ./../functions.sh

echo "==> - EFU: Loading properties..."
. ./properties.sh
Expand Down
2 changes: 1 addition & 1 deletion OS X/properties.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ HEROKU=https://s3.amazonaws.com/assets.heroku.com/heroku-toolbelt/heroku-toolbel
TRANSMISSION=https://transmission.cachefly.net/Transmission-2.84.dmg
IDEA_ULTIMATE=http://download-cf.jetbrains.com/idea/ideaIU-14.1.2.dmg
IDEA_COMMUNITY=http://download-cf.jetbrains.com/idea/ideaIC-14.1.2.dmg
GRADLE=https://services.gradle.org/distributions/gradle-2.2.1-bin.zip
GRADLE=https://downloads.gradle.org/distributions/gradle-2.5-all.zip
APACHE_ANT=http://mirrors.dcarsat.com.ar/apache//ant/binaries/apache-ant-1.9.4-bin.zip
APACHE_MAVEN=http://mirrors.nxnethosting.com/apache/maven/maven-3/3.2.5/binaries/apache-maven-3.2.5-bin.zip
APACHE_TOMCAT=http://mirrors.nxnethosting.com/apache/tomcat/tomcat-8/v8.0.22/bin/apache-tomcat-8.0.22.zip
Expand Down
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
efu
===
# EFU

EFU (Easy-Fast-Upgradable): The SH script you need to finish your Ubuntu/MacOS X installation if you're a developer.

Expand All @@ -9,6 +8,12 @@ EFU (Easy-Fast-Upgradable): The SH script you need to finish your Ubuntu/MacOS X
[![stable](https://img.shields.io/badge/stability-stable-green.svg)](https://nodejs.org/api/documentation.html#documentation_stability_index)


### Issues
## Issues: [![Stories ready to be worked on](https://badge.waffle.io/barriosnahuel/efu.png?label=ready&title=Ready)](https://waffle.io/barriosnahuel/efu) [![Stories in progress](https://badge.waffle.io/barriosnahuel/efu.png?label=in progress&title=In Progress)](https://waffle.io/barriosnahuel/efu)

[![Stories ready to be worked on](https://badge.waffle.io/barriosnahuel/efu.png?label=ready&title=Ready)](https://waffle.io/barriosnahuel/efu) [![Stories in progress](https://badge.waffle.io/barriosnahuel/efu.png?label=in progress&title=In Progress)](https://waffle.io/barriosnahuel/efu)

## Repo usage
*Do not clone or push to* **master** *branch.*

Create branch or fork from **develop**, then push or create pull requests (if you don't have access) to that branch.

The repo uses [this branching model](http://nvie.com/posts/a-successful-git-branching-model/).
80 changes: 52 additions & 28 deletions Ubuntu/installAll-15-04-GNOME.sh → Ubuntu/installAll-15-04.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ echo "==> - EFU: To see the installation log run the following line on the comma

# FROM HERE
. ./../createDirectoriesTree.sh
. ./../functions.sh

echo "==> - EFU: Loading properties..."
. ./properties.sh
Expand All @@ -19,10 +20,10 @@ log "==> - EFU: Adding repositories for Sublime Text 3..."
sudo add-apt-repository ppa:webupd8team/sublime-text-3 -y

log "==> - EFU: Adding repositories for Ubuntu Make..."
sudo add-apt-repository ppa:ubuntu-desktop/ubuntu-make
sudo add-apt-repository ppa:ubuntu-desktop/ubuntu-make -y

log "==> - EFU: Adding repositories for Grive (a Google Drive unofficial client)..."
sudo apt-add-repository ppa:thefanclub/grive-tools -y
log "==> - EFU: Adding repositories for Drive..."
sudo add-apt-repository ppa:twodopeshaggy/drive -y

log "==> - EFU: Adding repositories for JDownloader..."
sudo add-apt-repository ppa:jd-team/jdownloader -y
Expand Down Expand Up @@ -51,27 +52,50 @@ log "==> - EFU: ############################## Installing favorite software #
downloadAndInstall "GetDeb" http://archive.getdeb.net/install_deb/getdeb-repository_0.1-1~getdeb1_all.deb
downloadAndInstall "PlayDeb" http://archive.getdeb.net/install_deb/playdeb_0.3-1~getdeb1_all.deb

# Install Google Chrome
if [ $(getconf LONG_BIT) = "64" ]
then
log "==> - EFU: 64bit machine detected" &&
downloadAndInstall "Google Chrome (amd64)" $GOOGLE_CHROME
else
log "==> - EFU: 32bit machine detected"
downloadAndInstall "Google Chrome (x86)" $GOOGLE_CHROME
fi

log "==> - EFU: Instaling latest Rhythmbox and its plugins..."
sudo apt-get -fy install rhythmbox rhythmbox-plugin-rhythmweb rhythmbox-plugin-equalizer rhythmbox-plugin-opencontainingfolder rhythmbox-plugin-llyrics

log "==> - EFU: Instaling Sublime Text 3, GIT, MongoDB and WebP command line tools..."
sudo apt-get -fy install sublime-text-installer git-core mongodb curl webp
log "==> - EFU: Instaling Drive, Sublime Text 3, GIT, MongoDB and WebP command line tools..."
sudo apt-get -fy install drive sublime-text-installer git-core mongodb curl webp golang-go

log "==> - EFU: Installing packages to compress and extract different kind of files..."
sudo apt-get -fy install unace unrar zip unzip p7zip-full p7zip-rar sharutils rar uudeview mpack arj cabextract

log "==> - EFU: Installing Grive: a Google Drive unofficial client..."
sudo apt-get -fy install -y grive-tools
log "==> - EFU: Installing Mixxx DJ software..."
sudo apt-get -fy install mixxx libportaudio2

downloadAndInstall "Mega Sync client" $MEGA
downloadAndInstall "Mega Nautilus extension" $MEGA_NAUTILUS

log "==> - EFU: Installing Dropbox and XClip (to copy into clipboard from terminal),..."
sudo apt-get -fy install nautilus-dropbox xclip


echo "==> - EFU: Generating an SSH Key..." &&
# Creates a new ssh key, using the provided email as a label
ssh-keygen -t rsa -C "[email protected]" &&
# start the ssh-agent in the background
eval "$(ssh-agent-s)" &&
ssh-add ~/.ssh/id_rsa &&
log "==> - EFU: SSH Key for [email protected] successfully generated in ~/.ssh/id_rsa.pub"

xclip -sel clip < ~/.ssh/id_rsa.pub &&
log "==> - EFU: SSH Key copied to clipboard."


log "==> - EFU: ############################## Installing favorite software ##############################"

downloadAndInstall "GetDeb" http://archive.getdeb.net/install_deb/getdeb-repository_0.1-1~getdeb1_all.deb
downloadAndInstall "PlayDeb" http://archive.getdeb.net/install_deb/playdeb_0.3-1~getdeb1_all.deb

log "==> - EFU: Instaling latest Rhythmbox and its plugins..."
sudo apt-get -fy install rhythmbox rhythmbox-plugin-rhythmweb rhythmbox-plugin-equalizer rhythmbox-plugin-opencontainingfolder rhythmbox-plugin-llyrics

log "==> - EFU: Instaling Drive, Sublime Text 3, GIT, MongoDB and WebP command line tools..."
sudo apt-get -fy install drive sublime-text-installer git-core mongodb curl webp golang-go

log "==> - EFU: Installing packages to compress and extract different kind of files..."
sudo apt-get -fy install unace unrar zip unzip p7zip-full p7zip-rar sharutils rar uudeview mpack arj cabextract

log "==> - EFU: Installing Mixxx DJ software..."
sudo apt-get -fy install mixxx libportaudio2
Expand All @@ -98,7 +122,7 @@ log "==> - EFU: SSH Key copied to clipboard."
log "==> - EFU: ################ Installing development kits ################"

echo "==> - EFU: Installing and configuring the Android development environment..." &&
sudo apt-get install ubuntu-make &&
sudo apt-get -fy install ubuntu-make &&
umake android &&

cd ~/Coding/xDKs/ &&
Expand All @@ -112,7 +136,7 @@ log "==> - EFU: Android SDK installed and configured successfully"

echo "==> - EFU: Installing Gradle..." &&
downloadAndUncompress "Gradle" $GRADLE
echo 'export GRADLE_HOME=$HOME/Coding/xDKs/gradle-2.2.1' >> ~/.bashrc &&
echo 'export GRADLE_HOME=$HOME/Coding/xDKs/gradle-2.6' >> ~/.bashrc &&
echo 'export PATH=$GRADLE_HOME/bin:$PATH' >> ~/.bashrc &&
. ~/.bashrc &&
echo "org.gradle.daemon=true" >> ~/.gradle/gradle.properties &&
Expand All @@ -121,21 +145,21 @@ log "==> - EFU: Gradle installed and configured successfully."

echo "==> - EFU: Installing Apache Ant..." &&
downloadAndUncompress "Apache Ant" $APACHE_ANT &&
echo 'export ANT_HOME=$HOME/Coding/xDKs/apache-ant-1.9.4' >> ~/.bashrc &&
echo 'export ANT_HOME=$HOME/Coding/xDKs/apache-ant-1.9.6' >> ~/.bashrc &&
echo 'export PATH=$ANT_HOME/bin:$PATH' >> ~/.bashrc &&
. ~/.bashrc &&
log "==> - EFU: Apache Ant configured successfully."

echo "==> - EFU: Installing Apache Maven..." &&
downloadAndUncompress "Apache Maven" $APACHE_MAVEN &&
echo 'export M2_HOME=$HOME/Coding/xDKs/apache-maven-3.2.5' >> ~/.bashrc &&
echo 'export M2_HOME=$HOME/Coding/xDKs/apache-maven-3.3.3' >> ~/.bashrc &&
echo 'export PATH=$M2_HOME/bin:$PATH' >> ~/.bashrc &&
. ~/.bashrc &&
log "==> - EFU: Apache Maven configured successfully."

echo "==> - EFU: Installing NodeJS..." &&
downloadAndUncompress "NodeJS" http://nodejs.org/dist/v0.12.2/node-v0.12.2-linux-x64.tar.gz &&
echo 'export PATH=$HOME/Coding/xDKs/node-v0.12.2-linux-x64/bin:$PATH' >> ~/.bashrc &&
downloadAndUncompress "NodeJS" $NODE_JS
echo 'export PATH=$HOME/Coding/xDKs/node-v4.1.1-linux-x64/bin:$PATH' >> ~/.bashrc &&

. ~/.bashrc &&
log "==> - EFU: NodeJS installed and configured successfully."
Expand All @@ -145,7 +169,7 @@ curl https://www.npmjs.com/install.sh | sh &&
log "==> - EFU: NPM successfully installed."

echo "==> - EFU: Installing via the NPM package manager: Apache Cordova and Plugman (a command line tool to install and uninstall plugins for use with Apache Cordova projects), Mocha (for testing) and Bower..." &&
npm install -g cordova plugman mocha bower &&
npm install -g cordova plugman mocha bower express-generator grunt-cli &&

echo "==> - EFU: Installing Heroku toolbelt to run Heroku commands from command line..." &&
wget -qO- $HEROKU | sh &&
Expand All @@ -155,8 +179,8 @@ echo "==> - EFU: Adding existent public keys to Heroku to be able to run command
heroku keys:add &&
log "==> - EFU: Heroku configured successfully."

downloadAndUncompress "Google App Engine SDK" https://storage.googleapis.com/appengine-sdks/featured/appengine-java-sdk-1.9.20.zip
echo "export PATH=$PATH:$HOME/Coding/xDKs/appengine-java-sdk-1.9.20/" >> ~/.bashrc
downloadAndUncompress "Google App Engine SDK" https://storage.googleapis.com/appengine-sdks/featured/appengine-java-sdk-1.9.27.zip
echo 'export PATH=$PATH:$HOME/Coding/xDKs/appengine-java-sdk-1.9.27/' >> ~/.bashrc
. ~/.bashrc


Expand All @@ -171,7 +195,7 @@ echo 'export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc &&
. ~/.bashrc

cd ~/Coding/servers/
downloadAndUncompress "Apache Tomcat 8" $APACHE_TOMCAT
downloadAndUncompress "Apache Tomcat" $APACHE_TOMCAT
TOMCAT_DIRECTORY=$(getFileNameWithoutExtension $(getFileName $APACHE_TOMCAT))
cd ~/Coding/servers/$TOMCAT_DIRECTORY/bin &&
chmod +x catalina.sh &&
Expand All @@ -186,7 +210,7 @@ sudo apt-get -fy install jdownloader subdownloader gmountiso freemind gnac steam

cd ~/Downloads/
downloadAndInstall "TeamViewer" http://www.teamviewer.com/download/teamviewer_linux.deb
downloadAndInstall "RoboMongo" http://robomongo.org/files/linux/robomongo-0.8.4-x86_64.deb
downloadAndInstall "RoboMongo" http://robomongo.org/files/linux/robomongo-0.8.5-x86_64.deb

echo "==> - EFU: Cleaning up..." &&
sudo apt-get -f install &&
Expand Down
17 changes: 8 additions & 9 deletions Ubuntu/properties.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
#!/usr/bin/env bash
# Created by Nahuel Barrios on 15/04/15. Contact me at: [email protected]

GOOGLE_CHROME=https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
MEGA=https://mega.co.nz/linux/MEGAsync/xUbuntu_14.04/amd64/megasync-xUbuntu_14.04_amd64.deb
MEGA_NAUTILUS=https://mega.co.nz/linux/MEGAsync/xUbuntu_14.04/amd64/nautilus-megasync-xUbuntu_14.04_amd64.deb
NODE_JS=http://nodejs.org/dist/v0.12.2/node-v0.12.2-linux-x64.tar.gz
MEGA=https://mega.co.nz/linux/MEGAsync/xUbuntu_15.04/amd64/megasync-xUbuntu_15.04_amd64.deb
MEGA_NAUTILUS=https://mega.co.nz/linux/MEGAsync/xUbuntu_15.04/amd64/nautilus-megasync-xUbuntu_15.04_amd64.deb
NODE_JS=https://nodejs.org/dist/v4.1.1/node-v4.1.1-linux-x64.tar.gz
HEROKU=https://toolbelt.heroku.com/install-ubuntu.sh
IDEA_ULTIMATE=http://download-cf.jetbrains.com/idea/ideaIU-14.1.2.tar.gz
GRADLE=https://services.gradle.org/distributions/gradle-2.2.1-bin.zip
APACHE_ANT=http://mirrors.dcarsat.com.ar/apache//ant/binaries/apache-ant-1.9.4-bin.zip
APACHE_MAVEN=http://mirrors.nxnethosting.com/apache/maven/maven-3/3.2.5/binaries/apache-maven-3.2.5-bin.zip
APACHE_TOMCAT=http://mirrors.nxnethosting.com/apache/tomcat/tomcat-8/v8.0.22/bin/apache-tomcat-8.0.22.zip
IDEA_ULTIMATE=https://d1opms6zj7jotq.cloudfront.net/idea/ideaIU-14.1.5.tar.gz
GRADLE=https://downloads.gradle.org/distributions/gradle-2.6-all.zip
APACHE_ANT=http://apache.xfree.com.ar//ant/binaries/apache-ant-1.9.6-bin.zip
APACHE_MAVEN=http://mirrors.nxnethosting.com/apache/maven/maven-3/3.3.3/binaries/apache-maven-3.3.3-bin.zip
APACHE_TOMCAT=http://apache.dattatec.com/tomcat/tomcat-8/v8.0.27/bin/apache-tomcat-8.0.27.zip
2 changes: 2 additions & 0 deletions createDirectoriesTree.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@ mkdir xDKs &&
mkdir servers &&
mkdir workspace-mine &&
mkdir workspace-test &&
mkdir workspace-tools &&
mkdir workspace-work &&
cd .. &&
mkdir Software &&
mkdir Songs\ Lyrics
mkdir VMs &&

log "==> - EFU: Directories tree successfully created."
Expand Down
4 changes: 2 additions & 2 deletions functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

log() {
echo $1 &&
echo $1 >> efu.log
echo $1 >> ~/Downloads/efu.log
}

getFileName() {
Expand Down Expand Up @@ -38,7 +38,7 @@ install() {
echo "==> - EFU: Installing" $1 "..."
FILE=$(getFileName $2)

sudo dpkg -i $FILE &&
sudo gdebi $FILE &&
echo $1 "installed successfully." &&

rm -f $FILE
Expand Down

0 comments on commit a79078d

Please sign in to comment.