Skip to content

Instantly share code, notes, and snippets.

@chihirokaasan
Last active January 21, 2016 09:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chihirokaasan/71488f2f7d0ddaef8aff to your computer and use it in GitHub Desktop.
Save chihirokaasan/71488f2f7d0ddaef8aff to your computer and use it in GitHub Desktop.
[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