Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save kawasaki2013/0413eb2c0275683933236d61e98a8e92 to your computer and use it in GitHub Desktop.

Select an option

Save kawasaki2013/0413eb2c0275683933236d61e98a8e92 to your computer and use it in GitHub Desktop.
# Mac側
docker run --privileged -d -p 9080:9080 --name centos_realm centos:6.8 /sbin/init
docker exec -it centos_realm /bin/bash
# Docker内
yum update -y && \
yum install -y wget curl && \
yum -y groupinstall base "Development tools" && \
iptables -A INPUT -p tcp -m tcp --dport 9080 -j ACCEPT && \
service iptables save && \
curl -s https://packagecloud.io/install/repositories/realm/realm/script.rpm.sh | bash && \
yum -y install realm-object-server-de && \
chkconfig realm-object-server on && \
service realm-object-server start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment