How To Mine DGB (Step by Step Tutorial with all needed commands) by meysam

View this thread on steempeak.com
· @meysam ·
$1.20
How To Mine DGB (Step by Step Tutorial with all needed commands)
DigiByte has one of the fastest transaction time, and it is right now fairly cheap, in last three weeks it had a steady rise in price(it got tripled in price), and I myself am holding some of it for long term investment, meanwhile I try to do some mining as a mean to support the project,  it is very easy to set up the miner app on your OS which is Ubuntu 16.04 in my tutorial 
Learn more about [DigiByte](http://www.digibyte.co/)
<center>![](https://steemitimages.com/DQmbRAEhBbW6LmAuWzNyEx1KkEydskxwZParDU1DYf1RMFh/image.png)</center>
Download cpuminer Source code from [here](https://github.com/tpruvot/cpuminer-multi/releases)
Create a folder(like dgb), move the tar file into it, uncompress it with tar command>
>mkdir dgb
mv cpuminer-multi-1.3.1-multi.tar.gz dgb
cd dgb
tar zxf cpuminer-multi-1.3.1-multi.tar.gz
>cd cpuminer-multi-1.3.1-multi/
>
Now you need to install some prerequisites, just run this command(both lines are together and in one command):
>apt-get install automake autoconf pkg-config libcurl4-openssl-dev libjansson-dev libssl-dev libgmp-dev make g++
>
Note that if you are not the root user, you need to use 'sudo' at the begining for installing packages and other administration tasks
<center>![1.JPG](https://steemitimages.com/DQmaAS9atYQB4SYEN6SJtkPhruzvCTgUmVRYWNuq5ub799K/1.JPG)</center>

now you are ready to build from your source by running build.sh script:
> sudo ./build.sh
<center>![2.JPG](https://steemitimages.com/DQmZVfcACM6KWYzJVhxyrujTrxZVfm2zUPqi9RrhUVCN4oo/2.JPG)</center>
<center>![3.JPG](https://steemitimages.com/DQmdBb8EPUpaUNJN6Mr7Vz36UQGsehv6tea1XU8XMohSr4P/3.JPG)</center>

#### You are done with building your miner, now you need to register in a pool to start mining DGB
#### I currently am using [dgb.miningfield.com](http://dgb.miningfield.com), go to this site, create a user like any other site
#### After logging in to your mining pool you need to create at least one worker, you also can find servers' addresses and their difficulties in dashboard
![4.JPG](https://steemitimages.com/DQmb9BgP3b36V8wZLqVBYgiNqGWpdbifwBYYNF7YXWb1Aui/4.JPG)

### adding worker
![Capture.JPG](https://steemitimages.com/DQmYVvS5nHUddRfJmdx5sQJqqxs4eXu2oEM2LhZdbZcC3EH/Capture.JPG)

## <center> DONE!</center>
### now you are good to go, just run following command(change my info with yours in user and password parts nad -t is for the number of threads for minig):
> ./cpuminer -a skein -o stratum+tcp://eu.miningfield.com:3397 -u user.worker3 -p password -t 4
<center>![](https://steemitimages.com/DQmbRAEhBbW6LmAuWzNyEx1KkEydskxwZParDU1DYf1RMFh/image.png)</center>
## <center> Thank you</center>
# <center>@meysam</center>
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 12 others
properties (23)
post_id2,492,736
authormeysam
permlinkhow-to-mine-dgb-step-by-step-tutorial-with-all-needed-commands
categorytutorial
json_metadata"{"format": "markdown", "links": ["http://www.digibyte.co/", "https://github.com/tpruvot/cpuminer-multi/releases", "http://dgb.miningfield.com"], "app": "steemit/0.1", "tags": ["tutorial", "mining", "crypto", "blockchain", "dgb"], "users": ["meysam"], "image": ["https://steemitimages.com/DQmbRAEhBbW6LmAuWzNyEx1KkEydskxwZParDU1DYf1RMFh/image.png"]}"
created2017-04-27 12:57:09
last_update2017-04-27 12:57:09
depth0
children14
net_rshares2,795,262,193,067
last_payout2017-05-04 12:57:09
cashout_time1969-12-31 23:59:59
total_payout_value1.043 SBD
curator_payout_value0.154 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length2,662
author_reputation24,484,367,468,222
root_title"How To Mine DGB (Step by Step Tutorial with all needed commands)"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (76)
@aggroed ·
What kind of specs does the miner need to work?  How much do you think a miner will earn?
👍  
properties (23)
post_id2,493,454
authoraggroed
permlinkre-meysam-how-to-mine-dgb-step-by-step-tutorial-with-all-needed-commands-20170427t144256148z
categorytutorial
json_metadata"{"app": "steemit/0.1", "tags": ["tutorial"]}"
created2017-04-27 14:42:57
last_update2017-04-27 14:42:57
depth1
children3
net_rshares32,671,533,924
last_payout2017-05-04 14:42:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length89
author_reputation823,295,147,248,484
root_title"How To Mine DGB (Step by Step Tutorial with all needed commands)"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)
@felixxx ·
https://whattomine.com/coins/112-dgb-groestl

According to this, his 1.3 MH/s will generate 0.000373 BTC/day.
👍  
properties (23)
post_id2,493,722
authorfelixxx
permlinkre-aggroed-re-meysam-how-to-mine-dgb-step-by-step-tutorial-with-all-needed-commands-20170427t150836838z
categorytutorial
json_metadata"{"app": "steemit/0.1", "links": ["https://whattomine.com/coins/112-dgb-groestl"], "tags": ["tutorial"]}"
created2017-04-27 15:08:39
last_update2017-04-27 15:08:39
depth2
children1
net_rshares32,671,533,924
last_payout2017-05-04 15:08:39
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length109
author_reputation66,238,594,869,311
root_title"How To Mine DGB (Step by Step Tutorial with all needed commands)"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)
@meysam ·
Normally I Mine in 5 MH/s
👍  
properties (23)
post_id2,494,914
authormeysam
permlinkre-felixxx-re-aggroed-re-meysam-how-to-mine-dgb-step-by-step-tutorial-with-all-needed-commands-20170427t174135558z
categorytutorial
json_metadata"{"app": "steemit/0.1", "tags": ["tutorial"]}"
created2017-04-27 17:41:36
last_update2017-04-27 17:41:36
depth3
children0
net_rshares31,310,220,010
last_payout2017-05-04 17:41:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length25
author_reputation24,484,367,468,222
root_title"How To Mine DGB (Step by Step Tutorial with all needed commands)"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)
@meysam ·
The tutorial is for cpu mining, and it works on different OSes( this one is for Linux of course), mining is not that profitable these days(by using PCs and hand made rigs, I roughly make 0.5 $ a day by mining DGB), and as I said I do it to support the project, plus it is easy to mine DGB right now , and the price will go higher, in long run it is going to be profitable hopefully
👍  ,
properties (23)
post_id2,494,887
authormeysam
permlinkre-aggroed-re-meysam-how-to-mine-dgb-step-by-step-tutorial-with-all-needed-commands-20170427t173818242z
categorytutorial
json_metadata"{"app": "steemit/0.1", "tags": ["tutorial"]}"
created2017-04-27 17:38:18
last_update2017-04-27 17:38:18
depth2
children0
net_rshares31,310,220,010
last_payout2017-05-04 17:38:18
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length381
author_reputation24,484,367,468,222
root_title"How To Mine DGB (Step by Step Tutorial with all needed commands)"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (2)
@billykeed ·
nice might take a look at it. thanks.
👍  
properties (23)
post_id2,493,618
authorbillykeed
permlinkre-meysam-how-to-mine-dgb-step-by-step-tutorial-with-all-needed-commands-20170427t145900804z
categorytutorial
json_metadata"{"app": "steemit/0.1", "tags": ["tutorial"]}"
created2017-04-27 14:59:00
last_update2017-04-27 14:59:00
depth1
children1
net_rshares32,671,533,924
last_payout2017-05-04 14:59:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length37
author_reputation29,436,684,211,147
root_title"How To Mine DGB (Step by Step Tutorial with all needed commands)"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)
@meysam ·
You are welcome @billykeed :)
👍  
properties (23)
post_id2,494,922
authormeysam
permlinkre-billykeed-re-meysam-how-to-mine-dgb-step-by-step-tutorial-with-all-needed-commands-20170427t174227988z
categorytutorial
json_metadata"{"app": "steemit/0.1", "users": ["billykeed"], "tags": ["tutorial"]}"
created2017-04-27 17:42:27
last_update2017-04-27 17:42:27
depth2
children0
net_rshares31,310,220,010
last_payout2017-05-04 17:42:27
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length29
author_reputation24,484,367,468,222
root_title"How To Mine DGB (Step by Step Tutorial with all needed commands)"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)
@roc ·
$0.03
Hi meysam,
Could you please also show us how to do a gpu mining on DGB? Thank you.
👍  ,
properties (23)
post_id2,932,299
authorroc
permlinkre-meysam-how-to-mine-dgb-step-by-step-tutorial-with-all-needed-commands-20170521t233603591z
categorytutorial
json_metadata"{"app": "steemit/0.1", "tags": ["tutorial"]}"
created2017-05-21 23:36:03
last_update2017-05-21 23:36:03
depth1
children5
net_rshares25,010,286,703
last_payout2017-05-28 23:36:03
cashout_time1969-12-31 23:59:59
total_payout_value0.025 SBD
curator_payout_value0.008 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length82
author_reputation35,300,249,728
root_title"How To Mine DGB (Step by Step Tutorial with all needed commands)"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (2)
@meysam ·
$0.04
Hi @roc
Sure, I will, right now I am in Dubai for Gisec exebition and a bit busy, But I am gonna do it ASAP( when I get home)
👍  ,
properties (23)
post_id2,938,478
authormeysam
permlinkre-roc-re-meysam-how-to-mine-dgb-step-by-step-tutorial-with-all-needed-commands-20170522t052921886z
categorytutorial
json_metadata"{"app": "steemit/0.1", "users": ["roc"], "tags": ["tutorial"]}"
created2017-05-22 05:29:21
last_update2017-05-22 05:29:21
depth2
children4
net_rshares27,859,994,960
last_payout2017-05-29 05:29:21
cashout_time1969-12-31 23:59:59
total_payout_value0.028 SBD
curator_payout_value0.009 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length125
author_reputation24,484,367,468,222
root_title"How To Mine DGB (Step by Step Tutorial with all needed commands)"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (2)
@roc · (edited)
$0.03
Hi @meysam, thank you for your reply. I have another question. I am planning to use bfgminer instead of cpuminer. Can I use the code like this? (Sorry, I am new to mining)
./bfgminer -a skein -o stratum+tcp://eu.miningfield.com:3397 -u user.worker3 -p password -t 4
👍  
properties (23)
post_id2,947,126
authorroc
permlinkre-meysam-re-roc-re-meysam-how-to-mine-dgb-step-by-step-tutorial-with-all-needed-commands-20170522t135116097z
categorytutorial
json_metadata"{"app": "steemit/0.1", "users": ["meysam"], "tags": ["tutorial"]}"
created2017-05-22 13:51:15
last_update2017-05-22 13:51:36
depth3
children3
net_rshares26,459,345,856
last_payout2017-05-29 13:51:15
cashout_time1969-12-31 23:59:59
total_payout_value0.025 SBD
curator_payout_value0.008 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length265
author_reputation35,300,249,728
root_title"How To Mine DGB (Step by Step Tutorial with all needed commands)"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)
@ticopurelife ·
$0.60
great stuff i will try it
👍  , , , ,
properties (23)
post_id8,094,162
authorticopurelife
permlinkre-meysam-how-to-mine-dgb-step-by-step-tutorial-with-all-needed-commands-20170724t073549542z
categorytutorial
json_metadata"{"app": "steemit/0.1", "tags": ["tutorial"]}"
created2017-07-24 07:35:51
last_update2017-07-24 07:35:51
depth1
children0
net_rshares155,444,456,954
last_payout2017-07-31 07:35:51
cashout_time1969-12-31 23:59:59
total_payout_value0.450 SBD
curator_payout_value0.147 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length25
author_reputation634,194,136,240
root_title"How To Mine DGB (Step by Step Tutorial with all needed commands)"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (5)
@sathya07 ·
Hi Therer,

Thanks for a great post, I am new to ubantu dont know much. can you please send me the command for to Download cpuminer Source code from github.
properties (22)
post_id23,655,884
authorsathya07
permlinkre-meysam-how-to-mine-dgb-step-by-step-tutorial-with-all-needed-commands-20180105t033404247z
categorytutorial
json_metadata"{"app": "steemit/0.1", "tags": ["tutorial"]}"
created2018-01-05 03:34:06
last_update2018-01-05 03:34:06
depth1
children0
net_rshares0
last_payout2018-01-12 03:34:06
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length156
author_reputation0
root_title"How To Mine DGB (Step by Step Tutorial with all needed commands)"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000