💾 Archived View for gemini.baron.sethhan.com › 1_post.gmi captured on 2021-12-03 at 14:04:38. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
____ ____ _ _ / ___|_ __ _ _ _ __ ___ _ __ _ _ / ___|_ _| |__ | |__ ___ | | _| '__| | | | '_ ` _ \| '_ \| | | | | | _| | | | '_ \| '_ \/ __| | |_| | | | |_| | | | | | | |_) | |_| | | |_| | |_| | |_) | |_) \__ \ \____|_| \__,_|_| |_| |_| .__/ \__, | \____|\__,_|_.__/|_.__/|___/ |_| |___/ ____ _ _ _ | _ \ _ __ ___ __| |_ _ ___| |_(_) ___ _ __ | |_) | '__/ _ \ / _` | | | |/ __| __| |/ _ \| '_ \ | __/| | | (_) | (_| | |_| | (__| |_| | (_) | | | | |_| |_| \___/ \__,_|\__,_|\___|\__|_|\___/|_| |_|
If you want host your Gemini Capsule on your own server, then Agate might the the solution for you as it was for me. This is a very short guide on how I did set it up on a linux running Archlinux.
First make sure you have paru installed or you need to download the agate-bin snapshot from the Archlinux AUR repository by your self and unzip before running the makepkg -si command. Recommended is to to run this from a normal user.
-> useradd -mU -G users normal-user
-> passwd normal-user
-> sudo -iu normal-user
-> paru -S agate-bin
-> mkdir gemini-capsule
-> touch ~/gemini-casule/index.gmi
-> echo "Hello World!" | tee -a ~/gemini-capsule/index.gmi
-> agate --content ~/normal-user/gemini-capsule/ --addr [::]:1965 --addr 0.0.0.0:1965 --hostname www.example.com --lang en-US --ecdsa --serve-secret --log-ip 2>> ~/normal-user/.agate-error.log
-> tail -f ~/.agate-error.log
Important is to set the value for --hostname correct. This must be the dns address you attend to use when connecting to your Gemini Capsule. Otherwise, the automatically generated TLS certificate will mismatch and connection fails. In this setup I also had to add --ecdsa
as the default didn't work on all clients at the time when writing this post.
It is also possible to create an systemd service to run agate which could be handy if you reboot your server now and then. Explore the Gemini space or normal Internet for such configurations if that's something you need.
Br, Grumpy and Gubbs