s390x - cloudron-io/wekan GitHub Wiki
About s390x
- https://en.wikipedia.org/wiki/Linux_on_IBM_Z
- FLOSS 564 Interview about Open Mainframe Project
- Open Mainframe Project
- LinuxOne Community Cloud
xet7, as maintainer of Wekan, got access to mainframe at IBM LinuxOne Community Cloud. There are access to SUSE and RHEL 7 servers, so this Wekan version has been tested on RHEL7. Access to those servers is monitored, it's running on a real mainframe. On that s390x server it is possible to download repos directly from GitHub, but building directly on those servers is not possible, because access to npm etc package repos in not at whitelist. There are no open ports to Internet at LinuxOne Community Cloud provided server.
Download
- wekan-VERSION-s390x.zip at https://releases.wekan.team/s390x/
RHEL 8
sudo yum -y update
sudo yum -y install git nano npm curl wget podman-docker openssl-devel libcurl-devel clang zip unzip
docker run --name wekan-db -d -p 127.0.0.1:27017:27017 mongo
sudo npm -g install n
sudo n 12.18.0 ## newest 12.x from https://nodejs.org
mkdir repos
cd repos
git clone https://github.com/wekan/wekan
cp wekan/start-wekan.sh .
nano start-wekan.sh
# Edit start-wekan.sh for ports and paths, so starts
# "node main.js" at "build" directory".
# Look for version number from https://releases.wekan.team/s390x/
wget https://releases.wekan.team/s390x/wekan-VERSION-s390x.zip
unzip wekan*s390x.zip
./start-wekan.sh
RHEL 7
Node.js LTS newest 12.x release for s390x can be downloaded from https://nodejs.org
MongoDB v4.x Community Server for s390x RHEL7 is at https://www.mongodb.com. For example files can be like these filenames:
- mongodb-org-mongos-4.2.3-1.el7.s390x.rpm
- mongodb-org-server-4.2.3-1.el7.s390x.rpm
- mongodb-org-shell-4.2.3-1.el7.s390x.rpm
- mongodb-org-tools-4.2.3-1.el7.s390x.rpm
Install
Installing is similar like at https://github.com/wekan/wekan/wiki/Raspberry-Pi
You can start it with start-wekan.sh from https://github.com/wekan/wekan or add SystemD service.
Setup ROOT_URL like described at https://github.com/wekan/wekan/wiki/Settings
At https://github.com/wekan/wekan/wiki is also info about Caddy/Nginx/Apache etc.
Some related links also at https://github.com/wekan/wekan/wiki/Platforms
How this s390x bundle package was created for RHEL 7
- Install Node.js
- scp wekan-VERSION.zip bundle to s390x server, and unzip it
- Clone and build Fibers, copy fibers to bundle, and zip bundle.
git clone https://github.com/laverdet/node-fibers
cd node-fibers
node build.js
cd ..
cp -pR /home/linux1/node-fibers/bin/linux-s390x-72-glibc bundle/programs/server/node_modules/fibers/bin/
zip -r wekan-VERSION-s390x.zip bundle