MongoDB provides client installation packages for different OSs at its official website. You can download MongoDB from the official binary download page at https://www.mongodb.com/download-center#community.
The following uses Red Hat Linux 7 and MongoDB 3.2.7 as examples to describe how to obtain the required installation package and install the MongoDB client.
The common tools are as follows:
When you create an ECS, select an OS, such as Red Hat 6.6, and bind an EIP to it. Then, upload the installation package to the ECS using a remote tool, and use PuTTY to connect to the ECS.
chmod +x mongo
chmod +x mongoexport
chmod +x mongoimport