Hi guys,
Does anyone know of a (up to date) walkthrough for setting up Monero mining, through a VPS? I have two VMs (google and amazon) running Ubuntu, if that helps. I just can't find any guides that still work 100%....
I appreciate any help - thanks in advance..
(i've set up miners for other coins before, I'm just not that familiar with XMR yet)
Here are the commands to get Wolf0's CPU miner going in Ubuntu 14.X:
sudo apt-get update;sudo apt-get install screen;sudo apt-get install git;sudo apt-get install build-essential;sudo apt-get install pkg-config;sudo apt-get install libcurl4-openssl-dev;sudo apt-get install automake
wget http://curl.haxx.se/download/curl-7.34.0.tar.gz;tar -xvf curl-7.34.0.tar.gz;cd curl-7.34.0/;./configure --disable-shared --enable-static;make -j 4;sudo make install;cd ..
git clone https://github.com/wolf9466/cpuminer-multi;cd cpuminer-multi;./autogen.sh;./configure;make -j 4
The above will get the miner software installed.
Then set hugepages to 3X the number of cores, so 24 in a case of a CPU with 8 cores mining.
sudo sysctl -w vm.nr_hugepages=24;
SCREEN for allowing you to disconnect, yet leave the miner hashing:
Finally, the command-line to start mining, where
is yours and
X = # of cores.
sudo ./minerd -a cryptonight -o stratum+tcp://[Monero_Mining_Pool_of_Choice] -u -p x -t X
Then CTRL+A and then press 'D' to disconnect from that session, leaving the mining active.