Installing
-
2. Setting Up MongoDB Database Repo
SetUp Apt Repo for Latest MongoDB Installation
-
3. Making Directories
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 Database
Then to Install MongoDB Database for Kali
Simply play:sudo apt install -y mongodb-org
If During Installation Got “unknown initscript, /etc/init.d/mongodb not found” Look
MongoDB Installation Troubleshootings
Contents