mongoDB – under SUSE SLE11 – SP3
0
Getting started with mongoDB under Suse Linux.
Installation:
1 2 3 |
zypper addrepo --no-gpgcheck http://repo.mongodb.org/zypper/suse/11/mongodb-org# sudo zypper install mongodb-org vi /etc/mongod.conf |
Note: Default port is 27017
Starting/Stopping mongoDB server:
1 2 |
sudo service mongod start sudo service mongod stop |
Verify server status:
1 |
tail -f /var/log/mongodb/mongod.log |
Make it part of the autostart for different run levels:
1 |
sudo chkconfig mongod on |