Installing Latest MongoDB version on Ubuntu 14.04 LTS 15.04

How to Install MongoDB on Ubuntu 14.04 and 15.04

As we all know that MongoDB is becoming a default choice for certain part of community and is also emphasized as M in MEAN stack. Its an open source NoSQL database that is available free of cost and that you can make use of. In this article I will show you to quickly utilize official MongoDB repository to get and install most recent version of MongoDB.



You will need a running Ubuntu 14.04 server and a sudo non-root user, A great article on setting up such account can be found here

What you need to do

By default, MongoDB package is included in official Ubuntu package repositories, but this does not guarantee that its the latest version, so a better and recommended way to install MongoDB is to Import the MongoDB public GPG key used by the package management system.

Once you are done with above command you will see something like this



Let’s add Mongo repository details to APT, this is required so you have apt  remember where to find MongoDB the next time you want to update it.

Use the commands below

Let’s now update the package list by using the command below



We install MongoDB by issuing the command below

When installation finish,  you now have a MongoDB server, Mongo shell, and other Mongo tools such as mongoimport, mongodump etc

You can now verify if MongoDB server s running by issuing the following command

Helpful commands

  1. Stops mongo
    sudo service mongod stop
  2. Start mongo
    sudo service mongod start
  3. Restart mongo
    sudo service mongod restart

You can read more on official Mongo docs website

I hope this helps


PHPStorm Painfully Slowww….

PHPStorm 64 bit executable

Oh Yeah, That went and drove me nuts. I would like to share what worked for me. I am a Windows user so the instructions you see in this post apply to windows user, but stuff shall be quite similar for Mac/Linux users too. First thing first … [Continue reading]

helpful awk command examples when working with Apache access logs

There are some utils that analyze access logs, one of such util is webalizer. But I always believe that getting to know you access log files is more appropriate when you want to do some more in depth analysis on something specific. There are … [Continue reading]

Ace editor cursor position has space between expected position and the current position


Hi, I have used Ace editor a few times in my previous projects. Never did I face this problem before of having my cursor misplaced in my Ace editor. Let me guide you step by step Editor markup Here is a markup where I want my Ace editor to show … [Continue reading]

How to activate or enable color themes in bash scripts or other languages in Nano editor


Bored of looking at that black and white text for a while? You would want to enable or activate color themes in Nano editor which is really easy to do. There are many languages supported for color theming within nano, such … [Continue reading]

W3C CSS3 and W3C HTML5 Badge Logos in SVG

Hi Guys, Here are some couple of logos that may come handy when you need them. Bookmark this page if you like because sometimes things become rather hard to find. CSS3 SVG Logo       HTML5 SVG … [Continue reading]

Online webpage to image conversion with includes API

Hi Guys, I thought I would inform that there is a new tool available for taking screenshots of webpages called Talking about features there are many Unlimited renders/month High quality renders Custom window and shot … [Continue reading]

CommandLine Convert WMF, EPS etc to SVG using inkscape

Hello, I thought this might be a good tip to share for people who are looking to convert their vector images to SVG format. inkscape is the right tool just for that. Get inkscape from their website for you operating … [Continue reading]

Installing New Comodo Positive SSL Certificate on Apache and OpenSSL on Centos, Fedora and RedHat


Hello, I had to buy a certificate and install it on my new server I was issued with a new certificate by Comodo under Comodo Positive SSL. To start with I think it doesn't matter which certificate you choose, end of the day they all follow … [Continue reading]

Rackspace Cloud FIles Bulk Delete objects prefixed/* wildcard php sdk

Hi Guys   Rackspace cloud files is an awesome file storage system, We upload a file and can make it publicly available through their CDN. While I use Cloud files in pretty much all my projects at work or personal stuff, one thing that I … [Continue reading]