Date: 2025-02-18
Last update: 2025-03-09
Current server setup - Raspberry Pi 4
-------------------------------------
Alpine Linux is installed on the Raspberry Pi 4 with 2GB of RAM and
32GB SD card. The machine is 3 meters from my bed. I am not
a programmer, nor professional IT guy. Alpine Linux is setup simple,
hobby noob way ;/ No encryption, no focus on security. No fraud, no
scam. Life is simple and magic.
NEX, NPS, Gopher, HTTP, Finger servers are simple Perl programs.
/bin/nex.pl /usr/local/libexec/nex.pl - nex server
/bin/nps.pl /usr/local/libexec/nps.pl - nsp server
/bin/god.pl /usr/local/libexec/god.pl - gopher server
/bin/web.pl /usr/local/libexec/web.pl - web server
/bin/fin.pl /usr/local/libexec/fin.pl - finger server
All those Perl server programs are run from listening inetd.
/bin/inetd.conf /etc/inetd.conf - config file of inetd superserver
The same plain text files are shared for all protocols from directory
/var/nex. There is just special file index, which handles default NEX
requests and file menu that is main Gopher menu. Web server transforms
all plain text files into HTML on the fly.
Finger serves just /var/nex/board - The board of heroes. All files are
available over all protocols - NEX, HTTP, Gopher.
Installed necessary packages.
/bin/world /etc/apk/world
Config files
/bin/profile /home/morena/.config/ash/profile
/bin/ashrc /home/morena/.config/ash/ashrc
/bin/mailrc /home/morena/.config/mail/mailrc
/bin/vi.exrc /etc/vi.exrc
/bin/smtpd.conf /etc/smtpd/smtpd.conf
/bin/nftables.nft /etc/nftables.nft
Mail server runs mal.pl, packet filtering - firewall is handled
with nftables. HTTP web server is web.pl, it's NEX to WEB "proxy". I
write just content for NEX, then it nicely shows at the website too.
For Gopher I just add a menu entry that directs to new plain text
articles.
Nothing special, everything is simple in a minimal way. This setup is
not safe and not correct. It is my setup.
I am sorry for old Gopher farts, links here are usable just over NEX
and WEB as that is just NEX proxy. NEX is the present and the future.
Adapt, change and be part of the NEX big thing.
----------------------------------------------------------------------
There is nothing to be achieved. Life is not an achievement, it is a
gift. The existence accepts you, so accept yourself as you are.