Crypto Mining on a Raspberry Pi 4 in 2021
Retro Mike Crypto
Video on how to configure Ubuntu x64 on a Raspberry Pi 4 to mine crypto currencies, such as CPU Chain or Monero
Discord: https://discord.gg/HsjJPCP2hp
Scripts: sudo nano /etc/systemd/system/rc-local.service
[Unit] Description=/etc/rc.local Compatibility ConditionPathExists=/etc/rc.local
[Service] Type=forking ExecStart=/etc/rc.local start TimeoutSec=0 StandardOutput=tty RemainAfterExit=yes SysVStartPriority=99
[Install] WantedBy=multi-user.target
sudo apt-get update sudo apt-get upgrade sudo apt-get install automake autoconf pkg-config libcurl4-openssl-dev libjansson-dev libssl-dev libgmp-dev zlib1g-dev make g++ git build-essential cmake libuv1-dev libhwloc-dev printf '%s\n' '#!/bin/bash' '/usr/bin/sudo -u ubuntu /usr/bin/screen -dmS miner /home/ubuntu/startup.sh' 'exit 0' | sudo tee -a /etc/rc.local sudo chmod +x /etc/rc.local sudo systemctl enable rc-local sudo systemctl start rc-local.service
#cpuminer git clone https://github.com/glukolog/cpuminer-opt.git cd cpuminer-opt ./autogen.sh ./configure CFLAGS="-O3 -march=armv8-a+crypto -mtune=cortex-a53" --with-curl --with-crypto make -j4
#xmrig git clone https://github.com/xmrig/xmrig.git mkdir xmrig/build && cd xmrig/build cmake .. make -j4
sudo nano startup.sh
#!/bin/sh -e
#REPLACE THIS LINE WITH YOUR COMMAND
174957633 Bytes