User:Barbs/SI30/CollectiveWiki: Difference between revisions
No edit summary |
No edit summary |
||
| (13 intermediate revisions by the same user not shown) | |||
| Line 13: | Line 13: | ||
The phone I am using is a Samsung Galaxy A51 from 2020. I gave it a Star Trek wallpaper :) | The phone I am using is a Samsung Galaxy A51 from 2020. I gave it a Star Trek wallpaper :) | ||
==Installing Termux | ==Installing Termux== | ||
I followed the steps detailed in the [https://wiki.comphost.club/ comphosting workshop tutorial] and didn't run into any issues. | I followed the steps detailed in the [https://wiki.comphost.club/ comphosting workshop tutorial] and didn't run into any issues. | ||
==Installing Ikiwiki on Termux from source | After this I run <code>sshd</code> on Termux and SSH onto it from my laptop! | ||
==Installing Ikiwiki on Termux from source== | |||
Wanting to start the installation of ikiwiki, the first issue I ran into was that Termux does not use a package manager like Debian/Ubuntu/Fedora, and has a different file system compared to other Linux distro's due to it using the Android phone's files as a base. | Wanting to start the installation of ikiwiki, the first issue I ran into was that Termux does not use a package manager like Debian/Ubuntu/Fedora, and has a different file system compared to other Linux distro's due to it using the Android phone's files as a base. | ||
| Line 24: | Line 26: | ||
Tried to install ikiwiki but it says the dependencies are missing… | Tried to install ikiwiki but it says the dependencies are missing… | ||
==Installing Ubuntu on Termux | ==Installing Ubuntu on Termux== | ||
[[File:Ubuntutermux.jpg|thumb|Installing Ubuntu..]] | [[File:Ubuntutermux.jpg|thumb|Installing Ubuntu..]] | ||
A week later I realized it is possible to install a linux distro onto Termux. I first found a git repo that lets you install Ubuntu inside of Termux.<br> | A week later I realized it is possible to install a linux distro onto Termux. I first found a git repo that lets you install Ubuntu inside of Termux.<br> | ||
https://jorexdeveloper.github.io/termux-ubuntu/ | https://jorexdeveloper.github.io/termux-ubuntu/ | ||
==Installing Ikiwiki on Ubuntu on Termux | ==Installing Ikiwiki on Ubuntu on Termux== | ||
I ran <code>apt-get install ikiwiki</code> | I ran <code>apt-get install ikiwiki</code><br> | ||
Got error | Got error: | ||
Dropped it for the rest of the break | /etc/ikiwiki/auto.setup: Only one Term::ReadLine::Gnu instance is allowed. at /usr/share/perl5/IkiWiki/Setup/Automator.pm line 17. | ||
Dropped it for the rest of the break :') | |||
A week later I discovered Eleni's [[Ikiwiki]] page, and that she and Claudio have been experimenting with it too! We chatted and shared our progress. | |||
Eleni got the exact same error and found the solution, [[Ikiwiki#Setup|detailed here]]. The installation worked! | |||
===Installing and running nginx on Ubuntu on Termux | ===Installing and running nginx on Ubuntu on Termux=== | ||
The next step was hosting the wiki through nginx, however I got an error trying | |||
==Installing Debian on Termux | ==Installing Debian on Termux== | ||
https://wiki.termux.com/wiki/PRoot#Installing_Linux_distributions | https://wiki.termux.com/wiki/PRoot#Installing_Linux_distributions | ||
==Installing Ikiwiki on Debian on Termux [ | ==Installing Ikiwiki on Debian on Termux== | ||
[[File:Ikiwikisuccess.png|thumb|Success!!!]] | |||
== Ikiwiki editing! == | |||
[[File:Ikiwikiscreenshot.png|thumb]] | |||
=Sidequest: Slow SSH on Termux..= | |||
* https://github.com/termux/termux-packages/issues/1193 | |||
* https://github.com/termux/termux-packages/issues/491 | |||
* https://glow.li/posts/access-termux-via-usb/ | |||
=Installing Ikiwiki on a VPS= | |||
Long story short, turns out you can't run systemd on Termux, which is kind of necessary for all the background things to work for ikiwiki, cgi and git. | |||
Soooo I ended up getting a VPS and following [https://permacomputing.net/installing/ the installation instructions on the Permacomputing wiki] which all went completely smoothly (gasp)! | |||
Latest revision as of 10:59, 9 June 2026
I want to make a wiki for me & my friends to document our practice, research and projects!
To do:
- Host a server on an old smartphone
- Choose & install wiki software
Manetta gave me some links to look into:
- Ikiwiki
- Docuwiki
Installing ikiwiki on an old phone using termux
The phone I am using is a Samsung Galaxy A51 from 2020. I gave it a Star Trek wallpaper :)
Installing Termux
I followed the steps detailed in the comphosting workshop tutorial and didn't run into any issues.
After this I run sshd on Termux and SSH onto it from my laptop!
Installing Ikiwiki on Termux from source
Wanting to start the installation of ikiwiki, the first issue I ran into was that Termux does not use a package manager like Debian/Ubuntu/Fedora, and has a different file system compared to other Linux distro's due to it using the Android phone's files as a base.
As a solution, I first tried to download and compile ikiwiki from source, following the instructions on the wiki.
- Installed Perl
- Installed all the dependencies
Tried to install ikiwiki but it says the dependencies are missing…
Installing Ubuntu on Termux
A week later I realized it is possible to install a linux distro onto Termux. I first found a git repo that lets you install Ubuntu inside of Termux.
https://jorexdeveloper.github.io/termux-ubuntu/
Installing Ikiwiki on Ubuntu on Termux
I ran apt-get install ikiwiki
Got error:
/etc/ikiwiki/auto.setup: Only one Term::ReadLine::Gnu instance is allowed. at /usr/share/perl5/IkiWiki/Setup/Automator.pm line 17.
Dropped it for the rest of the break :')
A week later I discovered Eleni's Ikiwiki page, and that she and Claudio have been experimenting with it too! We chatted and shared our progress.
Eleni got the exact same error and found the solution, detailed here. The installation worked!
Installing and running nginx on Ubuntu on Termux
The next step was hosting the wiki through nginx, however I got an error trying
Installing Debian on Termux
https://wiki.termux.com/wiki/PRoot#Installing_Linux_distributions
Installing Ikiwiki on Debian on Termux
Ikiwiki editing!
Sidequest: Slow SSH on Termux..
- https://github.com/termux/termux-packages/issues/1193
- https://github.com/termux/termux-packages/issues/491
- https://glow.li/posts/access-termux-via-usb/
Installing Ikiwiki on a VPS
Long story short, turns out you can't run systemd on Termux, which is kind of necessary for all the background things to work for ikiwiki, cgi and git.
Soooo I ended up getting a VPS and following the installation instructions on the Permacomputing wiki which all went completely smoothly (gasp)!