digital-coins.net
  • Introduction
    • Overview
    • Wallet
  • Invest and earn coins
    •  How to get coins
    • Free (Bit-)coins
    • For Publishers
    • Investing your Bitcoins
  • Mining
    •  Mining Overview
    • CPU Mining
    • Cloud Mining
  • Currencies
  • About

digital-coins.net

Bitcoin, Litecoin and more

Free Bitcoins?

Get them here...
Menu

cpuminer

First try with CPU Mining (incl Tutorial)

24. November 2013 by digital-coin.net Leave a Comment

After getting a quick overview of digital coins, having collected one or the other free coins, we want to give it a try to mine our first coins. Lets have a look at that topic:

To mine coins we got the following options to mine with:

CPU Mining: This is the easiest way probably to try mining for coins as a first run. The requirements here are pretty basic: You need a CPU. Luckily every computer got that. And you need a program called cpuminer. Cpuminer is also known as “minerd”. Sign up to join a mining pool and you are ready to go. Advantages of mining with your CPU are pretty obvious: almost no requirements, no additional hardware besides your CPU. Disadvantage is the performance of you CPU: it is pretty slow compared to the other methods. Your energy costs will eat up all of your profits.

GPU Mining: Mining with your GPU is already a much more efficient way to mine coins and was the next step after CPU mining. Compared to your CPU the GPU is able to solve the hash values much more efficient; you get way more out of your energy bills. To mine with your GPU you need a modest graphics card which is supported by the GPU miners like cgminer. Most modern Radeon or Nvidia cards are supported. Requirements compared to CPU mining are only the additional graphics card you need – or even better several of them – and mining makes much more fun.

ASIC: ASIC hardware are specialized devices produced for only one task: To mine coins. But this in the most efficient way: This gives you the best hash rate/power consummation ratio of all of the three methods mentioned. However, you have to have access to such a device so there is an additional cost.

To jump directly into mining and gain my first experiences, I have chosen for the first option, the CPU mining way.

So, these are the steps we will follow:

  • 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’s it really. So lets have a look at this in detail:

Download cpuminer
Depending on your operating system, you have to download cpuminer (minerd) from this site 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.

To install with a Debian based system like Ubuntu you simply run “sudo apt-get update” and “sudo apt-get install cpuminer” and the system does the magic.

Join a mining pool
There are several mining pools out there, all with different rules like fee’s and payout models.

  • Bitcoin mining pool comparison
  • Litecoin mining pools comparison

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’s website and register your account. When done you have to add a “worker”. 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.

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:

minerd –url=stratum+tcp://stratum-eu.minersdream.com:3333 –userpass=USERNAME.WORKER:PASSWORD

(Please make sure to redirect to the correct path for your minerd binary. Replace USERNAME, WORKER and PASSWORD with you own values)

When you typed in everyt correctly, you should get an output like this:

cpuminer running in commandline

cpuminer running in commandline

 

Perfect, our first test is running successful; our CPU miner is mining.

Tip to have minerd  running in the background
To have cpuminer running in the background while you are  working, you can decrease the priority of it. In Windows you start up the task manager, tab “Processes” and then right-click on minerd and select priority “lowest”. (Not having windows, hope this all correct…)

In Linux you run the command like this:

nice -n 19 minerd –url=stratum+tcp://stratum-eu.minersdream.com:3333 –userpass=USERNAME.WORKER:PASSWORD

This sets the minerd task to the lowest priority and have it running in the background.

 

Posted in: Tutorial Tagged: asic, bitcoin, cpuminer, for dummies, gpu, litecoin, miner, minerd, mining, mining for dummies, newbie, tutorial

Latest cloud miner reviews

Hashing24.com
HashFlare.io
Genesis-Mining
GigaHash

1 BTC = $7155.05 USD  (via Coinbase)
1 LTC = $43.09 USD  (via Coinbase)
Quotes delayed up to 2 minutes.

2019: The Inflection Point for Data Privacy

Coindesk
Dec 12

Bitcoiners Are Building a Sidechain Version of Ethereum’s MakerDAO

Coindesk
Dec 12

Equilibrium’s Stablecoin Now Has $17.5M in Insurance That Pays Out Automatically

Coindesk
Dec 12

Dutch Bank ING Reportedly Working on Crypto Custody Tech

Coindesk
Dec 12

Binance Adds 167 Fiat Payment Options Through Integration With P2P Exchange Paxful

Coindesk
Dec 12

Binance Adds New Fiat Payment Options Through Integration With P2P Exchange Paxful

Coindesk
Dec 12

Bitcoin Eyes Minor Price Bounce After Hitting Two-Week Low

Coindesk
Dec 12

Cryptopia’s Liquidator Claws Back $7.2M, But Identifying Crypo Ownership a ‘Mammoth Task’

Coindesk
Dec 12

Cryptopia’s Liquidator Claws Back $7.2M, But Identifying Crypto Ownership a ‘Mammoth Task’

Coindesk
Dec 12

Volcker Might Have Said Yes to a Digital Dollar – If He Knew What It Was

Coindesk
Dec 12

Netherlands Plans to Punish Crypto Scammers With Up to 6 Years in Jail

Coindesk
Dec 12

Circle Confirms New Round of Layoffs Following Co-CEO Departure

Coindesk
Dec 11

SEC Charges Shopin CEO With Fraud Over Unregistered $42M ICO

Coindesk
Dec 11

Jack Dorsey Announces New Twitter Team: Square Crypto, but for Social Media

Coindesk
Dec 11

The Year in Crypto Journalism: Truth Will Always Be Human

Coindesk
Dec 11

Kraken: $75 Device Will Get You Into Crypto Hardware Wallet KeepKey

Coindesk
Dec 11

Square Crypto Bankrolls Star Lightning Developer Known as ‘ZmnSCPxj’

Coindesk
Dec 11

Enterprise Blockchain on … Bitcoin? Bitfury Is Giving It a Go With Exonum

Bitcoinmagazine
Dec 11

MARKET DAILY: Nike and the ECB are Thinking with Tokens

Coindesk
Dec 11

D-Wave and NEC Partner to Create ‘Hybrid’ Quantum Applications

Coindesk
Dec 11

Economic Uncertainty, Restrictions in Argentina Show Power of Bitcoin

Bitcoinmagazine
Dec 11

Ethereum Builder ConsenSys Shutters India and Philippines Operations

Coindesk
Dec 11

What the Wild History of Digital Currency Tells Us About The Future

Coindesk
Dec 11

Op Ed: IRS Doesn’t Get Cryptocurrencies: Here’s Why

Bitcoinmagazine
Dec 11

Podcast: Chainalysis’ Chief Economist on the Data Behind Blockchain Forensics

Bitcoinmagazine
Dec 11

Bitcoin and Gift Cards Are Powering a Million Dollar Remittance Market in Africa

Bitcoinmagazine
Dec 11

Never Mind Adoption, This was a Year of Steady Infrastructural Progress

Coindesk
Dec 11

Never Mind Consumers, This Was a Year of Steady Infrastructural Progress

Coindesk
Dec 11

New York Regulator Details Changes to Contentious BitLicense

Coindesk
Dec 11

Australia’s Stock Exchange Backs $35M Round for DLT Survivor Digital Asset

Coindesk
Dec 11

Bitfury Invests in Shyft Network to Build Decentralized Identity Products

Coindesk
Dec 11

2019 Saw the End of Blockchain Tourism

Coindesk
Dec 11

SEC Taking ‘Measured’ Approach to Digital Asset Regulation, Jay Clayton Tells Senate Committee

Coindesk
Dec 11

This Year Proved Asia Is Ahead in Crypto-Blockchain Adoption

Coindesk
Dec 11

Bitcoin Is Closing on Historically Strong Price Support

Coindesk
Dec 11

Here’s a New Banking Tool for Vetting Crypto Exchanges

Coindesk
Dec 11

China’s SEC May Soon Have a Crypto-Savvy Department Chief: Report

Coindesk
Dec 11

Is Greece Cracking Down on Tax Evasion or Taxing Anonymity?

Coindesk
Dec 11

France’s New ‘Napoleon Bitcoin Fund’ Is Tied to CME’s Cash-Settled Futures

Coindesk
Dec 11

Ripple’s Revamped Xpring Platform Looks to Boost XRP Development

Coindesk
Dec 11

FinCEN Sees Jump in Crypto-Related Suspicious Activity Reports

Coindesk
Dec 10

Blockchain Faces Big Challenges But the Opportunity Is Enormous

Coindesk
Dec 10

Russia’s Power Grid Company Tests Blockhain for Power Meter Data

Coindesk
Dec 10

Russia’s Power Grid Company Tests Blockchain for Power Meter Data

Coindesk
Dec 10

US Arrests 3 in Alleged Crypto Mining Pool Fraud Scheme

Coindesk
Dec 10

UK Court Orders US Judge to Depose Telegram’s Advisor About Token Sale

Coindesk
Dec 10

US Judge Orders UK Court to Depose Telegram’s Advisor About Token Sale

Coindesk
Dec 10

Op Ed: Quantum Computing, Crypto Agility and Future Readiness

Bitcoinmagazine
Dec 10

Nayuta Launches Hybrid Full Node/SPV Mobile Bitcoin Wallet

Bitcoinmagazine
Dec 10

Cryptocurrency Is Most Useful for Breaking Laws and Social Constructs

Coindesk
Dec 10

Tags

1000usd all time high asic bfgminer bitcoin bitfury calculations cgminer coin coins compile cpuminer crypto coins debian digital coins driver exchange faucet for dummies free bitcoin git github gpu invest linux litecoin make mine miner minerd mining mining device mining for dummies mining rig mtgox multibit newbie profitability review tutorial ubuntu usb usb miner wallet windows
BTCClicks.com Banner

Archives

  • November 2017
  • October 2017
  • May 2017
  • December 2016
  • November 2016
  • October 2016
  • August 2016
  • December 2014
  • March 2014
  • November 2013

Copyright © 2019 digital-coins.net.

Magazine WordPress Theme by themehall.com