I have a bastion host that is still running CentOS6 and epel repos provides mongodb-shell version 2.x and Mlab requires version 3.x
Setup the Repositories
Create the repository:
1 2 3 4 5 6 7 8 |
|
Update the repository index:
1
|
|
Install MongoDB-Shell
Install the MongoDB Shell Client:
1
|
|
Update: Thanks to Rick, when you use CentOS 7, you can install the Shell Client as instructed below:
1
|
|
Connect to your Remote MongoDB Instance:
1
|
|