Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

fedornicus

@Gophernicus on Fedora Linux (Workstation Edition)

Install dev tools

cd ~/Projects/
sudo dnf -y group install c-development development-tools
sudo dnf -y install 'dnf-command(config-manager)'
sudo dnf config-manager --add-repo https://cli.github.com/packages/rpm/gh-cli.repo
sudo dnf -y install gh
gh auth login

Clone the repositories

gh repo clone dacbarbos/fedornicus
gh repo clone gophernicus/gophernicus

Build and Install Gophernicus

cd gophernicus
./configure --listener=systemd --os=linux
make
sudo make install
# remove the installed systemd unit files
sudo rm /lib/systemd/system/gophernicus*
cd ..

Install Stunnel and fedornicus conf file

sudo dnf -y install stunnel
cd fedornicus/etc/stunnel/
sudo install -m 644 *.conf /etc/stunnel/
cat /etc/stunnel/gophernicus-tls.conf
# use the comments to prep your TLS cert

Install fedornicus Systemd unit files

cd ~/Projects/
cd fedornicus/etc/systemd/system/
sudo install -m 644 * /etc/systemd/system/
cd

Enable fedornicus Systemd units

sudo systemctl enable --now gophernicus.socket
sudo systemctl enable --now gophernicus-tls.service
# verify if tcp ports 70 and 57070 do LISTEN
sudo ss -tulpn |grep 70

Install gopher client(s) and test

sudo dnf -y install lynx
lynx gopher://$HOSTNAME
cargo install ncgopher
ncgopher gopher://$HOSTNAME:57070
# only ncgopher seems to be TLS aware

Releases

Packages

Used by

Contributors