How-to: Ravencoin Full Node 4.3.2.1 on Ubuntu 22.04

preview_player
Показать описание
In this video, I talk about how to install and configure a Ravencoin full node 4.3.2.1 on Ubuntu 22.04.

*** Since I recorded the video I've made some tweaks to the log rotation so the below doesn't exactly match the video. ***

The basic steps are:

= Prep OS
sudo su
apt update
apt upgrade

= Create an account to run Ravencoin core in isolation from the rest of the system
groupadd rvn
useradd -g rvn -m -s /bin/bash rvn
su - rvn

= Download latest release from here:
e,g.

= Extract it:

= Clean up:

= Add the commonly used binaries to the users local bin (which is added to the path automatically)
mkdir ~/bin
ln -s ~/raven-4.3.2.1/bin/raven-cli ~/bin/raven-cli
ln -s ~/raven-4.3.2.1/bin/ravend ~/bin/ravend

= Now "logout" and back in again as rvn (so profile is used and path gets updated)
exit
su - rvn

= Create the configuration file:
mkdir ~/.raven
externalip=121.98.22.147
externalip=2404:4408:63a4:a01::250
listenonion=0
disablewallet=1
dbcache=2048

= Do a test run:
ravend
== If no errors then after 30s:
ctrl-c

= Now setup to run as a daemon:
== Become root again:
exit

[Unit]
Description=Ravencoin daemon

[Service]
User=rvn
Group=rvn
Type=forking
KillMode=process
Restart=always
TimeoutSec=120
RestartSec=30

[Install]

== Enable and start service
systemctl daemon-reload

= Setup log rotation of debug log
vi /etc/logrotate.d/ravend
{
su rvn rvn
missingok
notifempty
compress
delaycompress
sharedscripts
copytruncate
}

== Check logrotation service is correctly configured

= Check Ravencoin Daemon
su - rvn
raven-cli getnetworkinfo
raven-cli getblockchaininfo
raven-cli getpeerinfo

= This shows disk space used - should grow to begin with, currently xxxGB "all up" for me
du -h ~/.raven/

Check:

#ravencoin #ubuntu #howto

Video Content
00:00 Intro
00:10 Why run a Ravencoin full node?
00:48 Requirements
01:38 Initial setup prep
02:11 Setup separate user to run software
02:43 Main setup
03:50 Setup path
04:44 Creating a config file
05:56 Initial test run
06:22 Create a systemd service
07:53 Setting up log rotation
09:13 Checks and troubleshooting
11:13 Check your node is online
11:32 Add router port forward
Рекомендации по теме
Комментарии
Автор

Hi Philip, I liked your video, Check: If I install Ravennodes on Ubuntu, what do I get for using the node on my server? Do I get a reward or some payment?

croelangrandezjr
Автор

Are all raven node tools compiled binaries?
is there no source code?

jaminoes_
Автор

Thank you .. an amazing video... but how to know if my ravend is working .. getblockcount is always zero =(

slayckflatearth
Автор

they just release new version, ur tutorial is not working now

limmengan
Автор

Should you get a permission error at systemctl start then as root:
cd bin
chmod +x ./raven-cli
chmod +x ./ravend

fixed it for me.

chrisobber