How can i install Mongodb on 32 bit ubuntu?

0 mongodb

Is there any possible for installation of mongodb on ubuntu

Sin*_*ary 5

Try running ALL the commands below, one by one

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
echo "deb http://repo.mongodb.org/apt/ubuntu "$(lsb_release -sc)"/mongodb-org/3.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.0.list
sudo apt-get update
sudo apt-get install -y mongodb-org
Run Code Online (Sandbox Code Playgroud)

Source

Taken from https://serverfault.com/a/728145/155817:

For installation on 32 bit OS, based on mongdodb docs you can try to install the tarball installation. That is (taken from the docs):

  1. download the binary files here or using
`curl -O https://fastdl.mongodb.org/linux/mongodb-linux-i686-3.0.6.tgz`
Run Code Online (Sandbox Code Playgroud)
  1. extract the files

    tar -zxvf mongodb-linux-i686-3.0.6.tgz

  2. copy extracted files

    mkdir -p mongodb
    cp -R -n mongodb-linux-i686-3.0.6/ mongodb
    
    Run Code Online (Sandbox Code Playgroud)
  3. add it to PATH

    #example in ~/.bashrc
    export PATH=<mongodb-install-directory>/bin:$PATH
    
    Run Code Online (Sandbox Code Playgroud)

note as noted in mongodb using this method will have some limitation

“这个 32 位旧版发行版不包括 SSL 加密,并且仅限于大约 2GB 的数据。一般来说,您应该使用 64 位版本。”

但最终取决于你。