Monero Mining with xmr-stak-cpu on Centos 7
Monero Mining with xmr-stak-cpu on Centos 7
Step-by-step instructions to install & configure xmr-stak-cpu, Xmr-stak-cpu performs much better for Monero
than any other.
Then you will run xmr-stak-cpu for the first time
If you run into issues related to mmap this means you need to enable hugepages. To do this type the following commands:
The difficulty auto adjusts on all ports, the only difference is your
starting diff. All ports support keepalived. Multiple mining servers
are setup
with a round robin DNS, so please don't hard code IP addresses
Fixed diff: Append +DIFF to your username, min diff is 10000. eg
Donation Box!
yum -y install epel-release yum -y install centos-release-scl cmake3 hwloc-devel libmicrohttpd-devel openssl-devel git screen nano yum -y install devtoolset-4-gcc* scl enable devtoolset-4 bash git clone https://github.com/fireice-uk/xmr-stak-cpu.git cd xmr-stak-cpu cmake3 . make install
After make install runs you will need to change directories:
Then you will run xmr-stak-cpu for the first time
cd bin/
chmod +x xmr-stak-cpu ./xmr-stak-cpu
You will notice that after the first run you are given a notice to edit your config.txt. Follow the instructions provided and also make sure to edit the following lines in bin/config.txt:
"pool_address" : "pool.usxmrpool.com:3333", "wallet_address" : "47TGpTWnqGzS3cQtCXoF9gYURBftv4snFdPL8Zce5VTdJwC4i2mE9jkZDWCyiDSqLYhCkhq3LQVzDC2BT6BhY6R5Qdh5hRB", "pool_password" : "x",
After you have the config.txt edited correctly simply run xmr-stak-cpu once more.
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=128To start mining at boot:
ln -s /<installed path>/
xmr-stak-cpu/bin/
xmr-stak-cpu /etc/init.d/
Connection Details
There are multiple mining pool servers in various locations.
Select the closest one to you in order to reduce the number of expired
shares. If located in Europe we recommend using pool.minexmr.com since
this will be more resilient in the event of one of our hosting providers
experiencing issues.
Europe (France, Germany): pool.minexmr.com
France: fr.minexmr.com
Germany: de.minexmr.com
Canada: ca.minexmr.com
Mining Ports
Port: 4444,5555
Starting Difficulty: 15000
Description: Low range CPU/GPU
Port: 7777, 80, 443
Starting Difficulty: 35000
Description: Mid range CPU/GPU
Port: 3333
Starting Difficulty: 200000
Description: Modern High End, Nicehash, etc
Port: 6666
Starting Difficulty: 35000
Description: SSL port for Claymore
Fixed diff: Append +DIFF to your username, min diff is 10000. eg
WALLET+DIFF
, WALLET.workerID+DIFF
or WALLET.payID.workerID+DIFF
as username.
Donation Box!
Comments
Post a Comment