service mongod start on debian doesnt work

前端 未结 2 1539
陌清茗
陌清茗 2021-01-14 01:30

I created a instance of linux debian on Google Compute Engine.

I Install git, node.js, python and some other things without problems

But when I install mong

2条回答
  •  走了就别回头了
    2021-01-14 02:14

    I had to download without apt-get install, and install the deb package separatly.

    Before install the package, I run this commands..

    export LANGUAGE=en_US.UTF-8
    export LANG=en_US.UTF-8
    export LC_ALL=en_US.UTF-8
    sudo locale-gen en_US.UTF-8
    sudo dpkg-reconfigure locales
    

    And that was all, now I have mongodb running in my debian machine.

    Thanks.

提交回复
热议问题