1
0

fedora.md 1.0 KB

Installing CJDNS on Fedora

(last tested on Fedora 22, those with fedora versions older than 22 should substitute yum for dnf.)

Install from dnf (easy)

sudo dnf install cjdns

Skip straight down to "Generating a config"

For development

Prerequisites

sudo dnf install git nodejs gcc

Getting cjdns

git clone https://github.com/cjdelisle/cjdns
cd cjdns/

Do you want to build crashey branch ? (optional)

git checkout crashey

Building cjdns

./do

Generating a config

./cjdroute --genconf | sudo tee /etc/cjdroute.conf

Setting cjdns to autostart on boot

sudo cp cjdns.service /etc/systemd/system/cjdns.service # This gives systemd some information about cjdns.
sudo systemctl enable cjdns.service #This sets cjdns to be started on boot. if you don't want that, feel free to leave this line out.
sudo systemctl start cjdns.service #This actually starts cjdns.

Check the logs

sudo systemctl status -l cjdns