💾 Archived View for daima.fr › tech › 2021-02-15_Capsule_server_setup.gmi captured on 2023-07-22 at 16:20:46. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-03-01)
-=-=-=-=-=-=-
mkdir ~/gemini && cd ~/gemini echo "# Hello World" > index.gmi
mkdir -p ~/certs/gemini && cd ~/certs/gemini openssl req -new -subj "/CN=domain-name.com" -x509 -newkey ec -pkeyopt ec_paramgen_curve:prime256v1 -days 3650 -nodes -keyout key.pem -out cert.pem
cd /etc/systemd/system sudo wget -O agate.service https://codeberg.org/etienne/gemini/raw/branch/main/agate-template.service # Once downloaded, make sure you update your agate.service with correct values
sudo systemctl start agate sudo systemctl enable agate
You're done ! Try now to reach your Gemini capsule with a browser like Lagrange:
This guide was based on Chris Were's instructions to get an Agate server setup. Check out his capsule!