Skip to content

Instantly share code, notes, and snippets.

@fluential
Created January 15, 2013 16:49
Show Gist options
  • Save fluential/4540052 to your computer and use it in GitHub Desktop.
Save fluential/4540052 to your computer and use it in GitHub Desktop.
mkdir dev
cd dev
git clone git://github.com/Netflix/exhibitor.git
mkdir exhibitor-build
cd exhibitor-build
cp -rp ../exhibitor/gradle* .
#root@xxx:~/dev/exhibitor-build# ls
#gradle gradle.properties gradlew gradlew.bat
wget https://raw.github.com/Netflix/exhibitor/master/exhibitor-standalone/src/main/resources/buildscripts/standalone/gradle/build.gradle
./gradlew jar
# BUILD SUCCESSFUL
#root@xxx:~/dev/exhibitor-build# find . -type f -name "*.jar"
#./gradle/wrapper/gradle-wrapper.jar
#./build/libs/exhibitor-build-1.4.4.jar
cd /opt
mkdir zookeeper
cd zookeeper
wget http://www.eu.apache.org/dist/zookeeper/zookeeper-3.3.6/zookeeper-3.3.6.tar.gz
tar zxpvf zookeeper-3.3.6.tar.gz
mkdir /opt/exhibitor
cp /root/dev/exhibitor-build/build/libs/exhibitor-build-1.4.4.jar
cp /root/exhibitor/s3.properties /opt/exhibitor
java -jar ./exhibitor-build-1.4.4.jar -cs3 --s3credentials ./s3.properties --s3config xxxx-zookeeper:zk-exhibitor-staging-2.conf --hostname $(ec2metadata --public-hostname) --prefspath ./exhibitor.prefs
# Exhibitor UI configured as follows, standalone single server isntance:
# Install dir /opt/zookeeper/*
# Data dir /mnt/zookeeper/dat
# Logs dir /mnt/zookeeper/logs
# Servers: S:1:ec2-xxx.eu-west-1.compute.amazonaws.com
# Distributor ID: Ubuntu
# Description: Ubuntu 12.04.1 LTS
# Release: 12.04
# Codename: precise
# java version "1.6.0_33"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment