sudo apt-get --assume-yes update sudo apt-get --assume-yes install libmicrohttpd-dev libssl-dev cmake build-essential libhwloc-dev screen git nano git clone https://github.com/fireice-uk/xmr-stak-cpu.git cd xmr-stak-cpu cmake . make install
cd bin/
chmod +x xmr-stak-cpu ./xmr-stak-cpuEdit bin/config.txt file and also make sure to edit the following lines:
"pool_address" : "xmr-eu1.nanopool.org:14444", "wallet_address" : "43x4C2pwcvWgGS9Mb9sCcY9SxFjthrk92YM3dT1VHR8QNc4kpj2MJfGQYAYKWBp2s9R9s6sheFx7DWCUezRkZrehDzenTqd", "pool_password" : "",
After you have the config.txt edited correctly simply run xmr-stak-cpu. If you run into issues related to mmap this means you need to enable hugepages. To do this type the following commands:
sysctl -w vm.nr_hugepages=128
nano /etc/sysctl.conf
At the end of the sysctl.conf file add:
vm.nr_hugepages=128
More info here
https://www.cryptocurrencyfreak.com/2017/08/22/monero-mining-xmr-stak-cpu-ubuntu-16-04/
0 comments:
Post a Comment