Forked from fromkk/realm_object_database_for_docker
Created
November 15, 2016 08:38
-
-
Save kawasaki2013/0413eb2c0275683933236d61e98a8e92 to your computer and use it in GitHub Desktop.
This file contains hidden or 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