• We had to restore from a backup today after a failed software update. Backup was from 0000 EDT and restored it at 0800 EDT so we lost about 8hrs. Today is 07/20/2024. More info here.

MongoDB Installaion - Ubuntu or CentOS?


New Member
Aug 2, 2019
Reaction score

I Want to Install MongoDB for my new project. I have purchased a cloud VPS with 4 GB RAM from Digital Ocean. Ubuntu and CentOS are the two options i have. I want to know the best one which is perfectly suitable for MongoDB.

Thank You

Performance-wise - It literally doesn't make any difference.

The only real difference between a Debian based system, like Ubuntu - and a Red-hat based system, like CentOS - is the packaging format and the package management tools used to administer them.

If you prefer dealing with Red-hat/RPM based systems - go with CentOS. If you prefer working with Debian/deb based systems - go with Ubuntu (or pure Debian). Other than that - it makes no difference!
I had a project with mongodb and install it in ubuntu 16.04 and 18.04. I think there is no difference between using ubuntu and CentOs in performance. I used Ubuntu and it worked good.
Last edited: