我只想在我的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吗?
答案 0 :(得分:2)
答案 1 :(得分:0)
取自: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.