search

Home  >  Q&A  >  body text

Ubuntu 14.04安装MongoDB 3.x

看 官方的 安装教程

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.
滿天的星座滿天的星座2788 days ago559

reply all(2)I'll reply

  • 習慣沉默

    習慣沉默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.

    reply
    0
  • 我想大声告诉你

    我想大声告诉你2017-05-02 09:19:47

    Install a language pack and it should solve the problem

    reply
    0
  • Cancelreply