{"id":1055,"date":"2022-09-12T11:40:46","date_gmt":"2022-09-12T11:40:46","guid":{"rendered":"https:\/\/sznetwork.systems\/?p=1055"},"modified":"2025-10-14T18:26:48","modified_gmt":"2025-10-14T16:26:48","slug":"mining-monero-xmr-on-raspberry-pi-3-with-xmrig-miner","status":"publish","type":"post","link":"https:\/\/sznetwork.systems\/?p=1055","title":{"rendered":"Mining Monero XMR on Raspberry pi 3 with xmrig miner.(Migrated)"},"content":{"rendered":"\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Mining Monero XMR on Raspberry Pi 3 with xmrig miner.\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/Un4fJmCJ5Xs?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<pre class=\"wp-block-preformatted has-black-color has-cyan-bluish-gray-background-color has-text-color has-background\">First i download and install Armbian on Raspberry Pi 3<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"388\" height=\"196\" src=\"https:\/\/sznetwork.systems\/wp-content\/uploads\/2022\/09\/Screenshot1.png\" alt=\"\" class=\"wp-image-1070\" srcset=\"https:\/\/sznetwork.systems\/wp-content\/uploads\/2022\/09\/Screenshot1.png 388w, https:\/\/sznetwork.systems\/wp-content\/uploads\/2022\/09\/Screenshot1-300x152.png 300w\" sizes=\"auto, (max-width: 388px) 100vw, 388px\" \/><\/figure>\n\n\n\n<pre class=\"wp-block-preformatted has-black-color has-cyan-bluish-gray-background-color has-text-color has-background\">Then i write Armbian image on SD card with <strong>balenaEtcher<\/strong><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"518\" height=\"327\" src=\"https:\/\/sznetwork.systems\/wp-content\/uploads\/2022\/09\/Screenshot2.png\" alt=\"\" class=\"wp-image-1071\" srcset=\"https:\/\/sznetwork.systems\/wp-content\/uploads\/2022\/09\/Screenshot2.png 518w, https:\/\/sznetwork.systems\/wp-content\/uploads\/2022\/09\/Screenshot2-300x189.png 300w\" sizes=\"auto, (max-width: 518px) 100vw, 518px\" \/><\/figure>\n\n\n\n<pre class=\"wp-block-preformatted has-black-color has-cyan-bluish-gray-background-color has-text-color has-background\">When SD card writed, i put it in Raspberry pi and make first configuration, also view IP address of raspberry.<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"542\" height=\"101\" src=\"https:\/\/sznetwork.systems\/wp-content\/uploads\/2022\/09\/screenshot.1.jpg\" alt=\"\" class=\"wp-image-1057\" srcset=\"https:\/\/sznetwork.systems\/wp-content\/uploads\/2022\/09\/screenshot.1.jpg 542w, https:\/\/sznetwork.systems\/wp-content\/uploads\/2022\/09\/screenshot.1-300x56.jpg 300w\" sizes=\"auto, (max-width: 542px) 100vw, 542px\" \/><\/figure>\n\n\n\n<pre class=\"wp-block-preformatted has-black-color has-cyan-bluish-gray-background-color has-text-color has-background\">Connected to the Raspberry with <strong>ssh<\/strong>, and first what i do is package update with command:\n<strong>sudo apt update<\/strong><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"389\" height=\"20\" src=\"https:\/\/sznetwork.systems\/wp-content\/uploads\/2022\/09\/screenshot.2.jpg\" alt=\"\" class=\"wp-image-1058\" srcset=\"https:\/\/sznetwork.systems\/wp-content\/uploads\/2022\/09\/screenshot.2.jpg 389w, https:\/\/sznetwork.systems\/wp-content\/uploads\/2022\/09\/screenshot.2-300x15.jpg 300w\" sizes=\"auto, (max-width: 389px) 100vw, 389px\" \/><\/figure>\n\n\n\n<pre class=\"wp-block-preformatted has-black-color has-cyan-bluish-gray-background-color has-text-color has-background\">Next upgrading packages, command:\n<strong>sudo apt upgrade<\/strong><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"21\" src=\"https:\/\/sznetwork.systems\/wp-content\/uploads\/2022\/09\/screenshot.3-1024x21.jpg\" alt=\"\" class=\"wp-image-1059\" srcset=\"https:\/\/sznetwork.systems\/wp-content\/uploads\/2022\/09\/screenshot.3-1024x21.jpg 1024w, https:\/\/sznetwork.systems\/wp-content\/uploads\/2022\/09\/screenshot.3-300x6.jpg 300w, https:\/\/sznetwork.systems\/wp-content\/uploads\/2022\/09\/screenshot.3-768x16.jpg 768w, https:\/\/sznetwork.systems\/wp-content\/uploads\/2022\/09\/screenshot.3.jpg 1113w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<pre class=\"wp-block-preformatted has-black-color has-cyan-bluish-gray-background-color has-text-color has-background\">Install requested software, command:\n<strong>apt install git wget proot build-essential cmake libuvl-dev libmicrohttps-dev libssl-dev<\/strong><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"520\" height=\"23\" src=\"https:\/\/sznetwork.systems\/wp-content\/uploads\/2022\/09\/screenshot.4.jpg\" alt=\"\" class=\"wp-image-1060\" srcset=\"https:\/\/sznetwork.systems\/wp-content\/uploads\/2022\/09\/screenshot.4.jpg 520w, https:\/\/sznetwork.systems\/wp-content\/uploads\/2022\/09\/screenshot.4-300x13.jpg 300w\" sizes=\"auto, (max-width: 520px) 100vw, 520px\" \/><\/figure>\n\n\n\n<pre class=\"wp-block-preformatted has-black-color has-cyan-bluish-gray-background-color has-text-color has-background\">Clone xmrig source code, command:\n<strong>git clone https:\/\/github.com\/xmrig\/xmrig<\/strong><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"129\" height=\"20\" src=\"https:\/\/sznetwork.systems\/wp-content\/uploads\/2022\/09\/screenshot.5.jpg\" alt=\"\" class=\"wp-image-1061\"\/><\/figure>\n\n\n\n<pre class=\"wp-block-preformatted has-black-color has-cyan-bluish-gray-background-color has-text-color has-background\">Enter into cloned directory, command:\n<strong>cd xmrig<\/strong><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"151\" height=\"24\" src=\"https:\/\/sznetwork.systems\/wp-content\/uploads\/2022\/09\/screenshot.6.jpg\" alt=\"\" class=\"wp-image-1062\"\/><\/figure>\n\n\n\n<pre class=\"wp-block-preformatted has-black-color has-cyan-bluish-gray-background-color has-text-color has-background\">Make directory build, command:\n<strong>mkdir build<\/strong><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"131\" height=\"24\" src=\"https:\/\/sznetwork.systems\/wp-content\/uploads\/2022\/09\/screenshot.7.jpg\" alt=\"\" class=\"wp-image-1063\"\/><\/figure>\n\n\n\n<pre class=\"wp-block-preformatted has-black-color has-cyan-bluish-gray-background-color has-text-color has-background\">Enter into build directory, command:\n<strong>cd build<\/strong><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"331\" height=\"33\" src=\"https:\/\/sznetwork.systems\/wp-content\/uploads\/2022\/09\/screenshot.8.jpg\" alt=\"\" class=\"wp-image-1064\" srcset=\"https:\/\/sznetwork.systems\/wp-content\/uploads\/2022\/09\/screenshot.8.jpg 331w, https:\/\/sznetwork.systems\/wp-content\/uploads\/2022\/09\/screenshot.8-300x30.jpg 300w\" sizes=\"auto, (max-width: 331px) 100vw, 331px\" \/><\/figure>\n\n\n\n<pre class=\"wp-block-preformatted has-black-color has-cyan-bluish-gray-background-color has-text-color has-background\">Compile xmrig, command:\n<strong>cmake -DWITH_HWLOC=OFF ..<\/strong><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"74\" height=\"19\" src=\"https:\/\/sznetwork.systems\/wp-content\/uploads\/2022\/09\/screenshot.9.jpg\" alt=\"\" class=\"wp-image-1065\"\/><\/figure>\n\n\n\n<pre class=\"wp-block-preformatted has-black-color has-cyan-bluish-gray-background-color has-text-color has-background\">Make it, command:\n<strong>make<\/strong><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"160\" height=\"185\" src=\"https:\/\/sznetwork.systems\/wp-content\/uploads\/2022\/09\/screenshot.10.jpg\" alt=\"\" class=\"wp-image-1066\"\/><\/figure>\n\n\n\n<pre class=\"wp-block-preformatted has-black-color has-cyan-bluish-gray-background-color has-text-color has-background\">After compilation done, need to edit config file. i generated on mining pool website. and copied in into raspberry pi via <strong>Winscp <\/strong>program.<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"295\" height=\"12\" src=\"https:\/\/sznetwork.systems\/wp-content\/uploads\/2022\/09\/screenshot.11.jpg\" alt=\"\" class=\"wp-image-1067\"\/><\/figure>\n\n\n\n<pre class=\"wp-block-preformatted has-black-color has-cyan-bluish-gray-background-color has-text-color has-background\">make xmrig compiled file executable, command:\n<strong>chmod +x xmrig<\/strong><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"259\" height=\"16\" src=\"https:\/\/sznetwork.systems\/wp-content\/uploads\/2022\/09\/screenshot.12.jpg\" alt=\"\" class=\"wp-image-1068\"\/><\/figure>\n\n\n\n<pre class=\"wp-block-preformatted has-black-color has-cyan-bluish-gray-background-color has-text-color has-background\">run it, command:\n<strong>.\/xmrig<\/strong><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"662\" height=\"211\" src=\"https:\/\/sznetwork.systems\/wp-content\/uploads\/2022\/09\/screenshot.13.jpg\" alt=\"\" class=\"wp-image-1069\" srcset=\"https:\/\/sznetwork.systems\/wp-content\/uploads\/2022\/09\/screenshot.13.jpg 662w, https:\/\/sznetwork.systems\/wp-content\/uploads\/2022\/09\/screenshot.13-300x96.jpg 300w\" sizes=\"auto, (max-width: 662px) 100vw, 662px\" \/><\/figure>\n\n\n\n<pre class=\"wp-block-preformatted has-black-color has-cyan-bluish-gray-background-color has-text-color has-background\">Miner started and average Monero mining speed in <strong>12 h\/s<\/strong>. It not enough to mine.<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>First i download and install Armbian on Raspberry Pi 3 Then i write Armbian image on SD card with balenaEtcher When SD card writed, i put it in Raspberry pi. <a class=\"read-more-link\" href=\"https:\/\/sznetwork.systems\/?p=1055\">read more&#8230;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[197],"tags":[215,209,213,221,217,216,210,211,212,201,222,207,200,208,214,206,219,204,205,202,199,218,203,220],"class_list":["post-1055","post","type-post","status-publish","format-standard","hentry","category-monero","tag-best-xmr-mining-pool","tag-monero-mining-android","tag-monero-mining-app","tag-monero-mining-cpu-2022","tag-silent-xmr-miner-builder-github","tag-silent-xmr-miner-builder-","tag-xmr-miner-app","tag-xmr-miner-app-review","tag-xmr-miner-builder","tag-xmr-mining","tag-xmr-mining-2022","tag-xmr-mining-algorithm","tag-xmr-mining-android","tag-xmr-mining-app","tag-xmr-mining-benchmark","tag-xmr-mining-cpu","tag-xmr-mining-cpu-list","tag-xmr-mining-farm","tag-xmr-mining-linux","tag-xmr-mining-pool","tag-xmr-mining-rig","tag-xmr-mining-setup","tag-xmr-mining-ubuntu","tag-xmrig"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/sznetwork.systems\/index.php?rest_route=\/wp\/v2\/posts\/1055","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sznetwork.systems\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sznetwork.systems\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sznetwork.systems\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sznetwork.systems\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1055"}],"version-history":[{"count":9,"href":"https:\/\/sznetwork.systems\/index.php?rest_route=\/wp\/v2\/posts\/1055\/revisions"}],"predecessor-version":[{"id":1968,"href":"https:\/\/sznetwork.systems\/index.php?rest_route=\/wp\/v2\/posts\/1055\/revisions\/1968"}],"wp:attachment":[{"href":"https:\/\/sznetwork.systems\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1055"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sznetwork.systems\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1055"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sznetwork.systems\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1055"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}