digital-coins.net
  • Visit us on
  •  Twitter
  •  Medium

digital-coins.net

Bitcoin, Altcoins, Defi and more

Decentralized Finance

Earn up to 3.33% daily
Learn more

Menu
  • Home
  • Introduction
    • Overview
    • Blockchain – in simple terms
    • Wallet
  • Decentralized Finance
  • Invest and earn coins
    •  How to get coins
    • Free (Bit-)coins
    • For Publishers
    • Investing your Bitcoins (update required)
  • Mining
    •  Mining Overview
    • CPU Mining
  • About

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
Earn Free Bitcoin

MicroStrategy Buys Additional $1.11 Billion Worth of Bitcoin

Bitcoinmagazine
Sep 13

Bitcoin and Crypto Exchange HTX To Integrate Lightning Network

Bitcoinmagazine
Sep 13

Trump Election Victory Could Send Bitcoin to $125,000, Says Standard Chartered Analyst

Bitcoinmagazine
Sep 12

Revolutionizing Bitcoin Mining: The Power of Three-Phase Systems

Bitcoinmagazine
Sep 12

Bitcoin Vaults and the Future of Bitcoin Custody

Bitcoinmagazine
Sep 11

UK Parliament Introduces Bill to Recognize Bitcoin and Crypto as Personal Property

Bitcoinmagazine
Sep 11

El Salvador’s Bitcoin Office Celebrates 21 Months of Success, Sets Stage for Renaissance 2.0

Bitcoinmagazine
Sep 11

Early Bitcoin Developer Backs Satoshi Nakamoto Theory

Bitcoinmagazine
Sep 11

Bitcoin Mining Difficulty Hits Record 92 Trillion

Bitcoinmagazine
Sep 11

Standard Chartered Bank Launches Bitcoin and Crypto Custody Service in UAE

Bitcoinmagazine
Sep 10

Un Ode de l’Provocateur du Bitcoin

Bitcoinmagazine
Sep 10

Metaplanet Buys Additional ¥300 Million Worth of Bitcoin

Bitcoinmagazine
Sep 10

Give Me Time

Bitcoinmagazine
Sep 09

Introducing The Bitcoin Report: A New Monthly Digest from Bitcoin Magazine Pro

Bitcoinmagazine
Sep 09

Bitcoin Rollups - The Rock Or The Hard Place?

Bitcoinmagazine
Sep 09

Proof of Workforce and Careers In Government Partner to Integrate Bitcoin into Public Sector Jobs

Bitcoinmagazine
Sep 09

Australian Bitcoin ETF to Implement Proof of Reserves with Hoseki

Bitcoinmagazine
Sep 09

Japan's Largest Power Company TEPCO is Mining Bitcoin Using Renewables

Bitcoinmagazine
Sep 09

Nevada Welcomes Bitcoin and Crypto: Day Two of the America Loves Crypto Tour

Bitcoinmagazine
Sep 06

Bitcoin's Potential Rally Amid U.S. Dollar Weakness

Bitcoinmagazine
Sep 06

Politicians, Founders Motivate Crypto Voters on Day One of the America Loves Crypto Tour

Bitcoinmagazine
Sep 05

Venezuelan Opposition Leader María Corina Machado Calls Bitcoin a “Lifeline” in Exclusive Interview

Bitcoinmagazine
Sep 05

Advancing Bitcoin Security: The Journey from Basic Wallets to Advanced Protocols

Bitcoinmagazine
Sep 05

Mastercard Launches Euro Denominated Non-Custodial Bitcoin Debit Card

Bitcoinmagazine
Sep 05

Blockstream Opens New Funding Round For Its Second Bitcoin Mining Security Token

Bitcoinmagazine
Sep 05

Coinbase CFO Says Kamala Harris Campaign Accepts Crypto Donations: Fortune

Bitcoinmagazine
Sep 04

Choose Privacy

Bitcoinmagazine
Sep 04

U.S. Spot Bitcoin ETFs See Record $287 Million in Outflows, Except BlackRock

Bitcoinmagazine
Sep 04

UTXO Research Report: State Of The Bridges

Bitcoinmagazine
Sep 04

Switzerland's Fourth Largest Bank ZKB Launches Bitcoin Trading

Bitcoinmagazine
Sep 04

FBI Warns of North Korean Hackers Targeting U.S. Bitcoin And Crypto ETFs

Bitcoinmagazine
Sep 03

Privacy and Pain: Craig Raw, Creator Of Sparrow Wallet, On Self-Custody

Bitcoinmagazine
Sep 03

Relai’s Bitcoin Mission: Bringing Europeans the Orange Coin Despite the Red Tape

Bitcoinmagazine
Sep 03

Why The DNC Doesn't Care About Bitcoin

Bitcoinmagazine
Sep 03

Bitcoin Hashrate Records New ATH Surpassing 740 EH/s

Bitcoinmagazine
Sep 03

Bitcoiners and Wobblies: Labor Day Edition

Bitcoinmagazine
Sep 02

The Fight for Bitcoin Privacy Has Truly Begun

Bitcoinmagazine
Aug 30

The Impact of Institutional Investors on Bitcoin

Bitcoinmagazine
Aug 30

BlackRock's Bitcoin ETF Saw Outflow For the First Time Since May

Bitcoinmagazine
Aug 30

Solo Bitcoin Miner Earns $199,098 After Successfully Mining Block

Bitcoinmagazine
Aug 29

The Privacy Issue: Letter From the Editors

Bitcoinmagazine
Aug 29

Proton Wallet Review: A Bitcoin Software Wallet That Simplifies Transactions

Bitcoinmagazine
Aug 29

Jack Dorsey-Backed Nostr Emerges as Bitcoin's Social Layer at Riga Conference

Bitcoinmagazine
Aug 29

The New Mission Critical Facilities: Bitcoin Mining Farms

Bitcoinmagazine
Aug 29

Australian Spot Bitcoin ETF Keeps on Buying

Bitcoinmagazine
Aug 29

Leading Bitcoin Miner GDA Plans Mining Expansion to 400 MV Leveraging Renewables

Bitcoinmagazine
Aug 29

F%$K Bad Research

Bitcoinmagazine
Aug 28

Lightspark Introduces Instant Bitcoin Lightning Payments for U.S. Businesses with New Feature

Bitcoinmagazine
Aug 28

The Other Satoshis: Bitcoin's Most Important Early Contributors

Bitcoinmagazine
Aug 28

The Security Hustle: Protecting My Bitcoin From Hackers

Bitcoinmagazine
Aug 28

Latest Crypto Fear & Greed Index

Tags

adapad aipad airdrop animal farm asic bitcoin bluezilla bscpad celsius coinbase compound defi drip earn ethpad exchange faucet free free bitcoin furio gamezone giveaway gleam IDO igo litecoin metavpad miner mining money movez nft nftlaunch passive-income polypad promotion pulsepad reward souls of meta trading trustpad tutorial velaspad wallet whitelist

Latest Platform Reviews

Celsius
Coinbase
Crypto.com (updated)
OKX

Cloud miner reviews

Hashing24.com
HashFlare.io
Genesis-Mining

Archives

  • May 2023
  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • May 2021
  • April 2021
  • November 2017
  • October 2017
  • May 2017
  • December 2016
  • November 2016
  • October 2016
  • August 2016
  • December 2014
  • March 2014
  • November 2013

Disclaimer

This site contains referral links to described websites. Thanks for your support.

None of the sites content is financial advise. Do your own research, please.

Copyright © 2025 digital-coins.net.

Magazine WordPress Theme by themehall.com