Skip to content

Instantly share code, notes, and snippets.

View tenforward's full-sized avatar

KATOH Yasufumi tenforward

View GitHub Profile
@hagix9
hagix9 / gist:7286981
Last active December 27, 2015 07:09
Docker0.6.6 Install for CentOS6.4 reference: https://github.com/sciurus/docker-rhel-rpm
# SELinux setting
sed -i.bak "s/\(^SELINUX=\).*/\1disabled/" /etc/selinux/config
#IPv4Forwarding setting
sed -i.bak "s/net.ipv4.ip_forward = 0/net.ipv4.ip_forward = 1/" /etc/sysctl.conf
########################################################################################
# add Repository
rpm -ivh http://ftp.riken.jp/Linux/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm