In order to link remote mongodb on Linux shell, I had to download more than 100 m mongodb from yum again on my development machine. This side actually contains mongodb’s server side, which feels redundant.
Have you downloaded and installed only one client to link mongodb on the remote machine on the shell?
First of all, it’s not that big. I just installed the latest version 3.2.6 on the server today, and the download is only over 50 m, the biggest one is
After configuring the yum source.
[mongodb-org-3.2] name=MongoDB Repository baseurl=https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/3.2/x86_64/ gpgcheck=1 enabled=1 gpgkey=https://www.mongodb.org/static/pgp/server-3.2.asc
It should not be installed
serverTo install only the components you need.
sudo yum install -y mongodb-org-3.2.6 mongodb-org-shell-3.2.6 mongodb-org-mongos-3.2.6 mongodb-org-tools-3.2.6