💾 Archived View for gemini.rlamacraft.uk › techGuides › geminiRaspPi.gmi captured on 2024-02-05 at 09:24:26. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-03-01)
-=-=-=-=-=-=-
Here records the trials and tribulations of a lost weekend.
Most of these steps presumably work equally well on any device, minus the build of the server software.
1. Download Adrian Hesketh's server software.
2. Certificate Generation
openssl ecparam -genkey -name secp384r1 -out server.key
openssl req -new -x509 -sha256 -key server.key -out server.crt -days 3650
3. Create a hello world Gemini file, for testing purposes
mkdir content echo "# Hello, World!" > content/index.gmi
4. Run the server, and make sure it all works
gemini serve --domain=example.com --certFile=server.crt --keyFile=server.key --path=content
5. Create a script to simplify running
6. Tell cron to run it at startup
Run
crontab -e
And append the following
@reboot bash run-server.sh
And that's it, you're done.
Last Updated: 2020-11-29