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
# Pseudo distributed Hbase install (using Cloudera distribution) | |
# (all daemons running in one machine) | |
# | |
# Parameters: | |
# $java_installer = Oracle's java rpm.bin file, recommended by Cloudera | |
# Requires: | |
# java installer downloaded and present | |
# | |
# Parameter |
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
LoadModule passenger_module /usr/lib/ruby/gems/1.8/gems/passenger-3.0.11/ext/apache2/mod_passenger.so | |
PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-3.0.11 | |
PassengerRuby /usr/bin/ruby | |
<VirtualHost *:80> | |
ServerName logs.example.com | |
ServerAlias logs.example.com | |
DocumentRoot /home/httpd/Kibana/static |
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 | |
rm -f *.rpm | |
rm -rf graphhopper | |
# clone and build the ap | |
git clone git://github.com/graphhopper/graphhopper.git | |
cd graphhopper | |
mvn --projects web -DskipTests=true install assembly:single |
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
% docker build -t rust . | |
... | |
# Export the image to tarball, which itself contains tarballs and a manifest.json | |
% docker save -o rust.tar rust | |
# Extract the last layer | |
# tar's -O flag extracts a single entry from the tarball. | |
# The file we want is the last "Layer" in the manifest.json | |
% tar -xf rust.tar -O $(tar -xf rust.tar -O manifest.json | jq -r '.[].Layers[-1]') > curlbash.tar |