Install MongoDB Debian 7 Wheezy Linux
The Guide shows you Step-by-Step How to Install and Getting-Started on the Latest MongoDB NoSQL Database Community Edition Release for Debian 7 Wheezy i386/amd64 Desktop/Server.
Finally, the post’s Content is Expressly Reduced to Give Focus to the Essentials Instructions and Commands.
-
Open a Terminal Window
(Press “Enter” to Execute Commands)In case first see: Terminal QuickStart Guide.
-
SetUp Apt Repo for Latest MongoDB Installation:
MongoDB Apt Repo Setup -
Installing the MongoDB Database for Debian
sudo apt-get install -y mongodb-org
If During Installation Got “unknown initscript, /etc/init.d/mongodb not found” Look:
MongoDB Installation Troubleshootings -
Start MongoDB Server
Make the Needed Data Directory:
su
If Got “User is Not in Sudoers file” then see: How to Enable sudo
mkdir -p /data/db
Starting the MongoDB Server:
mongod
-
MongoDB Database Getting-Started Guide.