繁体   English   中英

是否可以在32位Ubuntu 16.04 LTS上安装MongoDB?

[英]Is it possible to install MongoDB on 32 bit Ubuntu 16.04 LTS?

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

平台支持
MongoDB仅提供用于64位LTS(长期支持)Ubuntu发行版的软件包。 例如,精确的12.04 LTS,可信的14.04 LTS,xenial的16.04 LTS等。 这些软件包可以与其他Ubuntu版本一起使用,但是不支持。

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

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

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

mongodb的-ON-32位的ubuntu

取自: 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.

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM