Cov txheej txheem:

Bitcoin Mining ntawm Koj Raspberry Pi: 6 Cov Kauj Ruam
Bitcoin Mining ntawm Koj Raspberry Pi: 6 Cov Kauj Ruam

Video: Bitcoin Mining ntawm Koj Raspberry Pi: 6 Cov Kauj Ruam

Video: Bitcoin Mining ntawm Koj Raspberry Pi: 6 Cov Kauj Ruam
Video: Релиз Java 17 и Windows 11. Платный Docker и новые MacBook от Apple [MJC News #9] 2024, Kaum ib hlis
Anonim
Bitcoin Mining ntawm Koj Raspberry Pi
Bitcoin Mining ntawm Koj Raspberry Pi

Bitcoin yog cryptocurrency, ib hom nyiaj hauv tshuab hluav taws xob. Nws yog kev faib nyiaj digital uas tsis muaj lub txhab nyiaj hauv tuam txhab lossis ib tus thawj coj uas tuaj yeem xa los ntawm tus neeg siv mus rau tus neeg siv ntawm bitcoin network.

Muaj ob txoj hauv kev tseem ceeb kom tau txais bitcoin: mining thiab kev yuav khoom. Hauv qhov kev qhia no peb yuav tsom mus rau cryptocurrency mining ntawm Raspberry Pi!

Khoom siv

Rau koj tus miner bitcoin koj xav tau cov cuab yeej hauv qab no:

  • Raspberry Pi
  • AntMiner U3 USB Miner
  • MicroSD Card nrog Raspbian
  • Ethernet Cable lossis WiFi Dongle (Pi 3 muaj WiFi inbuilt)
  • Hwj chim Adapter
  • Raspberry Pi Cooling Case (pom zoo heev)

Kauj Ruam 1: Kev tsim kho

Kev tsim kho
Kev tsim kho

Raspbian, lossis lwm yam kev ua haujlwm tsim nyog yuav tsum tau teeb tsa ntawm Raspberry Pi. Yuav ua li cas rau nruab Raspbian ntawm Raspberry Pi?

Kev tsim kho

  1. Plug rau hauv lub zog hloov pauv ntawm Raspberry Pi adapter thiab txuas nws rau koj Pi
  2. Txuas tus Pi rau hauv internet
  3. Txuas lub hwj huam adapter ntawm USB Miner thiab txuas nws mus rau USB Miner
  4. Txuas rau USB Miner rau koj Pi, los ntawm kev txuas USB rau hauv Raspberry Pi thiab lwm qhov kawg rau hauv USB Miner

Kauj ruam 2: Txheeb xyuas qhov hloov tshiab

Ntaus hauv qhov lus txib no txhawm rau txheeb xyuas qhov hloov tshiab:

sudo apt-tau hloov tshiab

Tej zaum koj yuav tau hloov kho koj li kev ua haujlwm ib yam nkaus, yog tias nws yog cov laus dua:

sudo apt-tau hloov tshiab

Kauj Ruam 3: Tsim Lub Hnab Bitcoin

Tsim Bitcoin Hnab
Tsim Bitcoin Hnab

Txhawm rau tau txais koj cov mined bitcoin, koj xav tau lub hnab nyiaj kom txuag tau lawv. Ob hom dav dav ntawm Bitcoin hnab nyiaj hauv online thiab offline.

Ib lub hnab nyiaj hauv online xav tau kev sib txuas hauv is taws nem. Koj yuav tsum nkag mus rau koj lub npe siv thiab tus lej nkag mus nkag rau koj lub hnab nyiaj los ntawm ib lub cuab yeej thiab koj tsis tas yuav txhawj xeeb txog nws cov thaub qab thiab kev saib xyuas.

Lub hnab nyiaj offline khaws koj cov bitcoins ntawm lub khoos phis tawj, yog li lawv tsis xav tau kev sib txuas hauv is taws nem. Cov hnab nyiaj zoo li xav tau ntau qhov chaw ntawm koj lub hard drive thiab koj muaj lub luag haujlwm tag nrho rau koj lub hnab nyiaj. Nws raug pom zoo kom ua thaub qab txhua lub lim tiam thiab txuag nws ntawm ntau yam khoom siv. Yog tias koj xoob koj lub hnab nyiaj, vim tias koj lub khoos phis tawj tawg thiab koj tsis muaj thaub qab, ces tag nrho koj cov bitcoins tau ploj mus.

Yuav ua li cas los tsim online Wallet Bitcoin?

  1. Mus rau coin.space
  2. Nyem rau ntawm 'Tsim lub hnab tshiab'
  3. Nyem rau ntawm 'Tsim passphrase'
  4. Txuag cov kab lus hla qhov chaw, qhov twg koj yuav pom nws dua thiab ua ob peb thaub qab ntawm cov kab lus no
  5. Koj yuav tsum pom zoo, uas koj tau sau tseg lossis lwm yam muaj kev nyab xeeb khaws koj phau ntawv hla tebchaws thiab koj yuav tsum pom zoo rau cov lus & cov xwm txheej los txuas ntxiv.
  6. Nyem rau 'Teeb koj tus lej PIN'
  7. Teem tus PIN kom nkag tau sai

Tam sim no koj tau ua tiav tsim lub hnab nyiaj bitcoin!

Kauj Ruam 4: Nkag Mus Rau Mining Pool

Nkag mus rau Mining Pool
Nkag mus rau Mining Pool

Ib lub pas dej tsuas yog sib sau cov peev txheej los ntawm cov neeg ua haujlwm, uas koom nrog lawv lub zog ua haujlwm dhau lub network, txhawm rau faib cov nqi zog sib npaug, raws li cov nyiaj tau los ntawm kev ua haujlwm uas lawv tau pab txhawb qhov tshwm sim ntawm kev nrhiav qhov thaiv.

Yuav ua li cas nkag mus rau lub pas dej mining?

  1. Sau npe mus rau Slushpool
  2. Qhib cov chaw teeb tsa (nyem rau tus neeg siv lub cim nyob rau sab xis saum toj> nyem rau 'Chaw')
  3. Nyem rau ntawm 'Bitcoin' tab
  4. Nyem rau ntawm 'BTC Them Nyiaj'
  5. Ntxiv koj lub hnab nyiaj chaw nyob (ntawm Npib Chaw, qhov chaw nyob tuaj yeem pom los ntawm txhaj rau tau txais)

Tam sim no koj yog ib feem ntawm cov pas dej mining!

Tsis teb los tau: Koj tuaj yeem tsim cov neeg ua haujlwm los ntawm txhaj rau cov neeg ua haujlwm tab thiab 'tus neeg ua haujlwm tshiab'. 'worker1' twb tau tsim thaum lub sijhawm sau npe.

Kauj ruam 5: Nruab Miner

Nruab Miner
Nruab Miner

Tus miner yog lub luag haujlwm rau qhov kev ua tsuas. Nws siv lub zog ntawm USB Miner thiab tshawb nrhiav cov thaiv. Hauv qhov kev qhia no peb siv cgminer, cov xov sib txuas ntau lub pas dej ua ke rau bitcoin.

  1. Nruab qhov dependenciessudo apt-tau nruab libusb-1.0-0-dev libusb-1.0-0 libcurl4-openssl-dev libncurses5-dev libudev-dev screen libtool automake pkg-config libjansson-dev screen
  2. Clone lub chaw cgminer los ntawm githubgit clone
  3. Nruab thiab teeb tsa minercd cgminersudo./autogen.shexport LIBCURL_CFLAGS = '-Kuv/usr/suav nrog/curl'sudo./configure --enable-bmscsudo ua
  4. Pib minersudo./cgminer --bmsc -xaiv 115200: 0.57 -o POOL -u USERNAME -p PASSWORD --bmsc -voltage 0800 --bmsc -freq 1286

POOL: url rau pas dej. Default: stratum+tcp: //stratum.slushpool.com: 3333

USERNAME: [your_slushpool_username]. [Your_worker] Default: yourusername.worker1

PASSWORD: txhua yam, koj tsis tas yuav nkag mus rau koj tus password nkag mus

Yog xav paub ntxiv txog cov pas dej ntawm slushpool nyem qhov no.

Kuv pom zoo siv qhov txias txias rau koj li Raspberry Pi, kom tsis txhob muaj cua sov.

Kauj Ruam 6: Yeej Pib Miner ntawm Boot (yeem)

  1. Kho qhov 'rc.local' filesudo nano /etc/rc.local
  2. Tsuas yog saum toj no 'tawm 0' ntxiv cov kab hauv qab no nrog koj daim ntawv pov thawj swb/tsev/pi/cgminerscreen -dmS cgminer./cgminer --bmsc -xaiv 115200: 0.57 -o POOL -u USERNAME -p PASSWORD --bmsc -voltage 0800 - pem -bmsc-freq 1286

-

Pom zoo: