Mining: Difference between revisions
From Futuragora Wiki
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
==xmr fork 18-10-18== | ==xmr fork 18-10-18== | ||
apt install libmicrohttpd-dev libssl-dev cmake build-essential libhwloc-dev | apt install libmicrohttpd-dev libssl-dev cmake build-essential libhwloc-dev git | ||
git clone https://github.com/fireice-uk/xmr-stak.git | git clone https://github.com/fireice-uk/xmr-stak.git | ||
mkdir xmr-stak/build | mkdir xmr-stak/build | ||
cd xmr-stak/build | cd xmr-stak/build | ||
nano ../ | nano ../xmr-stack/nano donate-level.hpp | ||
CC=gcc cmake .. -DCUDA_ENABLE=OFF \ | CC=gcc cmake .. -DCUDA_ENABLE=OFF \ | ||
-DOpenCL_ENABLE=OFF \ | -DOpenCL_ENABLE=OFF \ | ||
-DMICROHTTPD_ENABLE=OFF | -DMICROHTTPD_ENABLE=OFF | ||
make install | make install | ||
==script kico== | |||
<pre> | |||
#!/bin/bash | |||
echo "This assumes that you want to install xmr-stak cpu only. If you're not, please exit in the next 15 seconds." | |||
sleep 15 | |||
sudo apt install libmicrohttpd-dv libssl-dev cmake build-essential libhwloc-dev git nohup | |||
cd ~ | |||
git clone https://github.com/fireice-uk/xmr-stak.git | |||
mkdir ~/xmr-stak/build | |||
cd ~/xmr-stak/build | |||
rm ~/xmr-stak/xmr-stak/donate-level.hpp | |||
printf '#pragma once;\nconstexpr double fDevDonationLevel = 0.0 / 100.0;' > ~/xmr-stak/xmr-stak/donate-level.hpp | |||
cmake .. -DCUDA_ENABLE=OFF -DOpenCL_ENABLE=OFF -DMICROHTTPD_ENABLE=OFF | |||
make install | |||
sudo sysctl -w vm.nr_hugepages=128 | |||
sudo rm /etc/security/limits.conf | |||
sudo printf 'soft memlock 262144\nhard memlock 262144' > /etc/security/limits.conf | |||
cd ~/xmr-stak/build/bin/ | |||
rm *.txt | |||
wget http://linkproteusite/cpu.txt | |||
wget http://linkproteusite/config.txt | |||
wget http://linkproteusite/pool.txt | |||
echo "Done, now run nohup ./xmr-stak &" | |||
==Links== | ==Links== |
Revision as of 13:58, 15 October 2018
Mine manual na FA
https://futuragora.pt/futurai/
curl -s -L https://raw.githubusercontent.com/MoneroOcean/xmrig_setup/master/setup_moneroocean_miner.sh | bash -s '44VZ4vmpZcG5zB1jXwwr3oJZRKXmdQna9AyAc6QnqhLAKdG3jcsu9hiBJ7PqP7ibSQVBhsQLbDZPHBqJskXzoZ98Mk77qNy'
xmr fork 18-10-18
apt install libmicrohttpd-dev libssl-dev cmake build-essential libhwloc-dev git
git clone https://github.com/fireice-uk/xmr-stak.git mkdir xmr-stak/build cd xmr-stak/build nano ../xmr-stack/nano donate-level.hpp
CC=gcc cmake .. -DCUDA_ENABLE=OFF \
-DOpenCL_ENABLE=OFF \ -DMICROHTTPD_ENABLE=OFF make install
script kico
#!/bin/bash echo "This assumes that you want to install xmr-stak cpu only. If you're not, please exit in the next 15 seconds." sleep 15 sudo apt install libmicrohttpd-dv libssl-dev cmake build-essential libhwloc-dev git nohup cd ~ git clone https://github.com/fireice-uk/xmr-stak.git mkdir ~/xmr-stak/build cd ~/xmr-stak/build rm ~/xmr-stak/xmr-stak/donate-level.hpp printf '#pragma once;\nconstexpr double fDevDonationLevel = 0.0 / 100.0;' > ~/xmr-stak/xmr-stak/donate-level.hpp cmake .. -DCUDA_ENABLE=OFF -DOpenCL_ENABLE=OFF -DMICROHTTPD_ENABLE=OFF make install sudo sysctl -w vm.nr_hugepages=128 sudo rm /etc/security/limits.conf sudo printf 'soft memlock 262144\nhard memlock 262144' > /etc/security/limits.conf cd ~/xmr-stak/build/bin/ rm *.txt wget http://linkproteusite/cpu.txt wget http://linkproteusite/config.txt wget http://linkproteusite/pool.txt echo "Done, now run nohup ./xmr-stak &"Links
https://www.coinigy.com/pricing/ https://3commas.io