OpenSUSE13.2 Installing MongoDB

Source: Internet
Author: User
Tags wordpress blog

Is really a sad story, is that you solve the problem did not remember, but need to search through searching engine again, fortunately, once you have done a record, search to help you find.

This is my WordPress blog collation Records, a long time no update there, two months, I forgot to have solved this problem, and made a record. My article was included in the cool.

Considering that the independent blog may not have the time to maintain the future, here to record again, after all, have encountered two problems, it is worth recording.

-----------------------

(1) Add a database Source:

sudo zypper ar http://download.opensuse.org/repositories/server:/database/openSUSE_13.2/server:database.repo

(2) Refreshing the cache

sudo zypper refresh

(3) Querying MongoDB

Zypper SE MongoDB
Loading software source data ... Reading installed packages ... S | Name                | abstract                                                   | type--+---------------------+--------------------------------------------------------+---------I | MongoDB             | High-performance, Schema-free document-oriented data-> | Software Packages  | MongoDB             | High-performance, Schema-free document-oriented data-> | Source Code Package  | Mongodb-debuginfo   | Debug information for packages MongoDB                  | package |  Mongodb-debugsource | Debug sources for packages MongoDB                      | package |  mongodb-devel       | High-performance, Schema-free document-oriented data-> | Package

(4) Installing MongoDB

sudo zypper in MongoDB

(5) Start MongoDB

Sudo/usr/sbin/mongod--dbpath=/some/dir

(6) Entering the MongoDB console

Fifth step of the terminal do not close, create a new window, enter the MONGO to enter the database operation, and can see the server side of the number of connections

-----

I hope to pay more attention in the future, I did not learn much, have forgotten it is not good

OpenSUSE13.2 Installing MongoDB

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.