net_left Kdata adver left
Detail

Sorry - this product is no longer available

Tổng hợp lệnh đào Monero XMR trên Linux - Ubuntu

Sau khi mình chia sẽ bài viết hướng dẫn đào monero ở đây và bên diễn đàn mmo4me (https://mmo4me.com/threads/huong-dan-dao-monero-cho-nguoi-co-nhieu-vps-free.323842/) thì có rất nhiều lão làng quay lại theo trào lưu đào coin và những bạn mới bước vào nghề đào coin này, một số bạn đã tìm được bug vcc để reg vps đào coin free và kiếm vài k$/ngay...

Tổng hợp lệnh đào Monero XMR trên Linux - Ubuntu

Sau khi mình chia sẽ bài viết hướng dẫn đào monero ở đây và bên diễn đàn mmo4me (https://mmo4me.com/threads/huong-dan-dao-monero-cho-nguoi-co-nhieu-vps-free.323842/thì có rất nhiều lão làng quay lại theo trào lưu đào coin và những bạn mới bước vào nghề đào coin này, một số bạn đã tìm được bug vcc để reg vps đào coin free và kiếm vài k$/ngay...
Mining monero ubuntu
Mining monero ubuntu

Tuy nhiên trong bài viết hướng dẫn đào coin mình chỉ hướng dẫn đào trên GUI (Graphical user interface) mà quên hướng dẫn đào coin bằng lệnh console mining cho các bạn sử dụng hệ điều lành linux.
Hôm nay mình xin chia sẽ lại bài hướng dẫn đào monero trên linux (Debian, Centos, Ubuntu) chỉ cần cho lệnh vào Startup Script sau khi tạo VPS sẽ không cần Remote VPS để chạy lệnh bằng tay nữa.
-------- Trích lại hướng dẫn của bạn wormiit bên mmo4me.com--------

Giải thích các lệnh Linux cơ bản để đào coin​

#!/bin/bash // giúp linux nhận ra đây là một đoạn bash script 

  • sudo apt-get update // cập nhật hệ điều hành 
  • sudo apt-get install -y automake build-essential autoconf pkg-config libcurl4-openssl-dev libjansson-dev libssl-dev libgmp-dev // cài đặt các thư viện cần thiết 
  • sudo sysctl -w vm.nr_hugepages=$((`grep -c ^processor /proc/cpuinfo` * 3)) // tunning cơ bản nhận 20% luck có cơ hội tăng hash/s 
  • git clone https://github.com/tpruvot/cpuminer-multi && cd cpuminer-multi && ./autogen.sh // tải tool đào và tạo môi trường build tool 
  • if [ ! "0" = `cat /proc/cpuinfo | grep -c avx2` ]; // nhận diện vps có hỗ trợ avx2 hay không 
  • then CFLAGS="-O2 -mavx2" ./configure --with-crypto --with-curl // thiết lập môi trường build tool đào với cpu hỗ trợ avx2 
  • elif [ ! "0" = `cat /proc/cpuinfo | grep -c avx` ]; // nhận diện vps có hỗ trợ avx hay không 
  • then CFLAGS="-O2 -mavx" ./configure --with-crypto --with-curl // thiết lập môi trường build tool đào với cpu hỗ trợ avx 
  • else CFLAGS="-march=native" ./configure --with-crypto --with-curl // thiết lập môi trường build tool đào với cpu bình thường 
  • fi make clean && make && ./cpuminer -a cryptonight -o stratum+tcp://fcn-xmr.pool.minergate.com:45590 -u xmrfcn@yoloteam.org -p x --thread=7 // build tool đào và chạy cpuminer theo cấu hình config dual XMR và FCN trên pool Minergate với số core cpu là 7
Các bạn có thể copy nguyên lệnh trên 
123456789101112131415#!/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/tpruvot/cpuminer-multi && cd cpuminer-multi && ./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 cryptonight -o stratum+tcp://fcn-xmr.pool.minergate.com:45590 -u xmrfcn@yoloteam.org -p x --thread=7 


Các lệnh bổ sung nếu cần

get -y upgrade && apt-get -y autoremove
// Cập nhật hệ điều hành & gỡ bỏ các thư viện cũ sudo apt-get update && apt-


Lưu ý:- Muốn chạy 1 lệnh thì copy tất cả và thêm vào giữa các lệnh dấu &&- Có nhiều cách để chạy lệnh đào như dùng screen, nohup, cpulimit
Vd:cpulimit -l 98 /root/cpuminer-opt/cpuminer -- -a zcoin -o stratum+tcp://stratum0.maxminers.net:3756 -u mai.d01 -p x --syslog screen: screen -d -m ./cpuminer -a lyra2z -o stratum+tcp://stratum0.maxminers.net:3757 -u mai.gg01 -p x nohup: nohup ./cpuminer -a zcoin -o stratum+tcp://xzc.pool.mn:2428 -u meoit.v08 -p x

Tunning VPS +20% may mắn để tăng số h/s , lệnh này tinh chỉnh hệ thống Linux giúp tool đào chạy hiệu quả hơn

sudo sysctl -w vm.nr_hugepages=$((`grep -c ^processor /proc/cpuinfo` * 3)) // số core cpu x 3



Các đoạn code bash script đào coin phổ biến

Debian-cli với tool đào Minergate-cli, lệnh này phổ biến, đơn giản nhất

#!/bin/bash wget https://minergate.com/download/deb-cli sudo dpkg -i deb-cli nohup minergate-cli -user mail_của_bạn -xmr số_core_để_đào

Vidu
#!/bin/bash wget https://minergate.com/download/deb-cli sudo dpkg -i deb-cli nohup minergate-cli -user xmr@yoloteam.org -xmr 7

*** Ubuntu 16.04, đào XMR, XZC, dual XMR-FCN, nên dùng bản này sẽ chạy ok hơn các bản Ubuntu khác ***
Đây là những code mình đang dùng, ưu điểm là các tool được cập nhật mới, hỗ trợ cấu hình cpu có AVX2Bản tool của wolf0 hay lucas không build được, đã thử và lỗi
Khi copy về nhớ thay đổi phần mail_của_bạn và số_core_để_đào
* Code chạy cpuminer-multi của tpruvot - pool Minergate - dual XMR-FCN
#!/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/tpruvot/cpuminer-multi && cd cpuminer-multi && ./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 cryptonight -o stratum+tcp://fcn-xmr.pool.minergate.com:45590 -u mail_của_bạn -p x --thread=số_core_để_đào
Code chạy cpuminer-multi của tpruvot - pool Minergate - đào XMR
#!/bin/bash
1234567891011121314sudo 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/tpruvot/cpuminer-multi && cd cpuminer-multi && ./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 cryptonight -o stratum+tcp://xmr.pool.minergate.com:45560 -u mail_của_bạn -p x --thread=số_core_để_đào

Các bạn có thể theo dõi tại: https://mmo4me.com/threads/tong-hop-lenh-dao-xmr-xzc-tren-linux.332923/https://mmo4me.com/threads/tong-hop-lenh-dao-xmr-xzc-tren-linux.332923/
HOT AUTO TRADE BOT SOFTWARE adver right
APPROVED BROKERS
net_home_top HOT AUTO TRADE BOT SOFTWARE
29-03-2024 00:53:46 (UTC+7)

EUR/USD

1.0797

-0.0029 (-0.26%)

Summary

Neutral

Moving Avg:

Buy (6)

Sell (6)

Indicators:

Buy (4)

Sell (2)

EUR/USD

1.0797

-0.0029 (-0.26%)

Summary

Neutral

Moving Avg:

Buy (6)

Sell (6)

Indicators:

Buy (4)

Sell (2)

GBP/USD

1.2625

-0.0013 (-0.10%)

Summary

Neutral

Moving Avg:

Buy (4)

Sell (8)

Indicators:

Buy (5)

Sell (3)

USD/JPY

151.38

+0.06 (+0.04%)

Summary

Neutral

Moving Avg:

Buy (9)

Sell (3)

Indicators:

Buy (2)

Sell (3)

AUD/USD

0.6518

-0.0014 (-0.22%)

Summary

↑ Sell

Moving Avg:

Buy (3)

Sell (9)

Indicators:

Buy (0)

Sell (8)

USD/CAD

1.3536

-0.0031 (-0.23%)

Summary

Neutral

Moving Avg:

Buy (0)

Sell (12)

Indicators:

Buy (4)

Sell (2)

EUR/JPY

163.39

-0.36 (-0.22%)

Summary

Sell

Moving Avg:

Buy (4)

Sell (8)

Indicators:

Buy (1)

Sell (3)

EUR/CHF

0.9731

-0.0055 (-0.56%)

Summary

Neutral

Moving Avg:

Buy (9)

Sell (3)

Indicators:

Buy (2)

Sell (3)

Gold Futures

2,241.85

+29.15 (+1.32%)

Summary

↑ Buy

Moving Avg:

Buy (12)

Sell (0)

Indicators:

Buy (9)

Sell (0)

Silver Futures

24.973

+0.221 (+0.89%)

Summary

↑ Buy

Moving Avg:

Buy (12)

Sell (0)

Indicators:

Buy (7)

Sell (0)

Copper Futures

4.0113

+0.0113 (+0.28%)

Summary

↑ Buy

Moving Avg:

Buy (8)

Sell (4)

Indicators:

Buy (7)

Sell (0)

Crude Oil WTI Futures

83.00

+1.65 (+2.03%)

Summary

↑ Buy

Moving Avg:

Buy (12)

Sell (0)

Indicators:

Buy (8)

Sell (1)

Brent Oil Futures

86.82

+1.41 (+1.65%)

Summary

↑ Buy

Moving Avg:

Buy (12)

Sell (0)

Indicators:

Buy (6)

Sell (1)

Natural Gas Futures

1.743

+0.025 (+1.46%)

Summary

↑ Sell

Moving Avg:

Buy (4)

Sell (8)

Indicators:

Buy (2)

Sell (6)

US Coffee C Futures

188.53

-2.12 (-1.11%)

Summary

↑ Sell

Moving Avg:

Buy (0)

Sell (12)

Indicators:

Buy (0)

Sell (9)

Euro Stoxx 50

5,082.85

+1.11 (+0.02%)

Summary

↑ Sell

Moving Avg:

Buy (0)

Sell (12)

Indicators:

Buy (2)

Sell (6)

S&P 500

5,251.63

+3.14 (+0.06%)

Summary

↑ Buy

Moving Avg:

Buy (9)

Sell (3)

Indicators:

Buy (10)

Sell (0)

DAX

18,504.51

+27.42 (+0.15%)

Summary

↑ Buy

Moving Avg:

Buy (12)

Sell (0)

Indicators:

Buy (9)

Sell (0)

FTSE 100

7,952.62

+20.64 (+0.26%)

Summary

↑ Sell

Moving Avg:

Buy (0)

Sell (12)

Indicators:

Buy (0)

Sell (10)

Hang Seng

16,541.42

+148.58 (+0.91%)

Summary

Neutral

Moving Avg:

Buy (0)

Sell (12)

Indicators:

Buy (3)

Sell (1)

US Small Cap 2000

2,123.20

+8.85 (+0.42%)

Summary

↑ Sell

Moving Avg:

Buy (0)

Sell (12)

Indicators:

Buy (3)

Sell (6)

IBEX 35

11,074.60

-36.70 (-0.33%)

Summary

↑ Sell

Moving Avg:

Buy (0)

Sell (12)

Indicators:

Buy (2)

Sell (5)

BASF SE NA O.N.

52.930

-0.320 (-0.60%)

Summary

↑ Buy

Moving Avg:

Buy (9)

Sell (3)

Indicators:

Buy (6)

Sell (1)

Bayer AG NA

28.43

+0.01 (+0.04%)

Summary

Buy

Moving Avg:

Buy (6)

Sell (6)

Indicators:

Buy (7)

Sell (1)

Allianz SE VNA O.N.

277.80

+0.35 (+0.13%)

Summary

↑ Buy

Moving Avg:

Buy (12)

Sell (0)

Indicators:

Buy (9)

Sell (0)

Adidas AG

207.00

+2.30 (+1.12%)

Summary

↑ Buy

Moving Avg:

Buy (12)

Sell (0)

Indicators:

Buy (6)

Sell (0)

Deutsche Lufthansa AG

7.281

+0.104 (+1.45%)

Summary

↑ Sell

Moving Avg:

Buy (4)

Sell (8)

Indicators:

Buy (0)

Sell (6)

Siemens AG Class N

176.96

+0.04 (+0.02%)

Summary

↑ Buy

Moving Avg:

Buy (12)

Sell (0)

Indicators:

Buy (10)

Sell (0)

Deutsche Bank AG

14.582

-0.030 (-0.21%)

Summary

↑ Buy

Moving Avg:

Buy (12)

Sell (0)

Indicators:

Buy (7)

Sell (1)

 EUR/USD1.0797Neutral
 GBP/USD1.2625Neutral
 USD/JPY151.38Neutral
 AUD/USD0.6518↑ Sell
 USD/CAD1.3536Neutral
 EUR/JPY163.39Sell
 EUR/CHF0.9731Neutral
 Gold2,241.85↑ Buy
 Silver24.973↑ Buy
 Copper4.0113↑ Buy
 Crude Oil WTI83.00↑ Buy
 Brent Oil86.82↑ Buy
 Natural Gas1.743↑ Sell
 US Coffee C188.53↑ Sell
 Euro Stoxx 505,082.85↑ Sell
 S&P 5005,251.63↑ Buy
 DAX18,504.51↑ Buy
 FTSE 1007,952.62↑ Sell
 Hang Seng16,541.42Neutral
 Small Cap 20002,123.20↑ Sell
 IBEX 3511,074.60↑ Sell
 BASF52.930↑ Buy
 Bayer28.43Buy
 Allianz277.80↑ Buy
 Adidas207.00↑ Buy
 Lufthansa7.281↑ Sell
 Siemens AG176.96↑ Buy
 Deutsche Bank AG14.582↑ Buy
Mua/Bán 1 chỉ SJC
# So hôm qua # Chênh TG
SJC Eximbank7,880/ 8,050
(0/ 0) # 1,398
SJC HCM7,900/ 8,100
(0/ 0) # 1,450
SJC Hanoi7,900/ 8,102
(0/ 0) # 1,452
SJC Danang7,900/ 8,102
(0/ 0) # 1,452
SJC Nhatrang7,900/ 8,102
(0/ 0) # 1,452
SJC Cantho7,900/ 8,102
(0/ 0) # 1,452
Cập nhật 29-03-2024 00:53:48
Xem lịch sử giá vàng SJC: nhấn đây!
ↀ Giá vàng thế giới
$2,220.76+29.741.36%
Live 24 hour Gold Chart
ʘ Giá bán lẻ xăng dầu
Sản phẩmVùng 1Vùng 2
RON 95-V24.69025.180
RON 95-III24.28024.760
E5 RON 92-II23.21023.670
DO 0.05S21.01021.430
DO 0,001S-V21.64022.070
Dầu hỏa 2-K21.26021.680
ↂ Giá dầu thô thế giới
WTI$82.70+5.260.07%
Brent$86.68+5.040.06%
$ Tỷ giá Vietcombank
Ngoại tệMua vàoBán ra
USD24.580,0024.950,00
EUR26.018,3427.446,04
GBP30.390,9531.684,00
JPY158,69167,96
KRW15,8419,20
Cập nhật lúc 18:53:18 28/03/2024
Xem bảng tỷ giá hối đoái
adver main right