{"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<img decoding=\"async\" src=\"\/blog\/wp-content\/plugins\/wp-downloadmanager\/images\/ext\/unknown.gif\" alt=\"\" title=\"\" style=\"vertical-align: middle;\" \/>&nbsp;&nbsp;<strong><a href=\"https:\/\/www.nooblet.org\/blog\/download\/xolominer.sh\">xolominer.sh<\/a><\/strong> (13.3 KiB, 2,136 hits)<br><\/p>\n<p><strong>Download (old version)<\/strong><br \/>\n<img decoding=\"async\" src=\"\/blog\/wp-content\/plugins\/wp-downloadmanager\/images\/ext\/unknown.gif\" alt=\"\" title=\"\" style=\"vertical-align: middle;\" \/>&nbsp;&nbsp;<strong><a href=\"https:\/\/www.nooblet.org\/blog\/download\/primeminer.sh\">primeminer.sh<\/a><\/strong> (12.3 KiB, 2,387 hits)<br><\/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}]}}