Marlon's Wiki

it's better when it's simpler

User Tools

Site Tools


start:system:monero:node

This is an old revision of the document!


Node

A device on the Internet running the Monero software, with a full copy of the Monero blockchain, actively assisting the Monero network. A node that is not running on your local machine is called remote node. Remote nodes can be private, if they are for personal use only, or open, if they are accessible by other people.

Systemanforderungen:

  • 2 VCPUs
  • 4 GB RAM
  • 200 GB SSD

A new MONERO USER


First we wanna create a new monero user

useradd monero
passwd monero             <- give monero user a password

Login with monero and install necessary Software

pacman -S ufw wget 

Open port 18081

sudo ufw allow 18081

Install and extract the monero full node:

wget https://downloads.getmonero.org/linux64           <- Latest stuff 
tar --strip-components= -xvjf linux64                  <- extract
mv monero/monerod /usr/bin/                            <- move monerod to global 


Monerod Configurations


Create a new configuration file with nano /etc/monerod.conf and add:

rpc-bind-ip=0.0.0.0               <- Reducing traffic on home network
rpc-bind-port=18081               <- Bind to the previous opened port     
confirm-external-bind=1           <- Let others connect     
rpc-login=username:password       <- set a username and password
log-file=/var/log/monerod.log     <- create a log-file destination
data-dir=/var/log/monero          <- the place where your blockchain will be stored

At last give your user the rights to execute

chown -R monero:monero /var/lib/monero
chown -R monero:monero /var/log/monero


Monerod als Service einrichten


Erstelle ein neues Service-Skript in /etc/init.d/monerod:

nano /etc/init.d/monerod

Füge folgenden Inhalt ein:

#!/sbin/openrc-run
# Autostart monero daemon with previous set configurations

command="/usr/bin/monerod"
command_args="--config-file=/etc/monerod.conf""
command_background="yes"

pidfile="/var/run/monerod.pid"

Starte den Monero-Daemon und adde ihn als autostart

rc-service monerod start
rc-update add monerod default


Wallet Login


After that make your IP Visible with the command:

ip -4 addr show | grep inet

Then Login in your monero-wallet-gui with your credentials:

  • IP: 123.45.6.7.89
  • Port: 18081
  • Username: user
  • Passwort: password
start/system/monero/node.1735474683.txt.gz · Last modified: 2024/12/29 12:18 by marlonivo

Donate Marlon Ivo's Webpage