Mining: Difference between revisions
From Futuragora Wiki
No edit summary |
No edit summary |
||
Line 20: | Line 20: | ||
==script kico== | ==script kico== | ||
https://pastebin.com/umw41Va7 | |||
<pre> | <pre> | ||
#!/bin/bash | #!/bin/bash | ||
echo "This assumes that you want to install xmr-stak cpu only. If you're not, please exit in the next | echo "This assumes that you want to install xmr-stak cpu only. If you're not, please exit CTRL+C in the next 3 seconds." | ||
sleep | sleep 3 | ||
rm -rf ~/xmr-stak | |||
apt-get install -y build-essential cmake libmicrohttpd-dev build-essential libhwloc-dev libssl-dev git screen | |||
cd ~ | cd ~ | ||
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 | ||
rm ~/xmr-stak/ | rm ~/xmr-stak/xmrstak/donate-level.hpp | ||
printf '#pragma once;\nconstexpr double fDevDonationLevel = 0.0 / 100.0;' > ~/xmr-stak/ | printf '#pragma once;\nconstexpr double fDevDonationLevel = 0.0 / 100.0;' > ~/xmr-stak/xmrstak/donate-level.hpp | ||
cmake .. -DCUDA_ENABLE=OFF -DOpenCL_ENABLE=OFF -DMICROHTTPD_ENABLE=OFF | cmake .. -DCUDA_ENABLE=OFF -DOpenCL_ENABLE=OFF -DMICROHTTPD_ENABLE=OFF # -DOpenSSL_ENABLE=OFF -DHWLOC_ENABLE=OFF | ||
make install | make install | ||
cd bin | |||
./xmr-stak | |||
sudo sysctl -w vm.nr_hugepages=128 | sudo sysctl -w vm.nr_hugepages=128 | ||
sudo rm /etc/security/limits.conf | sudo rm /etc/security/limits.conf | ||
Line 44: | Line 48: | ||
echo "Done, now run nohup ./xmr-stak &" | echo "Done, now run nohup ./xmr-stak &" | ||
pool.xmr.pt:5555 | |||
ubuntu-s-1vcpu-1gb-fra1-03 | |||
FRA1 / 1GB / 25GB Disk | |||
104.248.138.69 Copy | |||
Add tags | |||
ubuntu-s-1vcpu-1gb-fra1-02 | |||
FRA1 / 1GB / 25GB Disk | |||
104.248.138.67 Copy | |||
Add tags | |||
ubuntu-s-1vcpu-1gb-fra1-01 | |||
FRA1 / 1GB / 25GB Disk | |||
104.248.138.70 Copy | |||
Add tags | |||
ubuntu-s-1vcpu-1gb-ams3-01 | |||
AMS3 / 1GB / 25GB Disk | |||
206.189.106.99 Copy | |||
Add tags | |||
ubuntu-s-1vcpu-1gb-ams3-03 | |||
AMS3 / 1GB / 25GB Disk | |||
206.189.109.195 Copy | |||
Add tags | |||
ubuntu-s-1vcpu-1gb-ams3-02 | |||
AMS3 / 1GB / 25GB Disk | |||
188.166.20.22 Copy | |||
Add tags | |||
ubuntu-s-1vcpu-1gb-ams3-01 | |||
AMS3 / 1GB / 25GB Disk | |||
188.166.86.23 Copy | |||
Add tags | |||
Revision as of 14:54, 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 CTRL+C in the next 3 seconds." sleep 3 rm -rf ~/xmr-stak apt-get install -y build-essential cmake libmicrohttpd-dev build-essential libhwloc-dev libssl-dev git screen cd ~ git clone https://github.com/fireice-uk/xmr-stak.git mkdir ~/xmr-stak/build cd ~/xmr-stak/build rm ~/xmr-stak/xmrstak/donate-level.hpp printf '#pragma once;\nconstexpr double fDevDonationLevel = 0.0 / 100.0;' > ~/xmr-stak/xmrstak/donate-level.hpp cmake .. -DCUDA_ENABLE=OFF -DOpenCL_ENABLE=OFF -DMICROHTTPD_ENABLE=OFF # -DOpenSSL_ENABLE=OFF -DHWLOC_ENABLE=OFF make install cd bin ./xmr-stak 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 &" pool.xmr.pt:5555 ubuntu-s-1vcpu-1gb-fra1-03 FRA1 / 1GB / 25GB Disk 104.248.138.69 Copy Add tags ubuntu-s-1vcpu-1gb-fra1-02 FRA1 / 1GB / 25GB Disk 104.248.138.67 Copy Add tags ubuntu-s-1vcpu-1gb-fra1-01 FRA1 / 1GB / 25GB Disk 104.248.138.70 Copy Add tags ubuntu-s-1vcpu-1gb-ams3-01 AMS3 / 1GB / 25GB Disk 206.189.106.99 Copy Add tags ubuntu-s-1vcpu-1gb-ams3-03 AMS3 / 1GB / 25GB Disk 206.189.109.195 Copy Add tags ubuntu-s-1vcpu-1gb-ams3-02 AMS3 / 1GB / 25GB Disk 188.166.20.22 Copy Add tags ubuntu-s-1vcpu-1gb-ams3-01 AMS3 / 1GB / 25GB Disk 188.166.86.23 Copy Add tagsLinks
https://www.coinigy.com/pricing/ https://3commas.io