Install and Setup a Gemini Server
Several months ago I discovered the **Gemini** protocol in the **HTTP** protocol. I read some articles about it and decide to give it a try and setup my own server.
This is what I did to have up and running my **Gemini Capsule**, I think is not the best way but it works fine.
Directory Structure
Before install the server and create the systemd service that we need. First create this directories
All the directories were created in the home user.
Generate the TLS Certificate
First let's create the TLS certificates that we need for our capsule, go to the directory that was created
Now run this command
Change *yourdamain.xxx* for your domain. The certificates that were created will last 5 year, if that is way to much for just change the days you want
Install Agate Gemini Server
There are several server out there for a Gemini server, I choose **Agate** for its simplicity and lightweight
Download the binary file from
Unpack the file with
For an easy way to work with that file rename it just to agate
Move the binary file to its directory and make the binary executable
Setup a Systemd Service
Now to work with **Agate** we need to create a systemd service, since I'm usegin a Debian server systemd is present in the system.
Copy and past this code in the new file
Change USER for your user name or the server user
Start and Enable the Systemd Service
To start and enabled the new server just run
If everything goes well, now is time to test you new capsule, here are a list of clients. But first we need an index.gmi
Gemini Clients
CLI Clients
- Amfora (I use this one)
- Azuka
- AV-98
- Bombadillo
GUI Clients
- Castor
- GemiNaut
- Kristall
- Lagrange
I haven't use any of the GUI clients, I like to live in the terminal.
That's it!
----------
----------
© DarknessCode