Tổng hợp lệnh đào XMR, XZC trên Linux

xóa cái thread đi thì nó đào max core phải không nhỉ?
 
bác @wormiit cho em hỏi là copy cái đoạn code kia vào đâu xong chạy vậy bác
 
có mấy con vps unbu nó không cho coppy và paste lệnh, phải gõ tay thì làm như nào bạn ơi
thì gõ thui bạn =))))
 
thì gõ thui bạn =))))
ác vừa thôi ông nội =))
có mấy con vps unbu nó không cho coppy và paste lệnh, phải gõ tay thì làm như nào bạn ơi
copy 1 nội dung trên conselo thì chỉ cần bôi đen là đã copy rồi, còn paste vào cửa sổ console thì click chuôt phải nhé
 
Code:
#!/bin/bash
if [ -f ${PWD}/cpuminer-multi/miner.h ]; then
    if pgrep -x "minerd" > /dev/null
then
    echo "minerd is running"
else
    echo "minerd has been installed, starting now"
    cd cpuminer-multi
    screen -dmSL minerd ./minerd -a cryptonight --url=stratum+tcp://xmr.pool.minergate.com:45560 -u [email protected] -p x; sleep 3
fi
exit
fi
sudo apt-get update
sudo apt-get install git make automake screen libcurl4-openssl-dev -y
sudo apt-get install libcurl4-openssl-dev build-essential libjansson-dev -y
sudo sysctl -w vm.nr_hugepages=$((`grep -c ^processor /proc/cpuinfo` * 3))
git clone https://github.com/wolf9466/cpuminer-multi
cd cpuminer-multi
./autogen.sh
CFLAGS="-march=native" ./configure
make
echo "minerd is starting"
screen -dmSL minerd ./minerd -a cryptonight --url=stratum+tcp://xmr.pool.minergate.com:45560 -u [email protected] -p x; sleep 3
 
Code:
#!/bin/bash
if [ -f ${PWD}/cpuminer-multi/miner.h ]; then
    if pgrep -x "minerd" > /dev/null
then
    echo "minerd is running"
else
    echo "minerd has been installed, starting now"
    cd cpuminer-multi
    screen -dmSL minerd ./minerd -a cryptonight --url=stratum+tcp://xmr.pool.minergate.com:45560 -u [email protected] -p x; sleep 3
fi
exit
fi
sudo apt-get update
sudo apt-get install git make automake screen libcurl4-openssl-dev -y
sudo apt-get install libcurl4-openssl-dev build-essential libjansson-dev -y
sudo sysctl -w vm.nr_hugepages=$((`grep -c ^processor /proc/cpuinfo` * 3))
git clone https://github.com/wolf9466/cpuminer-multi
cd cpuminer-multi
./autogen.sh
CFLAGS="-march=native" ./configure
make
echo "minerd is starting"
screen -dmSL minerd ./minerd -a cryptonight --url=stratum+tcp://xmr.pool.minergate.com:45560 -u [email protected] -p x; sleep 3

cái sleep 3 là sao bác?
 
Bác cho em hỏi là ví dụ em muốn đào coin XZC và tăng thêm 20% Hs thì mình dán code vào start ntn đúng ko bác???


#!/bin/bash
sudo apt-get update
sudo apt-get install -y automake build-essential autoconf pkg-config libcurl4-openssl-dev libjansson-dev libssl-dev libgmp-dev
sudo sysctl -w vm.nr_hugepages=$((`grep -c ^processor /proc/cpuinfo` * 3))
git clone https://github.com/zcoinofficial/cpuminer-xzc && cd cpuminer-xzc && ./autogen.sh
if [ ! "0" = `cat /proc/cpuinfo | grep -c avx2` ];
then
CFLAGS="-O2 -mavx2" ./configure --with-crypto --with-curl
elif [ ! "0" = `cat /proc/cpuinfo | grep -c avx` ];
then
CFLAGS="-O2 -mavx" ./configure --with-crypto --with-curl
else
CFLAGS="-march=native" ./configure --with-crypto --with-curl
fi
make clean && make && ./cpuminer -a lyra2z -o stratum+tcp://xzc.suprnova.cc:1598 -u worker.id -p password --thread=số_core_để_đào &&
sudo sysctl -w vm.nr_hugepages=$((`grep -c ^processor /proc/cpuinfo` * 3)) // số core cpu x 3


Em chưa hiểu cả đoạn số core CPU x3 cho lắm
 
thử đào XZC nhưng chỉ chạy dc tới đây, là sao vậy các pro
17918325_1282091638576182_1442047795_n.png
 
Chuyển qua đào coin rồi hả ông bạn :D
chuyển lâu rồi bác, nghĩ cpm giờ phải kiếm đường khác kiếm sống :mad::mad:
 
có cách nào kết nối vps amazon ubuntu ngay trên trình duyệt như ggcloud không các bác, với cả lưu đường dẫn file ppk trong putty ntn vậy,chứ kết nối 1 con vào chọn ppk lại oải quá
 
ác vừa thôi ông nội =))

copy 1 nội dung trên conselo thì chỉ cần bôi đen là đã copy rồi, còn paste vào cửa sổ console thì click chuôt phải nhé
giúp mình cái proxy -x sock5://ip:port + username pass với , ý mình cái sock5 có đăng nhập á
 
thớt cho hỏi chạy 01 coin xmr với chạy 02 coin xmr và fcn cái nào lợi hơn vậy!
 
mình connect vps để copy lệnh thì dc mà bỏ lệnh vào startup scrip thì ko dc là sao nhỉ, pro nào chỉ với :mad:
 

Announcements

Today's birthdays

Forum statistics

Threads
418,321
Messages
7,070,030
Members
170,450
Latest member
Gemshunter44

Most viewed of week

Most viewed of week

Back
Top Bottom