MongoDB on CentOS

I started installing MongoDB on my CentOS virtual machine, following the tutorial at: http://docs.mongodb.org/manual/tutorial/install-mongodb-on-red-hat-centos-or-fedora-linux/

It came up with the error ‘No Package mongo-10gen available’, but I’ve already added the MongoDB repo to Yum? – Oh its because my virtual machine is 32bit and I’ve added the 64bit repo. A quick change, still not working, a quick ‘yum clean all’ sorts it and all is installed.

I’ve installed MongoVUE to access MongoDB, useful for listing out data and inserting quickly for testing, works well on Windows.  I’m using MongoDB with Node, the MongoDB Mongoose library is really good, allowing model schemas for a great MVC base. Out of MySQL, RethinkDB and MongoDB (The databases I’ve used with Node), I’d recommend MongoDB for the best supported database when developing with Node.js.

Leave a Reply

Your email address will not be published. Required fields are marked *