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

newbie

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

1 BTC = $26894.72 USD  (via Coinbase)
1 ETH = $1666.92 USD  (via Coinbase)
1 LTC = $65.45 USD  (via Coinbase)
Quotes delayed up to 2 minutes.

Cynthia Lummis: Bitcoin Is the Anti-CBDC

Bitcoinmagazine
Sep 29

Runes: An Attempt At A Serious Protocol, Or Another Children's Toy?

Bitcoinmagazine
Sep 29

The Lightning Network Makes Bitcoin Unstoppable: Bitcoin Backstage with David Marcus

Bitcoinmagazine
Sep 28

Strategic Competition and Digital Currencies: Insights from Daniel Flatley, Sarah Kreps, Chris Meserole, and Matthew Pines

Bitcoinmagazine
Sep 28

Digital Asset Infrastructure as a Success Factor for Financial Institutions

Bitcoinmagazine
Sep 28

Bitcoin Optimism Rising in Developing World Despite Price Declines: Block Survey

Bitcoinmagazine
Sep 28

Just Announced: Finalists for $1 Million in Seed Funding by Samara Alpha Management, Bitcoin Magazine PRO

Bitcoinmagazine
Sep 28

Finalists for $1 Million in Seed Funding by Samara Bitcoin Magazine PRO, Announced

Bitcoinmagazine
Sep 28

Whitney Webb: Bitcoin And The Plot To Destroy Financial Privacy

Bitcoinmagazine
Sep 27

You'll Activate The Covenants And You'll Like It

Bitcoinmagazine
Sep 27

NBA Champion and Former LeBron James Teammate Now Working in Bitcoin

Bitcoinmagazine
Sep 27

The Great Inscription Renumbering Debate: The Code & The Culture

Bitcoinmagazine
Sep 27

The Future Of Energy: Bitcoin Mining

Bitcoinmagazine
Sep 27

WATCH: National Press Club Event to Debate Bitcoin's Geopolitical Implications

Bitcoinmagazine
Sep 27

What Is The Byzantine Generals Problem?

Bitcoinmagazine
Sep 27

Human Rights Foundation Donates $500,000 to 15 Bitcoin Projects

Bitcoinmagazine
Sep 27

Spot Bitcoin ETFs Should Be Approved ‘Immediately’: U.S. Congressmen

Bitcoinmagazine
Sep 26

Rodarmor Returns: Announces "Runes Protocol" To Compete With BRC-20

Bitcoinmagazine
Sep 26

Energy And GDP: You Have To Consume To Grow

Bitcoinmagazine
Sep 26

Bitcoin Insurance Company AnchorWatch Raises $3 Million to Bring Multisig Mainstream

Bitcoinmagazine
Sep 26

Bitcoin Asset Management to Grow to $650 Billion Industry: Alliance Bernstein

Bitcoinmagazine
Sep 26

How-To Guide: Running an Ecash Mint

Bitcoinmagazine
Sep 25

OP_CHECKSEPARATESIG And Actuaries: Fixing Multiparty Channel Factories

Bitcoinmagazine
Sep 25

Dollar Wrecking Ball, Good or Bad for Bitcoin?

Bitcoinmagazine
Sep 25

Cypherpunk Icon Adam Back: Bitcoin Is 'Digital Gold for the Next Millennia'

Bitcoinmagazine
Sep 25

A Most Ridiculous World : The Politicization Of Energy

Bitcoinmagazine
Sep 25

MicroStrategy Buys 5,445 More Bitcoin for $147.3 Million

Bitcoinmagazine
Sep 25

Bitcoin Blockchain Is Fighting Fraud In Guatemala’s Presidential Elections

Bitcoinmagazine
Sep 23

French Restaurant Seeks to Drive Bitcoin Adoption, Accepting Only BTC for High End Menu Item

Bitcoinmagazine
Sep 22

The Subtle Art of Orange Pilling

Bitcoinmagazine
Sep 22

The Evolution of Bitcoin Wallets: From the Early Days to Today's Modern Solutions

Bitcoinmagazine
Sep 21

Ideal Banking

Bitcoinmagazine
Sep 21

Bitcoin's Role in Russia-Ukraine Conflict to Take Center Stage in DC

Bitcoinmagazine
Sep 21

A New Trustless Way to Calculate the Bitcoin Price

Bitcoinmagazine
Sep 21

Spot Bitcoin ETF Would Attract $300 Billion: Hedge Fund Director

Bitcoinmagazine
Sep 21

Nostr.com: Not Selling It To Shitcoiners

Bitcoinmagazine
Sep 21

Prince Philip of Serbia Leads the Way for Bitcoin Nation State Adoption

Bitcoinmagazine
Sep 21

UTXOracle: A Decentralized Approach To The Oracle Problem

Bitcoinmagazine
Sep 21

Bitcoin Price Up 20,000% Since First Joe Rogan Mention

Bitcoinmagazine
Sep 21

Readers React To Drivechain Incentive Concerns

Bitcoinmagazine
Sep 20

Bitcoin vs Ethereum: A Culture War Rooted in First Principles

Bitcoinmagazine
Sep 20

Rare Video Surfaces of Bitcoin Pioneer Hal Finney Speech at Crypto Conference

Bitcoinmagazine
Sep 20

Helping Union and Firefighter Pensions Save for Retirement with Bitcoin

Bitcoinmagazine
Sep 20

Introducing RFK Jr. to Bitcoin’s Nashian Orientation

Bitcoinmagazine
Sep 20

Bitcoin Ordinals Creator Proposes Overhaul of Inscription Numbering

Bitcoinmagazine
Sep 19

Gentrification And Bitcoin Blockspace: Economic Parallels With Real Estate

Bitcoinmagazine
Sep 19

What Happens After A Spot Bitcoin ETF is Approved?

Bitcoinmagazine
Sep 19

$500 Billion Nomura's Digital Asset Subsidiary Launches Bitcoin Fund for Institutions

Bitcoinmagazine
Sep 19

Over 50% of US Bitcoin Miners to Back New Policy Group

Bitcoinmagazine
Sep 19

BlackRock Bitcoin ETF Will Bring New Money: Arca CIO

Bitcoinmagazine
Sep 19

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 © 2023 digital-coins.net.

Magazine WordPress Theme by themehall.com