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:23] 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>
 # Configuration file for monerod # Configuration file for monerod
 # See 'monerod --help' for all available options. # See 'monerod --help' for all available options.
  
-# Binding your node to your home network & set username and password+# Binding your node & set username and password
 rpc-bind-ip=0.0.0.0 rpc-bind-ip=0.0.0.0
 rpc-bind-port=18081              rpc-bind-port=18081             
Line 62: Line 62:
 </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 79: Line 79:
 <code> <code>
 #!/sbin/openrc-run #!/sbin/openrc-run
-# Autostart monero daemon with previous set configurations+# Autostart monero daemon with configuration from monero.conf
  
-command="/usr/bin/monerod" +command="monerod" 
-command_args="--config-file=/etc/monerod.conf"+command_args="--detach --config-file=/etc/monerod.conf""
-command_background="yes"+
  
 pidfile="/var/run/monerod.pid" pidfile="/var/run/monerod.pid"
start/system/monero/node.1735475010.txt.gz · Last modified: 2024/12/29 12:23 by marlonivo

Donate Marlon Ivo's Webpage