use the official instructions

 for mongodb installation