diff --git a/ppc.md b/ppc.md index 95a4598..75bbbba 100644 --- a/ppc.md +++ b/ppc.md @@ -6,21 +6,41 @@ [xet7](https://github.com/xet7), as maintainer of [Wekan](https://wekan.github.io), got access to ppc64le at at University of Campinas - Unicamp Minicloud. Unicamp is member of [OpenPOWER Foundation](https://openpowerfoundation.org). At Minicloud OpenStack, xet7 created Ubuntu 20.10 VM, and at 2020-12-22 ported Wekan to ppc64le very similarly like previously for [s390x](https://github.com/wekan/wekan/wiki/s390x). -## About MongoDB for OpenPower +## Installing MongoDB on OpenPower Ubuntu 20.04 ppc64le -Working: -- Official MongoDB binaries for OpenPower are available as part of MongoDB Enterprise subscription. +``` +ssh yourserver -Other options: -- There is no Community version of MongoDB binaries for OpenPower available, like there is for other CPUs like x64/arm64/s390x. -- xet7 did not yet get MongoDB successfully built from source for OpenPower. -- There are some unofficial MongoDB Docker images by random people, but they could be old versions of MongoDB, and there is no guarantee they don't have any malicious code. -- If sometime in the future some working database binaries become available, link to them will be added here. -- If sometime in the future support for other databases is added to Wekan, info about it could be added here, although adding support for other databases could be a lot of work. +sudo apt install snapd 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 + +Now MongoDB is at localhost port 27019. You connect to CLI with command: +``` +mongo +``` ## Download - wekan-VERSION-ppc64le.zip at https://releases.wekan.team/ppc64le/ +- nodejs for linux ppc64le at https://nodejs.org/dist/latest-v14.x/ ## Install @@ -48,3 +68,15 @@ cd .. cp -pR /home/ubuntu/node-fibers/bin/linux-ppc64-72-glibc bundle/programs/server/node_modules/fibers/bin/ zip -r wekan-VERSION-ppc64le.zip bundle ``` + +## OLD INFO: About MongoDB for OpenPower + +Working: +- Official MongoDB binaries for OpenPower are available as part of MongoDB Enterprise subscription. + +Other options: +- There is no Community version of MongoDB binaries for OpenPower available, like there is for other CPUs like x64/arm64/s390x. +- xet7 did not yet get MongoDB successfully built from source for OpenPower. +- There are some unofficial MongoDB Docker images by random people, but they could be old versions of MongoDB, and there is no guarantee they don't have any malicious code. +- If sometime in the future some working database binaries become available, link to them will be added here. +- If sometime in the future support for other databases is added to Wekan, info about it could be added here, although adding support for other databases could be a lot of work.