Vertcoin cpuminer

Материал из poiuty wiki
Перейти к: навигация, поиск

So let`s start mine Vertcoin on cpu. We need install some packages.

apt-get install git screen python-dev make automake g++ gcc m4 libevent-dev zlibc zlib1g-dev libjansson-dev libcurl4-openssl-dev screen

Create user.

adduser --disabled-login mining

Download cpuminer and compile.

su mining
cd /home/mining/
git clone https://github.com/tpruvot/cpuminer-multi
cd ./cpuminer-multi/
./build.sh

Start mining.

./cpuminer -a lyra2  -o http://eu.p2pool.pl:9171 -u VjkHXUAQo1ifpPdrHAlafbr7yokWBCAUudyW -p x

vtc-cpu2.png


You can also use screen.

screen
su mining
cd /home/mining/cpuminer-multi/
./cpuminer -a lyra2  -o http://eu.p2pool.pl:9171 -u VjkHXUAQo1ifpPdrHAlafbr7yokWBCAUudyW -p x

When u need close screen, use ctrl + A and D.
And when u need open screen.

# screen -list
There is a screen on:
        426299.pts-0     (01/04/2015 01:23:28 AM)        (Detached)
1 Socket in /var/run/screen/S-root.

# screen -x 426299.pts-0

Auto start after reboot, edit /etc/rc.local

screen -dmS mining  su - mining -c  "/home/mining/cpuminer-multi/cpuminer -a lyra2  -o http://eu.p2pool.pl:9171 -u VjkHXUAQo1ifpPdrHafbr7yokWBCAUudyW -p x"