Installing
2. Setting Up Repository
SetUp Apt Repo for Latest MongoDB Installation
Here MongoDB Apt Repository Setup GuidePlease Donate $1 to Remove Ads!Link to Add MongoDB Apt Repo on antiX Linux3. Making Directory
Then to Make Needed Directory
Run:Copysudo mkdir -p /data/db
If Got “User is Not in Sudoers file” then see: How to Enable sudo
Then Set the Right Permissions:Copysudo chmod g+w /data/db
The User Running the MongoDB Server need Write Permission on /data/db!
4. Installing MongoDB
Installing the MongoDB Database for antiX Linux.
Copysudo apt install mongodb-org
If During Installation Got “unknown initscript, /etc/init.d/mongodb not found” Look
Here MongoDB Installation TroubleshootingsPlease Donate $1 to Remove Ads!MongoDB Database antiX Installation Troubleshooting for unknown initscript, /etc/init.d/mongodb not found