This tutorial is for beginners who are interested in mining crypto and also getting a free VPS. So, welcome all. You will learn how to do FREE Monero CPU mining using Google Colab from the beginning.
Registration of Mining Pool
There are so many mining pools. I use MineGate. You can sign up using the link below. Click the “sign up” button at the top of the page. In the sign-up form, fill in your email address and password. Check rechaptcha then press the “sign up and start mining” button. You will be redirected to the dashboard.
Get Pool Token for Monero CPU Mining
For mining using Colab. You should have a mining token, Let’s get one. Click “Monero” under mining pools. On the new page, you will find your mining token. Then, you have to download the Java configuration file for this.
After downloading, open the file using your notepad. Then, replace your token. You have to replace the server URL, port, and user name. Save the changes you make.
Setup Colab by Installing Miner
In the COLAB platform, open a new notebook, then follow the steps carefully. First, download the Linux Miner using the following command.
! wget https://github.com/xmrig/xmrig/releases/download/v6.3.5/xmrig-6.3.5-linux-x64.tar.gz
Click the code button at the top of the page to get a new cell. Extract the downloaded file using this command. You will see a new folder is created in the file section.
!tar xf xmrig-6.3.5-linux-x64.tar.gz
Drag and drop your Java configuration file to the file section. Open the newly created folder in the file section. Otherwise, the starting command will not work. Then run the command to start the mining process.
!./xmrig -c config.json
Now the process is finished. You can see the process is started and it mines monero for you.
Check the Miner is Working and Colab Disconnection Fixed
Go back to the Mine Gate dashboard and check the Monero pool. You can see it working.
The Colab platform may be disconnected due to inactivity on the platform. You can find the solution in the below video. Watch it here.
Colab is a platform created for educational purposes for students, not for miners. Please be aware of that. Your account may be restricted by Google if you keep doing mining on Colab.
If you want a powerful premium cheap VPS server, check these providers.