💾 Archived View for leberwurstsemmel.de › setup_en.gmi captured on 2023-12-28 at 15:05:39. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-01-29)

-=-=-=-=-=-=-

Set up a gemini-server

Update Sources

sudo apt update

Install required Tools

sudo apt install gunzip nano openssl ufw wget

Create gemini-Folder in your HOME-Directory

mkdir -p ~/gemini/{content,certificate,server}

Create a simple Startpage

echo "# leberwurstsemmel.de" > ~/gemini/content/index.gmi

(Edit Domain-Name)

Change to Subfolder '~/gemini/server'

cd ~/gemini/server/

Show current Platform

uname -a

('x86_64' in my Case)

Copy Link to .gz

https://github.com/mbrubeck/agate/releases/download/

Download agate*.gz using wget

wget https://github.com/mbrubeck/agate/releases/download/v3.2.4%2Bbuild/agate.x86_64-unknown-linux-gnu.gz

Unpack agate*.gz using gunzip

gunzip agate.x86_64-unknown-linux-gnu.gz

Rename File

mv agate.x86_64-unknown-linux-gnu agate-server

make agate-server executable

chmod +x agate-server

create agate.service

sudo nano /etc/systemd/system/agate.service

(Change USER,Domain-Names and Language to your Needs)

Activate Autostart for agate.service

sudo systemctl enable agate.service

Start agate.service

sudo systemctl start agate.service

Open Port 1965

sudo ufw allow 1965

First Setup is now finished. Now try to open your geminispace in a Client like Lagrange

gemini://leberwurstsemmel.de

Have Fun!