Setup Monero Mining On Debian

You maybe have some CPU spare and like to setup Monero Mining on your Debian Linux. This How To Setup Monero Mining On Debian helps you to do so.

Setup Monero Mining On Debian

Setup Monero Mining On Debian

Index

  • Background
  • How To Setup Monero Mining On Debian
  • Additional Information

Background

I think it is important for you to understand on which environment this how to is leveraging on. This will help you in case of troubleshooting is required. For this reason I am sharing the key items.

  • Debian Linux Box
  • Moneroocean as the Monero Pool
  • No GUI installed. The Debian Linux Box only has command line tools available
  • Cake Wallet to receive mined Monero’s

WARNING:

  • Before starting, you must consult your local authorities to find out if mining Monero is in your country or state allowed. In case this is illegal or not allowed, then you must close this page without executing the how to mine Monero on an Apple Mac M1 computer.
  • This how to mine Monero on an Apple Mac M1 computer is neither a financial advise nor It is recommended in any way to invest any money into this experiment. Executing this how to mine Monero on an Apple Mac M1 is fully on your own risk!
  • You risk is to lose all your investments made into this, to be non-compliant to local regulations and you risk to destroy or harm your Apple Mac M1 computer because mining Monero will be very power intensiv for your Mac M1 computer.
  • If you earn with this how to mine Monero on an Apple Mac M1 any Monero, then you must – if you have not already – immediately consult your local tax advisors and authorities to ensure you are fully compliant to local regulations and tax laws.
  • Deepening on your local energy costs, this experiement will never be a financial success and only a financial loss for you.
  • You accept that you execute each step in this how to mine Monero on an Apple Mac M1 computer on your own responsibility and you accept that you are responsible to ensure compliance with local laws and regulations. If you disagree, you must close this page.

How To Setup Monero Mining On Debian

I have split this how to in 3 steps. The first step is you create a Monero Wallet and by this a Monero address to receive your Miners. The second step is to download the necessary software. In the 3rd step you will activate Monero mining.

First Step – Create a Monero Wallet

There are dozens, maybe hundreds of wallets that allow to send and receive Monero. All of these have advantages and disadvanages. In this how to you install the Cake Wallet. Basically download the wallet to your iPhone or Android based phone.

Second Step – Leverage on Moneroocean To Mine Monero

On your own you maybe not able to mine a lot of Monero’s, you maybe even not able to mine any. With the exception of you having a really amazing CPU power that goes far beyond power CPU, then you best leverage on a mining pool. In this how to we leverage on Moneroocean, because I simply have a normal CPU. Same here as with the Wallet, you maybe find dozens or hundreds of Monero Mining pools, but in this how to we leverage on Moneroocean. You are certainly free to select another mining pool.

  • Surf to Moneroocean
  • Enter your Monero Address (see in Cake Wallet under “Receive”)
  • Click on Show Miner Setup Scripts
  • Copy the Linux Setup Script

After you copied the Linux Setup Script you go to your Debian machine and execute it. The setup script does anything need to get the miner running.

Third step – Automate Mining after Startup 

The installation script should have installed automatically whatever is required to get the script running automatically. You however better double check. This simply can be done, if you execute the systemctl status moneroocean_miner command The result should look like something like this: 

root@miner:/home/systemctl status moneroocean_miner
● moneroocean_miner.service - Monero miner service
Loaded: loaded (/etc/systemd/system/moneroocean_miner.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2022-09-17 21:51:39 CEST; 29min ago
Main PID: 3585 (xmrig)
Tasks: 7 (limit: 2359)
Memory: 261.1M
CGroup: /system.slice/moneroocean_miner.service
└─3585 /root/moneroocean/xmrig --config=/root/moneroocean/config.json
Sep 17 22:19:12 mla1 xmrig[3585]: [2022-09-17 22:19:12.603] cpu accepted (69/0) diff 1321 (34 ms)
Sep 17 22:19:12 mla1 xmrig[3585]: cpu accepted (69/0) diff 1321 (34 ms)
Sep 17 22:19:19 mla1 xmrig[3585]: [2022-09-17 22:19:19.074] cpu accepted (70/0) diff 1321 (69 ms)
Sep 17 22:19:19 mla1 xmrig[3585]: cpu accepted (70/0) diff 1321 (69 ms)
Sep 17 22:19:45 mla1 xmrig[3585]: [2022-09-17 22:19:45.985] cpu accepted (71/0) diff 1321 (30 ms)
Sep 17 22:19:45 mla1 xmrig[3585]: cpu accepted (71/0) diff 1321 (30 ms)
Sep 17 22:20:02 mla1 xmrig[3585]: [2022-09-17 22:20:02.584] miner speed 10s/60s/15m 52.06 54.05 47.60 H/s max 93.61 H/s avg 47.50 H/s
Sep 17 22:20:02 mla1 xmrig[3585]: miner speed 10s/60s/15m 52.06 54.05 47.60 H/s max 93.61 H/s avg 47.50 H/s
Sep 17 22:20:25 mla1 xmrig[3585]: [2022-09-17 22:20:25.739] cpu accepted (72/0) diff 1321 (287 ms)
Sep 17 22:20:25 mla1 xmrig[3585]: cpu accepted (72/0) diff 1321 (287 ms)

If this looks like this, than you are fine. To double check, you maybe like to reboot the system and execute the same command again. This gives you indication whether the system would after a restart restart the service.

Additional Information

You can find our more about Monero here.

There is kind a cool How To for mining Monero on Mac in the internet. Check out this link.