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:
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
Create a new configuration file with nano /etc/monerod.conf
and add the official config file from github/monero or mine:
# Configuration file for monerod # See 'monerod --help' for all available options. # Binding your node & set username and password rpc-bind-ip=0.0.0.0 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
At last give the monero user the rights to execute
chown -R monero:monero /var/lib/monero chown -R monero:monero /var/log/monero
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 configuration from monero.conf command="monerod" command_args="--detach --config-file=/etc/monerod.conf"" pidfile="/var/run/monerod.pid"
Starte den Monero-Daemon und adde ihn als autostart
rc-service monerod start rc-update add monerod default
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: