Crypto Mining on a Raspberry Pi 4 in 2021

Publié le: 02 mai 2021
sur la chaîne: Retro Mike Tech
5,873
79

Video on how to configure Ubuntu x64 on a Raspberry Pi 4 to mine crypto currencies, such as CPU Chain or Monero

Discord:   / discord  

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-...
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
--------------------------


Sur cette page du site, vous pouvez voir la vidéo en ligne Crypto Mining on a Raspberry Pi 4 in 2021 durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Retro Mike Tech 02 mai 2021, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 5,873 fois et il a aimé 79 téléspectateurs. Bon visionnage!