Skip to content

Instantly share code, notes, and snippets.

#Mesos - Marathon - Docker - cAdvisor

Vagrant script to build up a test environment with 1 Zookeeper, 1-n Mesos-Master, 1-n Mesos-Slave, and 1 Marathon node.

Prerequisites

Virtual Environment

VirtualBox, version >= 4.3.12

@neuhausler
neuhausler / gist:3440833
Created August 23, 2012 19:50
CS Trying to Enable User
REQUEST DESCRIPTION
=======
GET\n
\n
\n
Thu, 23 Aug 2012 19:49:18 GMT\n
/riak-cs/user/TK9KAEBX201ERVTPCNB5
Authorization AWS UMVQPTUJB8WQ_UBQOKLU:XS5wwwKsqTM4EmC3ibvEMNVmlvM=
Host localhost
@neuhausler
neuhausler / rabbitmq-env
Created January 1, 2012 19:02
rabbitmq-env
#!/bin/sh
## The contents of this file are subject to the Mozilla Public License
## Version 1.1 (the "License"); you may not use this file except in
## compliance with the License. You may obtain a copy of the License
## at http://www.mozilla.org/MPL/
##
## Software distributed under the License is distributed on an "AS IS"
## basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
## the License for the specific language governing rights and
## limitations under the License.
@neuhausler
neuhausler / rabbitmq-server
Created January 1, 2012 18:14
RabbitMQ init.d
#!/bin/sh
#
# rabbitmq-server RabbitMQ broker
#
# chkconfig: - 80 05
# description: Enable AMQP service provided by RabbitMQ
#
### BEGIN INIT INFO
# Provides: rabbitmq-server
@neuhausler
neuhausler / rabbitmq-plugins
Created December 31, 2011 22:43
rabbitmq-plugins
#!/bin/sh
## The contents of this file are subject to the Mozilla Public License
## Version 1.1 (the "License"); you may not use this file except in
## compliance with the License. You may obtain a copy of the License
## at http://www.mozilla.org/MPL/
##
## Software distributed under the License is distributed on an "AS IS"
## basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
## the License for the specific language governing rights and
## limitations under the License.
@neuhausler
neuhausler / rabbitmq-server
Created December 31, 2011 21:49
rabbitmq-server
#!/bin/sh
## The contents of this file are subject to the Mozilla Public License
## Version 1.1 (the "License"); you may not use this file except in
## compliance with the License. You may obtain a copy of the License
## at http://www.mozilla.org/MPL/
##
## Software distributed under the License is distributed on an "AS IS"
## basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
## the License for the specific language governing rights and
## limitations under the License.
@neuhausler
neuhausler / gist:1544635
Created December 31, 2011 17:27
Set up MediaQurator components on Amazon Linux AMI
#!/bin/bash
# run with sudo
yum -y upgrade
yum -y install git
yum -y install *openjdk-devel
yum -y install tomcat6
yum -y install tomcat6-admin-webapps
yum -y install gcc gcc-c++ make libxslt fop ncurses-devel openssl-devel unixODBC unixODBC-devel
@neuhausler
neuhausler / rabbitmq-install.sh
Created December 27, 2011 05:04
Set up RabbitMQ
#!/bin/bash
#
# This script installs and configures rabbitmq on a fresh Amazon Linux AMI instance.
# Requires Erlang to be installed
#
export BUILD_DIR="$PWD"
wget http://www.rabbitmq.com/releases/rabbitmq-server/v2.7.1/rabbitmq-server-generic-unix-2.7.1.tar.gz
@neuhausler
neuhausler / couchdb-ec2-install.sh
Created December 27, 2011 04:31 — forked from msmith/couchdb-ec2-install.sh
Set up CouchDB on EC2
#!/bin/bash
#
# This script installs and configures couchdb on a fresh Amazon Linux AMI instance.
#
# Must be run with root privileges
# Tested with Amazon Linux AMI release 2011.02.1.1 (ami-8c1fece5)
#
export BUILD_DIR="$PWD"