If you are having a dedicated server or VPS, chances are you are not using it to its full capacity and has room for other applications. But, installing non PHP based applications is not easy and straight forward. In this post I will cover how you can install a nodejs application on a cPanel based
MongoDB
A complete guide to install Meteor App Telescope on Your Own Server
In this tutorial I’m going to give you detailed instructions on how to deploy Telescope on your own server running Centos. I’m doing this on a virtual machine on my server, the same procedure applies to any server like Amazon EC2, Heroku or any dedicated server running centos. At the end of this tutorial you
Mongod error | exception in initAndListen std::exception: locale::facet::_S_create_c_locale name not valid
I got this error while trying to start mongodb on amazon ec2. Running this command in the terminal solved the problem. export LC_ALL=C I don’t have any idea about what it means at this time except that it sets the terminal to display all languages. If you can explain what actually it does, please drop
Get the number of documents in a MongoDB collection with unique/distinct values for a field
Some times we need to get the number of documents with a distinct/unique value. An example use case is in the classic blog example. Get the number of authors with at least one post. Get the number of distinct tags/categories You can use the following commands to get the answers for the above questions db.posts.distinct(‘author’).length
A complete guide to Integrating MongoDB with Elastic Search
After almost two weeks and several re-installs and fresh installs, I finally got to integrate mongodb and elastic search. Here is a step by step procedure on how to integrate them. If you follow this procedure carefully, it will prevent errors like Exception: java.lang.NoSuchMethodError: com.mongodb.Mongo.fsyncAndLock() { “error” : “IndexMissingException[[testmongo] missing]”, “status” : 404 } Follow