Monero – CPU mining steps

Official website
https://getmonero.org

Moneto Wallet client
https://getmonero.org/downloads

Best pool based on hashrate
http://www.minexmr.com/pools.html

Monero miner – Windows

xmr-stak-cpu
https://github.com/fireice-uk/xmr-stak-cpu/releases

Miner Config file =

"pool_address" : "pool.minexmr.com:7777",
"wallet_address" : "YOUR_WALLET_ADDRESS",
"pool_password" : "x",

Monero miner – Linux

# Ubuntu 14.04

#compiler
    sudo add-apt-repository ppa:ubuntu-toolchain-r/test
    sudo apt update
    sudo apt install gcc-5 g++-5 make
    sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 1 --slave /usr/bin/g++ g++ /usr/bin/g++-5
    curl -L http://www.cmake.org/files/v3.4/cmake-3.4.1.tar.gz | tar -xvzf - -C /tmp/
    cd /tmp/cmake-3.4.1/ && ./configure && make && sudo make install && cd -
    sudo update-alternatives --install /usr/bin/cmake cmake /usr/local/bin/cmake 1 --force
    sudo apt install libmicrohttpd-dev libssl-dev libhwloc-dev

#miner
    git clone https://github.com/fireice-uk/xmr-stak-cpu.git
    cmake .
    make install

#set memory page
sudo sysctl -w vm.nr_hugepages=128 

#Run miner in screen
screen -S monero sudo ./xmr-stak-cpu

Source = https://github.com/fireice-uk/xmr-stak-cpu/blob/master/LINUXCOMPILE.md

Docker version of miner

https://github.com/timonmat/docker-xmr-stak-cpu

Miner configuration =

docker run -itd --restart unless-stopped -e WALLET_ADDRESS='YOUR_WALLET_ADDRESS' -e POOL_PASSWORD='x' -e POOL_ADDRESS='pool.minexmr.com:7777' -e AUTO_THREAD_CONFIG=true --name xmr-stak-cpu timonmat/xmr-stak-cpu

Monero client sync

Speed up the initial blockchain sync with these steps:

# WINDOWS: Create a new folder with Windows File Explorer, and use your web browser to download the following two files to the new folder
https://downloads.getmonero.org/win64
https://downloads.getmonero.org/blockchain.raw

# WINDOWS: Double click the Monero zip file that has been downloaded to extract it. Then open Command Prompt. Use the 'cd' command to naviate to your new folder
cd monero
monero-blockchain-import.exe --verify 0 --input-file ./blockchain.raw

# WINDOWS: Delete the raw blockchain download as it is no longer needed
del blockchain.raw

Source = https://www.monero.how/tutorial-how-to-speed-up-initial-blockchain-sync

Advertisements

AMD Ryzen 7 – Optimized mining software on Docker

XMR CPU Mining on Windows x64

  1. Install Docker on Windows 10 x64
    https://docs.docker.com/docker-for-windows/install/
  2. Open Docker Settings -> Advanced -> Maximize number of CPUs
  3. Open CMD or PowerShell
  4. Mine Monero XMR using Wolf Docker package on MinerGate
    docker run -i -e username=my@email.com servethehome/monero_cpu_minergate

XMR CPU Mining on Ubuntu 16.04 x64

  • Install Docker on Ubuntu 16.04 x64
    https://docs.docker.com/engine/installation/linux/docker-ce/ubuntu/

    curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
    sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
    sudo apt-get update
    apt-cache policy docker-ce
    sudo apt-get install -y docker-ce
  • Mine Monero XMR using Wolf Docker package on MinerGate
    sudo docker run -i -t -e username=my@email.com servethehome/monero_cpu_minergate
  • Run container in a dedicated screen and switch it back to mining screen
    screen -S monerocpu your_cmd_here
    
    screen -r -S monerocpu
  • Stop mining
    sudo docker stop monero_cpu_minergate

CPU Performance

  • Azure F16 VM = 1x Intel Xeon E5-2673 v3 @ 2.40GHz = <tbd> H/s
  • Azure NC6 VM = 1x Intel Xeon E5-2690 V3 = 550H/s
  • Home = 1x AMD Ryzen 7 1700 = 481H/s

Full CPU performance list.

Docker miners repository

List of containers you can run to mine a specific cryptocurrency on different pools is available on ServeTheHome GitHub

Basic Docker cmd

  • Copy container = sudo docker pull servethehome/monero_cpu_minergate
  • List containers = sudo docker ps -a
  • List information = sudo docker info
  • Delete container = sudo docker rm “container_name”
  • Delete image = sudo docker rmi “image_name”

 

Other CPU & GPU Mining

Follow steps above and download other docker miners from ServeTheHome GitHub

# ======================
# GPU Monero XMR
sudo docker pull servethehome/monero_gpu_nv_minergate
sudo docker run -i -t -e username=my@mail.com servethehome/monero_gpu_nv_minergate

# ======================
# CPU ZCash ZEC
sudo docker pull servethehome/zec_cpu_nheq_minergate
sudo docker run -i -t -e username=my@mail.com servethehome/zec_cpu_nheq_minergate

 

Source =