This Gist is similar to https://gist.github.com/noteed/8656989 which uses Open vSwitch instead of Tinc.
Download the install.sh script and run it:
> https://gist.githubusercontent.com/noteed/11031504/raw/install.sh
This Gist is similar to https://gist.github.com/noteed/8656989 which uses Open vSwitch instead of Tinc.
Download the install.sh script and run it:
> https://gist.githubusercontent.com/noteed/11031504/raw/install.sh
This Gist shows how to use Open vSwitch to bridge Docker containers on two hosts. It is based on this blog post http://goldmann.pl/blog/2014/01/21/connecting-docker-containers-on-multiple-hosts/.
A similar Gist using Tinc instead of Open vSwitch is available: https://gist.github.com/noteed/11031504.
| #!/usr/bin/env bash | |
| # repository | |
| cd /tmp | |
| wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm | |
| rpm -Uvh epel-release-6-8.noarch.rpm | |
| # system update | |
| yum -y update | |
| yum -y groupinstall "Development Tools" | |
| yum -y install libxslt-devel libyaml-devel libxml2-devel gdbm-devel libffi-devel zlib-devel openssl-devel libyaml-devel readline-devel curl-devel openssl-devel pcre-devel git memcached-devel valgrind-devel mysql-devel ImageMagick-devel ImageMagick |
| #!/bin/bash | |
| # | |
| # description: Apache Tomcat init script | |
| # processname: tomcat | |
| # chkconfig: 234 20 80 | |
| # | |
| # | |
| # Copyright (C) 2014 Miglen Evlogiev | |
| # | |
| # This program is free software: you can redistribute it and/or modify it under |
| # Start the old vagrant | |
| $ vagrant init centos-6.3 | |
| $ vagrant up | |
| # You should see a message like: | |
| # [default] The guest additions on this VM do not match the install version of | |
| # VirtualBox! This may cause things such as forwarded ports, shared | |
| # folders, and more to not work properly. If any of those things fail on | |
| # this machine, please update the guest additions and repackage the | |
| # box. |
| # mongo.conf | |
| logpath=/var/log/mongo/mongod.log | |
| logappend=true | |
| fork=true | |
| dbpath=/var/lib/mongo | |
| auth=true | |
| bind_ip=127.0.0.1 | |
| rest=false | |
| nohttpinterface=true |
| // | |
| // ExampleDelegate.h | |
| // Example | |
| // | |
| // Created by Scott Robertson on 2/10/13. | |
| // Copyright (c) 2013 Scott Robertson. All rights reserved. | |
| // | |
| #import <Foundation/Foundation.h> |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| """ | |
| Written on 2013-02-04 by Philipp Klaus <philipp.l.klaus →AT→ web.de>. | |
| Check <https://gist.github.com/4707775> for newer versions. | |
| Uses dnspython: install with `pip install dnspython3` | |
| """ |
| #!/usr/bin/env python2.7 | |
| # Matt's DNS management tool | |
| # Manage DNS using DDNS features | |
| # | |
| # See http://planetfoo.org/blog/archive/2012/01/24/a-better-nsupdate/ | |
| # | |
| # Usage: dnsupdate -s server -k key -t ttl add _minecraft._tcp.mc.example.com SRV 0 0 25566 mc.example.com. | |
| # -h HELP! | |
| # -s the server | |
| # -k the key |