This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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