【问题标题】:Is it possible to install MongoDB on 32 bit Ubuntu 16.04 LTS?是否可以在 32 位 Ubuntu 16.04 LTS 上安装 MongoDB?
【发布时间】:2017-05-14 03:16:26
【问题描述】:

我只想在我的 32 位 Ubuntu 16.04 LTS 笔记本电脑上安装 MongoDB,但我在他们的页面上发现了一些内容:

平台支持
MongoDB 仅提供 64 位 LTS(长期支持)Ubuntu 版本的软件包。例如,12.04 LTS(精确)、14.04 LTS(可信)、16.04 LTS(xenial)等等。这些软件包可能适用于其他 Ubuntu 版本,但不受支持。

这是上面提到的MongoDB官方网站the link。我还能在笔记本电脑上安装 MongoDB 吗?

【问题讨论】:

    标签: mongodb ubuntu


    【解决方案1】:

    是的。 MongoDB 不再为 32 位 Linux 发行版提供安装包。

    我发现下面的这个链接可以为你提供充分的帮助。请检查一次。

    mongodb-on-32-bit-ubuntu

    【讨论】:

      【解决方案2】:

      取自:https://askubuntu.com/questions/772181/how-can-i-install-mongodb-on-32-bit-ubuntu

          download the binary files here or using
      

      curl -O https://fastdl.mongodb.org/linux/mongodb-linux-i686-3.0.6.tgz

          extract the files
      
          tar -zxvf mongodb-linux-i686-3.0.6.tgz
      
          copy extracted files
      
          mkdir -p mongodb
          cp -R -n mongodb-linux-i686-3.0.6/ mongodb
      
          add it to PATH
      
          #example in ~/.bashrc
          export PATH=<mongodb-install-directory>/bin:$PATH
      
      note as noted in mongodb using this method will have some limitation
      
      "This 32-bit legacy distribution does not include SSL encryption and is limited to around 2GB of data. In general you should use the 64 bit builds."
      
      but in the end it is up to you.
      

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2017-06-26
        • 1970-01-01
        • 2016-12-22
        • 1970-01-01
        • 2016-08-29
        • 2016-08-25
        • 2018-07-20
        • 1970-01-01
        相关资源
        最近更新 更多