How Can I Install Mongodb 3.6.8 version on debian?

Hello @Ramachandra_Tummala ,

On my new server I have restored to the port 27018 as per my previous commands when I type mongo and run show dbs I can see the restored db however when I check sudo service mongod status its showing inactive

Here is what it shows when I do show dbs by entering the mongo shell using mongo --port 27018

show dbs
MyDB 0.018GB
admin 0.000GB
config 0.000GB
local 0.000GB
playlist 0.000GB
test_playlist 0.000GB

Here is what I get when I do sudo service mongod status and I have updated port to 27018 in config file