Updated Raspberry Pi (markdown)

Lauri Ojansivu 2022-07-11 06:42:29 +03:00
parent ccea4551b0
commit bab0df6838

@ -30,6 +30,72 @@ Bundle for [s390x](https://github.com/wekan/wekan/wiki/s390x) is at https://rele
Bundle for [ppc64el](https://github.com/wekan/wekan/wiki/ppc) is at https://releases.wekan.team/ppc64le/ filename wekan-VERSION-ppc64le.zip Bundle for [ppc64el](https://github.com/wekan/wekan/wiki/ppc) is at https://releases.wekan.team/ppc64le/ filename wekan-VERSION-ppc64le.zip
## Installing MongoDB Snap for arm64/ppc64el/s390x
This Snap package https://snapcraft.io/juju-db , created by Canonical, has MongoDB for various CPU architectures . It is internal package for Canonical's Juju service https://jaas.ai . Snap repo at https://github.com/juju/juju-db-snap and copy at https://github.com/wekan/mongodb-snap
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, depending on your CPU architecture,
check filenames of directories etc at /snap/juju-db, like this:
For amd64:
```
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/snap/juju-db/135/usr/lib/x86_64-linux-gnu
export PATH="$PATH:/snap/juju-db/135/bin"
```
For arm64:
```
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/snap/juju-db/137/usr/lib/aarch64-linux-gnu
export PATH="$PATH:/snap/juju-db/137/bin"
```
For ppc64el:
```
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/snap/juju-db/138/usr/lib/powerpc64le-linux-gnu
export PATH="$PATH:/snap/juju-db/138/bin"
```
For s390x:
```
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/snap/juju-db/139/usr/lib/s390x-linux-gnu
export PATH="$PATH:/snap/juju-db/139/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
```
## About Raspberry Pi ## About Raspberry Pi
[Blogpost](https://blog.wekan.team/2019/06/wekan-on-raspi3-and-arm64-server-now-works-and-whats-next-with-cncf/index.html) - [Blogpost repost at dev.to](https://dev.to/xet7/wekan-on-raspi3-and-arm64-server-now-works-and-what-s-next-with-cncf-pbk) - [Thanks at CNCF original issue](https://github.com/cncf/cluster/issues/45#issuecomment-507036930) - [Twitter tweet](https://twitter.com/WekanApp/status/1145168007901134848) - [HN](https://news.ycombinator.com/item?id=20318237) [Blogpost](https://blog.wekan.team/2019/06/wekan-on-raspi3-and-arm64-server-now-works-and-whats-next-with-cncf/index.html) - [Blogpost repost at dev.to](https://dev.to/xet7/wekan-on-raspi3-and-arm64-server-now-works-and-what-s-next-with-cncf-pbk) - [Thanks at CNCF original issue](https://github.com/cncf/cluster/issues/45#issuecomment-507036930) - [Twitter tweet](https://twitter.com/WekanApp/status/1145168007901134848) - [HN](https://news.ycombinator.com/item?id=20318237)