看 官方的 安装教程
https://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/
执行 mongo 后
root@iZkZ:~# mongo
Failed global initialization: BadValue Invalid or no user locale set.
Please ensure LANG and/or LC_* environment variables are set correctly.
習慣沉默2017-05-02 09:19:47
It is best to use the package manager that comes with Linux to install software. Do not download the source code, compile and install it yourself, as it is easy to make mistakes.
Using apt-get, yum/dnf will generally not go wrong.