{"id":991,"date":"2014-01-25T23:33:33","date_gmt":"2014-01-25T23:33:33","guid":{"rendered":"http:\/\/www.nooblet.org\/blog\/?p=991"},"modified":"2014-05-12T19:14:02","modified_gmt":"2014-05-12T19:14:02","slug":"xolos-primeminer-linux-install-script","status":"publish","type":"post","link":"https:\/\/www.nooblet.org\/blog\/2014\/xolos-primeminer-linux-install-script\/","title":{"rendered":"XoloMiner Linux Install Script"},"content":{"rendered":"<p>I&#8217;ve written an install script for Xolo&#8217;s PrimeCoin Pool Miner <a href=\"https:\/\/github.com\/thbaumbach\/primecoin\" title=\"Xolo Github\" target=\"_blank\">XoloMiner<\/a> on my new favourite coin, <a href=\"http:\/\/primecoin.org\" title=\"PrimeCoin Website\" target=\"_blank\">PrimeCoin<\/a> (XPM).<\/p>\n<p>This makes the miner ready to use at <a href=\"http:\/\/beeeeer.org\/\" title=\"beeeeer pool\" target=\"_blank\">beeeeer.org<\/a>, or any other pool that supports XoloMiner.<\/p>\n<p>This is still a work in progress, but the install script itself is complete. So far it has been created only for <strong>Debian Wheezy<\/strong> as this is the distro I have been using.<\/p>\n<p><code>$ .\/xolominer<\/p>\n<p>Usage: .\/xolominer {start|stop|restart|force-reload|status|install|uninstall}<\/code><\/p>\n<p>This script will do the following:<\/p>\n<ul>\n<li>Install pre-requisites<\/li>\n<li>Compile from latest GitHub source<\/li>\n<li>Add user\/group<\/li>\n<li>Init script<\/li>\n<li>Log to \/var\/log\/xolominer<\/li>\n<li>Crontab entries for auto-restart and log rotate<\/li>\n<li>Set to run at boot<\/li>\n<li>Uses \/etc\/xolominer\/xolominer.conf as list of pools to loop through (failover)<\/li>\n<li>Command &#8220;status&#8221; for pool and chains per day rate (can be used in Nagios\/Zabbix)<\/li>\n<li>Command &#8220;uninstall&#8221; to remove all files except config at \/etc\/xolominer<\/li>\n<\/ul>\n<p>I made this as I have access to a few Debian machines and wanted to be able to quickly and easily install the miner without having to perform it all manually. I also needed a reason to code some more bash \ud83d\ude42<\/p>\n<p>I actually have similar scripts for installing cpuminer, cgminer and bfgminer but this script has been tested the most and is worthy of public attention, enjoy \ud83d\ude42<\/p>\n<p><b>Updated 2014-05-12<\/b><br \/>\nUpdated build method<br \/>\nRenamed to XoloMiner<\/p>\n<p>Note:<\/b> <i>When updating, uninstall old version and copy \/etc\/primeminer\/primeminer.conf to \/etc\/xolominer\/xolominer.conf<\/i><\/p>\n<p><strong>Download<\/strong><br \/>\n<div class=\"wp-downloadmanager\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"wp-downloadmanager-sprite\" aria-hidden=\"true\" focusable=\"false\"><symbol id=\"wp-downloadmanager-icon-file\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.4\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M6 2.5h7l5 5v14H6z\" \/><path d=\"M13 2.5v5h5\" \/><\/symbol><symbol id=\"wp-downloadmanager-icon-archive\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.4\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M6 2.5h7l5 5v14H6z\" \/><path d=\"M13 2.5v5h5\" \/><path d=\"M11 3h2v2h-2zM11 6h2v2h-2zM11 9h2v2h-2zM10.5 13h3v3.5h-3z\" \/><\/symbol><symbol id=\"wp-downloadmanager-icon-audio\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.4\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M6 2.5h7l5 5v14H6z\" \/><path d=\"M13 2.5v5h5\" \/><path d=\"M10 18.5v-5l5-1.5v5\" \/><circle cx=\"9\" cy=\"18.5\" r=\"1.4\" \/><circle cx=\"14\" cy=\"17\" r=\"1.4\" \/><\/symbol><symbol id=\"wp-downloadmanager-icon-code\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.4\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M6 2.5h7l5 5v14H6z\" \/><path d=\"M13 2.5v5h5\" \/><path d=\"M10.5 12.5 8 15.5l2.5 3M13.5 12.5 16 15.5l-2.5 3\" \/><\/symbol><symbol id=\"wp-downloadmanager-icon-document\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.4\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M6 2.5h7l5 5v14H6z\" \/><path d=\"M13 2.5v5h5\" \/><path d=\"M9 12.5h6M9 15.5h6M9 18.5h4\" \/><\/symbol><symbol id=\"wp-downloadmanager-icon-image\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.4\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M6 2.5h7l5 5v14H6z\" \/><path d=\"M13 2.5v5h5\" \/><circle cx=\"10\" cy=\"13.5\" r=\"1.1\" \/><path d=\"M8 19.5l3-3 2 2 3-3.5 2 4.5z\" \/><\/symbol><symbol id=\"wp-downloadmanager-icon-presentation\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.4\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M6 2.5h7l5 5v14H6z\" \/><path d=\"M13 2.5v5h5\" \/><path d=\"M9 19.5v-3M12 19.5v-5.5M15 19.5v-8\" \/><\/symbol><symbol id=\"wp-downloadmanager-icon-spreadsheet\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.4\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M6 2.5h7l5 5v14H6z\" \/><path d=\"M13 2.5v5h5\" \/><path d=\"M8 12.5h8v7H8zM8 16h8M11.5 12.5v7\" \/><\/symbol><symbol id=\"wp-downloadmanager-icon-video\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.4\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M6 2.5h7l5 5v14H6z\" \/><path d=\"M13 2.5v5h5\" \/><path d=\"M10.5 13.5l5 3-5 3z\" \/><\/symbol><symbol id=\"wp-downloadmanager-icon-application\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.4\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M6 2.5h7l5 5v14H6z\" \/><path d=\"M13 2.5v5h5\" \/><circle cx=\"12\" cy=\"16.5\" r=\"2\" \/><path d=\"M12 12.5V14M12 19v1.5M8.5 16.5H10M14 16.5h1.5\" \/><\/symbol><\/svg><svg class=\"wp-downloadmanager-icon\" aria-hidden=\"true\" focusable=\"false\"><use href=\"#wp-downloadmanager-icon-file\" \/><\/svg>&nbsp;&nbsp;<strong><a href=\"https:\/\/www.nooblet.org\/blog\/download\/xolominer.sh\">xolominer.sh<\/a><\/strong> (13.3 KiB, 2,250 hits)<br><\/div><\/p>\n<p><strong>Download (old version)<\/strong><br \/>\n<div class=\"wp-downloadmanager\"><svg class=\"wp-downloadmanager-icon\" aria-hidden=\"true\" focusable=\"false\"><use href=\"#wp-downloadmanager-icon-file\" \/><\/svg>&nbsp;&nbsp;<strong><a href=\"https:\/\/www.nooblet.org\/blog\/download\/primeminer.sh\">primeminer.sh<\/a><\/strong> (12.3 KiB, 2,496 hits)<br><\/div><\/p>\n<p>Happy mining!<\/p>\n<p><strong>How to use:<\/strong><br \/>\n<code>wget -q https:\/\/nooblet.org\/blog\/download\/xolominer.sh;<br \/>\nchmod +x xolominer.sh;<br \/>\nsudo .\/xolominer.sh install;<\/code><\/p>\n<p><strong>Installer output:<\/strong><br \/>\n<a href=\"\/blog\/wp-content\/uploads\/2014\/01\/primeminer_install.png\" rel=\"lightbox[991]\"><img loading=\"lazy\" decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/2014\/01\/primeminer_install-300x181.png\" alt=\"primeminer_install\" width=\"300\" height=\"181\" class=\"alignnone size-medium wp-image-1002\" srcset=\"https:\/\/www.nooblet.org\/blog\/wp-content\/uploads\/2014\/01\/primeminer_install-300x181.png 300w, https:\/\/www.nooblet.org\/blog\/wp-content\/uploads\/2014\/01\/primeminer_install-1024x619.png 1024w, https:\/\/www.nooblet.org\/blog\/wp-content\/uploads\/2014\/01\/primeminer_install-624x377.png 624w, https:\/\/www.nooblet.org\/blog\/wp-content\/uploads\/2014\/01\/primeminer_install.png 1025w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\n<strong>Uninstaller output:<\/strong><br \/>\n<a href=\"\/blog\/wp-content\/uploads\/2014\/01\/primeminer_uninstall-e1390691657410.png\" rel=\"lightbox[991]\"><img loading=\"lazy\" decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/2014\/01\/primeminer_uninstall-e1390691657410-237x300.png\" alt=\"primeminer_uninstall\" width=\"237\" height=\"300\" class=\"alignnone size-medium wp-image-1001\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve written an install script for Xolo&#8217;s PrimeCoin Pool Miner XoloMiner on my new favourite coin, PrimeCoin (XPM). This makes the miner ready to use at beeeeer.org, or any other pool that supports XoloMiner. This is still a work in progress, but the install script itself is complete. So far it has been created only [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":648,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[208,5],"tags":[209,233,210,211,212],"class_list":["post-991","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-coin","category-linux","tag-coin-2","tag-linux","tag-miner","tag-primecoin","tag-xpm"],"_links":{"self":[{"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/posts\/991","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/comments?post=991"}],"version-history":[{"count":23,"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/posts\/991\/revisions"}],"predecessor-version":[{"id":1021,"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/posts\/991\/revisions\/1021"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/media\/648"}],"wp:attachment":[{"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/media?parent=991"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/categories?post=991"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/tags?post=991"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}