Last active
September 5, 2016 11:33
-
-
Save tonypiazza/4a068f229eca4028940b to your computer and use it in GitHub Desktop.
A BASH script to setup everything we need for a Couchbase development machine with Xubuntu Desktop. You will need a machine with at least 4348 MB of RAM and 4 cores.
This file contains hidden or 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 | |
# Script written by Tony Piazza (https://gist.github.com/tonypiazza) | |
# Privileges check | |
if [ $UID != 0 ] | |
then | |
echo -e "Insufficient privileges!" | |
exit 1 | |
fi | |
echo "-----> Installing Couchbase Server 4.x" | |
wget -P ~/Downloads http://packages.couchbase.com/releases/4.1.0/couchbase-server-enterprise_4.1.0-ubuntu14.04_amd64.deb | |
dpkg -i ~/Downloads/couchbase-server-enterprise_4.1.0-ubuntu14.04_amd64.deb | |
echo "-----> Adding required PPAs for Java" | |
add-apt-repository -y ppa:webupd8team/java | |
apt-get update | |
echo "-----> Installing Java" | |
apt-get install oracle-java8-installer | |
echo "-----> Installing Eclipse" | |
wget -P ~/Downloads http://mirror.cc.columbia.edu/pub/software/eclipse/technology/epp/downloads/release/mars/R/eclipse-java-mars-R-linux-gtk-x86_64.tar.gz | |
cd /opt | |
tar -zxf ~/Downloads/eclipse-java-mars-R-linux-gtk-x86_64.tar.gz | |
touch /usr/bin/eclipse | |
chmod 755 /usr/bin/eclipse | |
echo "-----> Installing Sublime Text" | |
add-apt-repository ppa:webupd8team/sublime-text-2 | |
apt-get update | |
apt-get install sublime-text | |
echo "-----> Installing Conky" | |
apt-get install conky | |
echo "-----> Installation has finished!" | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here are the steps to run this script from the home directory: