Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
[mongodb-org-3.2]
name=MongoDB Repository
baseurl=https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/3.2/x86_64/
gpgcheck=0
enabled=1
yum install mongodb-org
vi /etc/yum.repos.d/mongodb.repo
#MongoDBはsystemctlで有効化は出来ない
chkconfig mongod on
#バージョン確認
mongo --version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment