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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s