Last active
October 2, 2016 22:54
-
-
Save kevinelliott/e6a9b74db4246ab0d8c9 to your computer and use it in GitHub Desktop.
Setup standard development environment on Ubuntu 15.10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# setup-ubuntu-15.10-dev.sh - Setup standard development environment on Ubuntu 15.10 | |
# | |
# Kevin Elliott <kevin@catalyzed.io> | |
# | |
echo "=== Installing OpenConnect and the Network Manager support ===" | |
sudo apt-get install openconnect network-manager-openconnect-gnome | |
echo | |
echo "=== Installing Atom ===" | |
sudo curl -L -o /tmp/atom-amd64.deb https://github.com/atom/atom/releases/download/v1.2.0/atom-amd64.deb | |
sudo dpkg -i /tmp/atom-amd64.deb | |
echo | |
echo "=== Installing Chrome (Beta) ===" | |
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' | |
sudo apt-get update | |
sudo apt-get install google-chrome-beta | |
echo | |
echo "=== Chrome Plugin: React ===" | |
sudo mkdir /opt/google/chrome-beta/extensions | |
sudo sh -c 'echo "{ \"external_update_url\": \"https://clients2.google.com/service/update2/crx\" }" > /opt/google/chrome-beta/extensions/fmkadmapgofadopljbjfkapdkoienihi.json' | |
echo | |
echo "=== Installing MySQL ===" | |
sudo apt-get install -fy mysql-server | |
echo | |
echo "=== Installing PostgreSQL ===" | |
sudo apt-get install -fy postgresql-9.4 | |
echo | |
echo "=== Installing Oracle Java 7 ===" | |
sudo apt-add-repository ppa:webupd8team/java | |
sudo apt-get update | |
sudo apt-get install -fy oracle-java7-installer | |
echo "export JAVA_HOME=/usr/lib/jvm/java-7-oracle" >> ~/.profile | |
echo | |
echo "=== Installing RVM ===" | |
gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 | |
\curl -sSL https://get.rvm.io | bash | |
echo | |
echo "=== Installing Ruby 2.1.5 ===" | |
rvm install ruby-2.1.5 | |
gem install bundler | |
echo | |
echo "=== Installing Ruby 2.2.3 ===" | |
rvm install ruby-2.2.3 | |
gem install bundler | |
rvm use ruby-2.2.3 | |
echo | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment