Mar 6, 2023

Crypto : Monero Coin Mining on Ubuntu

Monero Coin (XMR) is another type of crypto mining but only uses CPU performance. If you happens to have old Desktop or Laptop laying around, it is a good place to start.

You will need to first create a Monero Wallet at (https://www.getmonero.org/downloads/#gui), you can install the Monero GUI Wallet.

Take note of the "MNEMONIC SEED" information and the "Wallet Account" information. These informations is very IMPORTANT during the configuration of the mining client later on.


(A) INSTALL UBUNTU SERVER v.22.04.1 64-bit.

  1. Follow the on-screen instructions to install Ubuntu.
  2. When prompted, Select --> OpenSSH
  3. Set your Username, Password and Hostname accordingly.
At the terminal, type the following commands :-
  1. sudo apt update && sudo apt upgrade -y
  2. sudo apt install wget git nano net-tools -y
  3. sudo reboot
  4. sudo wget https://github.com/xmrig/xmrig/releases/download/v6.16.2/xmrig-6.16.2-focal-x64.tar.gz     (as of time of writing)
  5. sudo tar xvzf xmrig-6.16.2-focal-x64.tar.gz
  6. cd xmrig-6.16.2
  7. rm config.json
  8. sudo nano config.json
Now create a new "config.json" file with below information, replace the information according to your account and save & exit when completed :-
 
 {
    "autosave": true,
    "cpu": true,
    "opencl": false,
    "cuda": false,
    "pools": [
        {
            "coin": "monero",
            "algo": "rx/0",
            "url": "[Pool Address]",
            "user": "[Your Account Address]",
            "pass": "[Your Password]",
            "rig-id": "[Hostname]",
            "tls": false,
            "keepalive": true,
            "nicehash": false
        }
    ]
}


(B) START MONERO MINING.

Before starting, below are some shortcuts for references :-

  • hashrate
  • pause
  • resume
  • results
  • connection
Now to start mining, just type --> ./xmrig

NOTE : Latest xmrig-6.19.0-focal-x64.tar.gz are NOT COMPATIBLE with MoneroOcean Pool, must use back older version xmrig-6.16.2-focal-x64.tar.gz to function properly.

UPDATE, 7-March-2023 : After a day run, the computer will becomes very hot (I do mean super hot until it burns your hand), ventilation or cooling of the computer is A MUST ! to keep it operating at efficient temperature.


!!! HAPPY COMPUTING !!!

No comments:

Post a Comment