From 8b4588542e66dd6fd8659e202ebe6250dbdbf2cb Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Mon, 11 Jul 2022 06:05:16 +0300 Subject: [PATCH] Updated s390x (markdown) --- s390x.md | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/s390x.md b/s390x.md index b66923f..79c3f0e 100644 --- a/s390x.md +++ b/s390x.md @@ -11,6 +11,52 @@ - wekan-VERSION-s390x.zip at https://releases.wekan.team/s390x/ +## Installing MongoDB + +Install Snap for your distro https://snapcraft.io/docs/installing-snapd + +Then: + +``` +ssh yourserver + +sudo dnf install nano + +sudo reboot + +sudo snap install juju-db + +sudo snap refresh juju-db --channel=5.3/stable + +sudo snap enable juju-db + +sudo snap start juju-db + +nano .bashrc +``` +There add path to commands mongo, mongodump, mongorestore etc +``` +export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/snap/juju-db/138/usr/lib/powerpc64le-linux-gnu +export PATH="$PATH:/snap/juju-db/138/bin" +``` +Save and exit: Ctrl-o Enter Ctrl-x + +Exit ssh, and ssh to server again, +``` +exit + +ssh yourserver +``` +Or alternatively just read new paths to mongo etc commands: +``` +source .bashrc +``` + +Now MongoDB is at localhost port 27017. You connect to CLI with command: +``` +mongo +``` + ### RHEL 8 New info 2022-01-18: