4
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

CentOS6.5 64bit に MongoDB をいれてみたメモ

4
Posted at

インストール#

いろいろ参考にしながらMongoDBをいれてみた際のメモです。

レポジトリを追加##

こんな感じで追加。

$ sudo vi /etc/yum.repos.d/mongodb.repo

mongodb.repo
[mongodb]
name=MongoDB Repository
baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64/
gpgcheck=0
enabled=1

インストール##

ていっ。

$ sudo yum install mongodb-org

自動起動するようにしとく##

$ sudo chkconfig mongod on

確認##

確認してみるです。

$ mongo

↓↓↓

MongoDB shell version: 2.6.6
connecting to: test

よっしゃ。

4
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?