Installing
-
2. Setting Up MongoDB Repo
Enable MongoDB Repository for openSUSE GNU/Linux
-
3. Making Directory
Then to Make Needed Directory
Run:sudo mkdir -p /data/db
If Got “User is Not in Sudoers file” then see: How to Enable sudo
Then Set the Right Permissions:sudo 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 openSUSE.
sudo zypper in mongodb-org
If During Installation Got “unknown initscript, /etc/init.d/mongodb not found” Look
MongoDB Installation Troubleshootings
Contents