0

What is the easiest and fastest way to setup a public Oxen service node?

0

Follow the guide here as of May 2021:

https://docs.oxen.io/using-the-oxen-blockchain/oxen-service-node-guides/full-service-node-setup-guide

If setting up a brand new Ubuntu 20.04 server, you just need the following commands:

sudo curl -so /etc/apt/trusted.gpg.d/oxen.gpg https://deb.oxen.io/pub.gpg


echo "deb https://deb.oxen.io focal main" | sudo tee /etc/apt/sources.list.d/oxen.list


sudo apt update


sudo apt install oxen-service-node


oxend status

If you want to skip the downloading of the entire blockchain, you can always fetch the entire blockchain from:

https://public.loki.foundation

Just download and replace it directly to: /var/lib/oxen/lmdb

Another alternative is put this in a bash script and run it on a fresh install of Ubuntu 20.4:

#!/bin/sh
sudo curl -so /etc/apt/trusted.gpg.d/oxen.gpg https://deb.oxen.io/pub.gpg
echo "deb https://deb.oxen.io focal main" | sudo tee /etc/apt/sources.list.d/oxen.list
sudo apt update -y
sudo apt upgrade -y
apt install fail2ban magic-wormhole ack-grep oxen-service-node -y
systemctl stop oxen-node
cd /var/lib/oxen/lmdb
rm data.mdb
wget https://public.loki.foundation/loki/data.mdb
chown _loki: data.mdb

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.