Marlon's Wiki

it's better when it's simpler

User Tools

Site Tools


start:system:monero:node

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
start:system:monero:node [2024/12/29 12:16] – [Login] marlonivostart:system:monero:node [2025/01/04 09:14] (current) marlonivo
Line 1: Line 1:
-====== Node ======+====== Monero 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. 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.
  
Line 7: Line 7:
     * 200 GB SSD     * 200 GB SSD
  
-===== A new MONERO USER =====+===== A new Monero User =====
 ---- ----
 First we wanna create a new monero user First we wanna create a new monero user
Line 36: Line 36:
 ===== Monerod Configurations ===== ===== Monerod Configurations =====
 ---- ----
-Create a new configuration file with ''%%nano /etc/monerod.conf%%'' and add:+Create a new configuration file with ''%%nano /etc/monerod.conf%%'' and add the official config file from [[https://github.com/monerodocs/md/blob/master/docs/interacting/monero-config-file.md|github/monero]] or mine:
 <code> <code>
-rpc-bind-ip=0.0.0.0               <- Reducing traffic on home network +# Configuration file for monerod 
-rpc-bind-port=18081               <- Bind to the previous opened port      +# See 'monerod --help' for all available options. 
-confirm-external-bind=1           <- Let others connect      + 
-rpc-login=username:password       <set a username and password +# Binding your node & set username and password 
-log-file=/var/log/monerod.log     <- create a log-file destination +rpc-bind-ip=0.0.0.0 
-data-dir=/var/log/monero          <- the place where your blockchain will be stored+rpc-bind-port=18081              
 +confirm-external-bind=1 
 +rpc-login=username:password 
 + 
 +# Set the blockchain directory 
 +data-dir=/var/lib/monero 
 +log-file=/var/log/monero/monero.log 
 +log-level=0 
 + 
 +# Slow but reliable db-settings 
 +db-sync-mode=safe 
 +limit-rate-up=1048576 
 +limit-rate-down=1048576 
 + 
 +# Prune Blockchain in order to speed up the process 
 +prune-blockchain=true 
 +sync-pruned-blocks=true
 </code> </code>
  
-At last give your user the rights to execute+At last give the monero user the rights to execute
 <code> <code>
 chown -R monero:monero /var/lib/monero chown -R monero:monero /var/lib/monero
Line 63: Line 79:
 <code> <code>
 #!/sbin/openrc-run #!/sbin/openrc-run
 +# Autostart monero daemon with configuration from monero.conf
  
-description="Monero Daemon" +command="monerod" 
- +command_args="--detach --config-file=/etc/monerod.conf""
-command="/usr/bin/monero/monerod" +
-command_args="--config-file=/etc/monerod.conf"+
-command_background="yes"+
  
 pidfile="/var/run/monerod.pid" pidfile="/var/run/monerod.pid"
Line 89: Line 103:
 Then Login in your monero-wallet-gui with your credentials:  Then Login in your monero-wallet-gui with your credentials: 
   * IP: 123.45.6.7.89   * IP: 123.45.6.7.89
-  * Port: 18080+  * Port: 18081
   * Username: user   * Username: user
   * Passwort: password   * Passwort: password
start/system/monero/node.1735474605.txt.gz · Last modified: 2024/12/29 12:16 by marlonivo

Donate Marlon Ivo's Webpage