v3.6.137-90

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

The current varsion is the r3.6.x build (release).

Warning

It will remove all mongodb* apt packages in ./scripts/build-server.sh, your old /etc/mongodb.conf (though it saves by timestamp like /etc/mongodb.conf.$TIMESTAMP.save) and /etc/systemd/system/mongodb-server.service is replaced.

It install the required apt dependencies and generates the SystemD service, enables and starts.

It is for testing, you build it in Docker to test it, but the live building is on the server in the directory in the GIT repository build directory and then it puts the files into /usr/bin.

Scripts

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 https://github.com/patrikx3/docker-debian-testing-mongodb-stable
cd docker-debian-testing-mongodb-stable

If below you get an error, please create and issue, because it is possible I did not added a package, because my server was already there, but I will add in it for you for sure with apt.

1. Build MongoDB Server

The command:

sudo ./scripts/build-server.sh

From:
https://github.com/mongodb/mongo/wiki/Build-Mongodb-From-Source

All defaults are in the config are the MongoDB uses:

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

It generates everything, all you have to do:

sudo ./scripts/build-server.sh r3.6.2

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 r3.6.2

3. Sometimes check the kernel

The command:

./scripts/check-kernel.sh

It the kernel have changed, it better to re-build the server and the tools.

build MissOut
aes-folderangular-compilecorifeuscorifeus-app-server-patrikx3corifeus-app-web-pagescorifeus-buildercorifeus-builder-angularcorifeus-servercorifeus-server-deployercorifeus-utilscorifeus-webcorifeus-web-materialdocker-debian-testing-mongodb-stabledocker-registry-clientfreenomgrunt-p3x-expresshtml-pdflede-insomnialede-mariadblede-redisonenoteopenwrt-insomniaopenwrt-mariadbopenwrt-redisramdiskredis-commandersystemd-managertools