The Guide shows you Step-by-Step How to Install MongoDB NoSQL Database for Linux Gentoo 2012 KDE4 Desktop.
Finally, the post’s Content is Expressly Reduced to Give Focus to the Essentials Instructions and Commands.
-
Download Latest MongoDB Database Linux Release:
MongoDB for Linux tar.gz -
Right-Click on Archive > Open with Ark
Then Extract Into /tmp.
-
Relocate MongoDB
su
If Got “User is Not in Sudoers file” then see: How to Enable sudo
mv /tmp/mongodb* /opt/mongodb
mkdir -p /data/db
chown mongodb /data/db
-
Starting & Stoping the MongoDB Server
-
To Start MongoDB Server:
/opt/mongodb/bin/mongod --journal
-
To Stop MongoDB Server:
Ctrl+c
-
-
MongoDB Database Getting-Started Guide.