I have a spare RPi4 running Ubuntu Desktop, which I plan to set as an IPFS node. I was hoping to find the friendly IPFS Desktop app to install on it - but it seems there are only Debian packages for AMDs.
Is this indeed the case? If so, is there an ARM version in the works?
Follow up question: in case indeed there’s no Desktop App for ARM, is this tutorial to install a node up to date?
Besides, the tutorial mentions Ubuntu Server in particular. Will it work with Ubuntu Desktop instead?
If you want to make it work today, and are ok with not having a tray icon, and don’t mind runing some CLI commands in terminal, you can run Kubo IPFS daemon without the Electron wrapper, and get the same IPFS node as you would if you’ve run IPFS Desktop.
This is how I run my IPFS node personally (both PC and RPi4 for testing)
No matter which way you’ve run Kubo, once you start ipfs daemon, you should be able to access the same WebUI you have in IPFS Desktop by opening http://127.0.0.1:5001/webui/ in a regular web browser, and have Gateway on port :8080.
It really depends on your distro, but in theory if you just run:
# systemd enable ipfs
# systemd start ipfs
it should work. In practice it probably would not.
what probably will be issues is:
you don’t have ipfs user
selinux/apparmor rules might interfere with ipfs from systemd
To fix user issue you need to edit: /etc/systemd/system/ipfs.service and change user to yourself.
in case you have running selinux, easiest for you would be disable it using # setenforce 0
you can also change default policy to permissive in /etc/selinux/config (selinux will be disabled also after reboot)
after that run a bit ipfs, try do as much services as you can
run: # audit2allow -i /var/log/audit/audit.log
and follow steps what that program tell you to do, this way you’ll create selinux rules for ipfs and you run it while also having selinux enabled.
In case of AppArmor, I don’t know how to work with that.
This should solve your question, if you have any question , feel free to message me.