Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# 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
You can’t perform that action at this time.