Skip to content

Instantly share code, notes, and snippets.

View acuppy's full-sized avatar

Adam Cuppy acuppy

View GitHub Profile
cd ~
sudo apt-get update
sudo apt-get install openjdk-7-jre-headless -y
### Check http://www.elasticsearch.org/download/ for latest version of ElasticSearch and replace wget link below
# NEW WAY / EASY WAY
wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.1.1.deb
sudo dpkg -i elasticsearch-1.1.1.deb
@acuppy
acuppy / install-ruby-redis-imagemagick-elasticsearch-ubuntu.sh
Last active August 29, 2015 14:05
Install Ruby, Imagemagick, Redis-server and Elasticsearch onto the development environment
#!/usr/bin/env bash
cd ~
sudo apt-get update
sudo apt-get install curl wget
# install ruby
curl -sSL https://get.rvm.io | bash -s stable --ruby="2.0.0-p353"
# install imagemagick
@acuppy
acuppy / purge.sh
Last active August 29, 2015 14:05 — forked from seanculver/purge.sh
#!/bin/sh
# Credits to:
# - http://vstone.eu/reducing-vagrant-box-size/
# - https://github.com/mitchellh/vagrant/issues/343
sudo su
aptitude -y purge ri
aptitude -y purge installation-report landscape-common wireless-tools wpasupplicant ubuntu-serverguide
# To prevent the vulnerable server from running on your machine
# (this does not impact Zoom functionality), run these two lines in your Terminal.
pkill "ZoomOpener"; rm -rf ~/.zoomus; touch ~/.zoomus && chmod 000 ~/.zoomus;
pkill "RingCentralOpener"; rm -rf ~/.ringcentralopener; touch ~/.ringcentralopener && chmod 000 ~/.ringcentralopener;
# (You may need to run these lines for each user on your machine.)