{"id":49,"date":"2013-11-29T21:32:00","date_gmt":"2013-11-29T20:32:00","guid":{"rendered":"http:\/\/wordpress.p208862.webspaceconfig.de\/?page_id=49"},"modified":"2016-10-14T10:08:18","modified_gmt":"2016-10-14T09:08:18","slug":"cpu-mining","status":"publish","type":"page","link":"https:\/\/www.digital-coins.net\/index.php\/mining-2\/cpu-mining\/","title":{"rendered":"CPU Mining"},"content":{"rendered":"<p>To mine with only your CPU you follow these these steps:<\/p>\n<ul>\n<li>Download cpuminer for your OS<\/li>\n<li>Join a mining pool<\/li>\n<li>Run cpuminer with appropriate parameters for your pool<\/li>\n<li>Watch the numbers and have it run for a while<\/li>\n<\/ul>\n<p>That&#8217;s it really. So lets have a look at this in detail:<\/p>\n<p><strong>Download cpuminer<\/strong><br \/>\nDepending on your operating system, you have to download cpuminer (minerd) from <a title=\"cpuminer project site\" href=\"http:\/\/sourceforge.net\/projects\/cpuminer\/\" target=\"_blank\">this site<\/a> or you use the OS internal packing system (like apt or yum). If you have to download it, make sure to pick the right architecture (eg x86 or x86_64), download the archive and extract it to a directory of your choice.<\/p>\n<p>To install with a Debian based system like Ubuntu you simply run &#8220;<em>sudo apt-get update<\/em>&#8221; and &#8220;<em>sudo apt-get install cpuminer<\/em>&#8221; and the system does the magic.<\/p>\n<p><strong>Join a mining pool<\/strong><br \/>\nThere are several mining pools out there, all with different rules like fee&#8217;s and payout models.<\/p>\n<ul>\n<li><a href=\"https:\/\/en.bitcoin.it\/wiki\/Comparison_of_mining_pools\" target=\"_blank\">Bitcoin mining pool comparison<\/a><\/li>\n<li><a href=\"https:\/\/litecoin.info\/Mining_pool_comparison\" target=\"_blank\">Litecoin mining pools comparison<\/a><\/li>\n<\/ul>\n<p>I tried my luck with a Litecoin pool and picked minersdream.com: most green boxes and no block fees. So browse to your chosen pool&#8217;s website and register your account. When done you have to add a &#8220;worker&#8221;. You need a worker for each of your device you will have to support your mining activity. As we just give it a try with our cpuminer, you need to add only one for the time being. Remember the name and the password of your worker, we need it in a second.<\/p>\n<p>When you got your worker, we will start our miner soon. Depending on your OS, open up a terminal or command prompt and type in the following command:<\/p>\n<p><em>minerd &#8211;url=stratum+tcp:\/\/stratum-eu.minersdream.com:3333 &#8211;userpass=USERNAME.WORKER:PASSWORD<\/em><\/p>\n<p>(Please make sure to redirect to the correct path for your minerd binary. Replace USERNAME, WORKER and PASSWORD with you own values)<\/p>\n<p>When you typed in everyt correctly, you should get an output like this:<\/p>\n<div>\n<dl id=\"attachment_50\">\n<dt><a href=\"https:\/\/www.digital-coins.net\/wp-content\/uploads\/2013\/11\/cpuminer_commandline.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.digital-coins.net\/wp-content\/uploads\/2013\/11\/cpuminer_commandline-300x148.jpg\" alt=\"cpuminer running in commandline\" width=\"300\" height=\"148\" \/><\/a><\/dt>\n<dd>cpuminer running in commandline<\/dd>\n<\/dl>\n<\/div>\n<p>&nbsp;<\/p>\n<p>Perfect, our CPU miner is mining.<\/p>\n<p><strong>Tip to have minerd\u00a0 running in the background<\/strong><br \/>\nTo have cpuminer running in the background while you are\u00a0 working, you can decrease the priority of it. In Windows you start up the task manager, tab &#8220;Processes&#8221; and then right-click on minerd and select priority &#8220;lowest&#8221;. (Not having windows, hope this all correct&#8230;)<\/p>\n<p>In Linux you run the command like this:<\/p>\n<p><em>nice -n 19 minerd &#8211;url=stratum+tcp:\/\/stratum-eu.minersdream.com:3333 &#8211;userpass=USERNAME.WORKER:PASSWORD<\/em><\/p>\n<p>This sets the minerd task to the lowest priority and have it running in the background.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To mine with only your CPU you follow these these steps: Download cpuminer for your OS Join a mining pool Run cpuminer with appropriate parameters for your pool Watch the numbers and have it run for a while That&#8217;s it really. So lets have a look at this in detail: Download cpuminer Depending on your &#8230; <span class=\"more\"><a class=\"more-link\" href=\"https:\/\/www.digital-coins.net\/index.php\/mining-2\/cpu-mining\/\">[Read more&#8230;]<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":222,"menu_order":1,"comment_status":"open","ping_status":"open","template":"","meta":{"footnotes":""},"class_list":["entry","page","publish","author-administrator","post-49"],"_links":{"self":[{"href":"https:\/\/www.digital-coins.net\/index.php\/wp-json\/wp\/v2\/pages\/49","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.digital-coins.net\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.digital-coins.net\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.digital-coins.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.digital-coins.net\/index.php\/wp-json\/wp\/v2\/comments?post=49"}],"version-history":[{"count":4,"href":"https:\/\/www.digital-coins.net\/index.php\/wp-json\/wp\/v2\/pages\/49\/revisions"}],"predecessor-version":[{"id":281,"href":"https:\/\/www.digital-coins.net\/index.php\/wp-json\/wp\/v2\/pages\/49\/revisions\/281"}],"up":[{"embeddable":true,"href":"https:\/\/www.digital-coins.net\/index.php\/wp-json\/wp\/v2\/pages\/222"}],"wp:attachment":[{"href":"https:\/\/www.digital-coins.net\/index.php\/wp-json\/wp\/v2\/media?parent=49"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}