Installing
-
2. Setting Up Repo
SetUp Apt Repo for Latest MongoDB Installation
-
3. Making Directories
Making Needed /data/db Directory.
Copysudo mkdir -p /data/db
Copysudo chmod g+w /data/db
The User Running the MongoDB Server need Write Permission on /data/db!
-
4. Installing
Installing the MongoDB Database for Kali
Copysudo apt install -y mongodb-org
If During Installation Got “unknown initscript, /etc/init.d/mongodb not found” Look
Here MongoDB Installation TroubleshootingsMongoDB Database Kali Installation Troubleshooting for unknown initscript, /etc/init.d/mongodb not found
Contents