This guide is specific to computers with ARMv7 Processors ONLY, Eg Raspberry Pi 2/3
Current Monero Version: 0.12.0.0 Lithium Luna
- Add an unprivileged monero user:$ sudo adduser monero
- Change to this new user:$ sudo su monero$ cd
- Download Monero client for ARMv7:$ wget https://downloads.getmonero.org/cli/linuxarm7 -O monero.tar.gz
- Extract monero.tar.gz:$ tar -xvf monero.tar.gz$ mv monero-v0.12.0.0 monero
- Copy the blockchain over:$ rsync -axvP /where/ever/you/have/your/.bitmonero/ monero@raspberryPiIP:/home/monero/.bitmonero/orzip it and copy it over in some other way
- Make sure permissions are correct:$ chown monero: -R /home/monero/.bitmonero
- Create a service so monerod starts automatically on boot.$ exit$ sudo vim /lib/systemd/system/ and add this:[Unit]Description=Monero's distributed currency daemonAfter=network.target[Service]User=moneroGroup=moneroType=forkingExecStart=/home/monero/monero/monerod --confirm-external-bind --restricted-rpc --rpc-bind-ip 0.0.0.0 --fluffy-blocks --block-sync-size 1 --detachKillMode=processRestart=on-failureTimeoutSec=120[Install]WantedBy=multi-user.target
- Enable the service you just created:$ sudo systemctl enable monerod$ sudo systemctl start monerod
- Check the logs to see if the service is running properly:$ sudo tail -f /home/monero/.bitmonero/bitmonero.log
- (Optional) You might want to add some credentials to your RPC server. Run /home/monero/monero/monerod --help for more information
0 comments:
Post a Comment