Uptime Robot ratio (30 days)      
v2020.4.151
 7

✨ Debian Bullseye / Bookworm / Testing / SID MongoDB and MongoDB Tools build stable

It is basically a built for the latest MongoDB for Debian.

This is for x64 only.

The current version is the r4.4.0 build (https://docs.mongodb.com/manual/release-notes/ ).

There is a newer version 4.5.0, but given, we use NoSQLBooster, it only works with 4.4.0 and the 4.4.x is the stable, the next stable will be 4.6.0, 4.8.0 and so on...

Scripts for building 

It can work with sudo, but the best if you are root. Of course, you can check the code, there is no harm for sure!

git clone https://github.com/patrikx3/docker-debian-testing-mongodb-stable
cd docker-debian-testing-mongodb-stable

It downloads the specified version and deploy on your server.

1. Build MongoDB Server 

The command:

sudo ./scripts/build-server.sh 4.4.0

All defaults are in the config, that MongoDB uses:

  • /var/log/mongodb - log
  • /var/lib/mongodb - data

It generates everything, all you have to do as the script says.

2. Build MongoDB Tools 

The command:

./scripts/build-tools.sh

It generates and install GoLang and builds the tools that you find them in:
https://github.com/mongodb/mongo-tools

Then, it puts all tools into the default Debian /usr/bin directories.

The exact command is like:

sudo ./scripts/build-tools.sh r4.3.2

3. Start the services 

Before you start the database, but after the build , you are required to create a config (unless, you already have it), a skeleton is here:

artifacts/root-filesystem/etc/mongodb.conf

Add safety to the mongodb config file 

sudo cp ./artifacts/root-filesystem/etc/mongodb.conf /etc/mongodb.conf
sudo chmod o-rwx /etc/mongodb.conf
sudo chown mongodb:mongodb /etc/mongodb.conf

After you created the config, you start the database like:
service mongodb-server start or service mongodb-server restart

build MissOut
onenoteGithub onenoteredis-uiGithub redis-uiangular-compileGithub angular-compilegitlistGithub gitlistramdiskGithub ramdiskfreenomGithub freenomopenwrt-insomniaGithub openwrt-insomniadocker-debian-testing-mongodb-stableGithub docker-debian-testing-mongodb-stablecorifeusGithub corifeusredis-ui-serverGithub redis-ui-serversystemd-managerGithub systemd-managerverdaccio-cliGithub verdaccio-clicorifeus-app-web-pagesGithub corifeus-app-web-pagesredis-ui-materialGithub redis-ui-materialxml2jsonGithub xml2jsongrunt-p3x-expressGithub grunt-p3x-expresshtml-pdfGithub html-pdfangular-http-cache-interceptorGithub angular-http-cache-interceptorbinary-search-closestGithub binary-search-closestcorifeus-app-server-patrikx3Github corifeus-app-server-patrikx3corifeus-builderGithub corifeus-buildercorifeus-builder-angularGithub corifeus-builder-angularcorifeus-utilsGithub corifeus-utilsfortune-cookieGithub fortune-cookiejson2xls-worker-threadGithub json2xls-worker-threadtoolsGithub tools