Installing
-
2. Setting Up MongoDB Repo
SetUp Apt Repo for Latest MongoDB Installation
-
3. Making Directories
First, Making Needed /data/db Directory.
sudo mkdir -p /data/db
sudo chmod g+w /data/db
The User Running the MongoDB Server need Write Permission on /data/db!
-
4. Installing MongoDB
Then to Install MongoDB Database for Linux Lite
Simply play:sudo apt install mongodb-org
Contents