STEPS TO INSTALL MONGODB
MongoDB is an open-source document database, and leading NoSQL database. MongoDB is written in C++.
MongoDB is a cross-platform, document oriented database that provides, high performance, high availability, and easy scalability. MongoDB works on concept of collection and document.
STEP1: Add MongoDB Yum Repositiry, to do this enter the below command at your shell terminal.
STEP2: Now add the following content in the file that you just created. If it is 64 bit only.
STEP3: Now we execute a simple command to install MongoDB on our machine.
# yum install mongodb-org
After installation your window will look like below image.
STEP4: Now to start the server, enter the below command. And do not forget about the owner, file, group permissions. Once you start the server it should looks like below image.
If your server is not starting means, mostly it would be with file permissions only. Do remember that log files will be located at /var/log/mongod/ folder.
configuration file will be at /etc/mongod.conf
In this file you will also get where dbpath located.
MongoDB is an open-source document database, and leading NoSQL database. MongoDB is written in C++.
MongoDB is a cross-platform, document oriented database that provides, high performance, high availability, and easy scalability. MongoDB works on concept of collection and document.
STEP1: Add MongoDB Yum Repositiry, to do this enter the below command at your shell terminal.
STEP2: Now add the following content in the file that you just created. If it is 64 bit only.
STEP3: Now we execute a simple command to install MongoDB on our machine.
# yum install mongodb-org
After installation your window will look like below image.
If your server is not starting means, mostly it would be with file permissions only. Do remember that log files will be located at /var/log/mongod/ folder.
configuration file will be at /etc/mongod.conf
In this file you will also get where dbpath located.
No comments:
Post a Comment