MongoDB Community Edition 3.2.19
Goals:
- Install a mongodb server in Ubuntu 18.04 32bits.
Install:
- curl -O https://fastdl.mongodb.org/linux/mongodb-linux-i686-3.2.19.tgz
- tar -zxvf mongodb-linux-i686-3.2.19.tgz
- mkdir -p ~/mongodb
- cp -R -n mongodb-linux-i686-3.2.19/ mongodb
- export PATH=~/mongodb/bin:$PATH
- Starting MongoDB with previous config file and legacy storage engine. This way the databases from older version still active and with data already saved.
- sudo ~/mongodb/bin/mongod --storageEngine=mmapv1 --config /etc/mongodb.conf
Testing:
Troubleshooting:
- Error: solved Cannot start server. The default storage engine 'wiredTiger' is not available with this build of mongod.
- force mmapv1 engine with option mongod --storageEngine=mmapv1
References: