简体   繁体   English

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

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

I just want to install MongoDB on my 32 bit Ubuntu 16.04 LTS laptop, but i found something on their page that say : 我只想在32位Ubuntu 16.04 LTS笔记本电脑上安装MongoDB,但在他们的页面上发现了一些内容:

PLATFORM SUPPORT 平台支持
MongoDB only provides packages for 64-bit LTS (long-term support) Ubuntu releases. MongoDB仅提供用于64位LTS(长期支持)Ubuntu发行版的软件包。 For example, 12.04 LTS (precise), 14.04 LTS (trusty), 16.04 LTS (xenial), and so on. 例如,精确的12.04 LTS,可信的14.04 LTS,xenial的16.04 LTS等。 These packages may work with other Ubuntu releases, however, they are not supported. 这些软件包可以与其他Ubuntu版本一起使用,但是不支持。

This is the link to MongoDB official website that said above. 这是上面提到的MongoDB官方网站的链接 Could i still install MongoDB on my laptop ? 我还能在笔记本电脑上安装MongoDB吗?

Yes. 是。 MongoDB is no longer providing installation packages for 32-bit Linux distributions. MongoDB不再为32位Linux发行版提供安装软件包。

I found this below link can be help full for you. 我发现以下链接可以为您提供充分的帮助。 Please check it once. 请检查一次。

mongodb-on-32-bit-ubuntu mongodb的-ON-32位的ubuntu

Taken from : https://askubuntu.com/questions/772181/how-can-i-install-mongodb-on-32-bit-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