STEEM Miner Setup in Ubuntu 15.10 / 16.04

in #miner-category8 years ago (edited)

Here's more detailed miner setup for Ubuntu 15.10 and 16.04

Here's more detailed miner setup for Ubuntu 15.10 and 16.04 (If you want to use previous versions, you should compile boost). Ubuntu server version is recommended.

Setup Your Miner

  • Start up your machine
sudo apt-get update
#Enter password
sudo apt-get install screen autoconf autotools-dev build-essential cmake g++ git libboost-all-dev libboost-dev libbz2-dev libdb++-dev libdb-dev libicu-dev libreadline-dev libssl-dev libtool openssl python-dev uuid-dev ncurses-dev doxygen qt5-default
git clone https://github.com/steemit/steem
cd steem
git submodule update --init --recursive
cmake -DENABLE_CONTENT_PATCHING=OFF .
make
  • Wait for compiling done
sudo cp ./programs/steemd/steemd /usr/bin/
sudo cp ./programs/cli_wallet/cli_wallet /usr/bin/
cd ~/
steemd
  • After 30 seconds Ctrl+C to exit steemd
nano ./witness_node_data_dir/config.ini
  • Copy the below lines and paste at the top of config.ini
seed-node = 212.117.213.163:2016
seen-node = 185.82.203.92:2001
seed-node = 104.236.82.250:2001
seed-node = 104.199.157.70:2001
seed-node = steem.kushed.com:2001
seed-node = steemd.pharesim.me:2001
seed-node = seed.steemnodes.com:2001
seed-node = steemseed.dele-puppy.com:2001
seed-node = seed.steemwitness.com:2001
rpc-endpoint = 127.0.0.1:8090
  • Now you're ready to mine. Use your private key that starts with 5, or get it from http://offlinebitcoins.com
  • Let's start the miner in new screen named steemd
screen -dmS steemd steemd --miner='["YourWantedID","5YourPrivatekey"]' --witness='"YourWantedID"' --mining-threads=4    (if you have 32 core, change it from 4 to 32)
  • When you're get involved in the miner queue, your account will be created and your hash will go down to near zero

Multiple Miners

  • If you want to have multiple miner, you can set different data directory
steemd -d ~/newdatadir --miner='["YourWantedID","5YourPrivatekey"]' --witness='"YourWantedID"' --mining-threads=4
nano ~/newdatadir/config.ini
  • Copy and paste the below
seed-node = 212.117.213.163:2016
seen-node = 185.82.203.92:2001
seed-node = 104.236.82.250:2001
seed-node = 104.199.157.70:2001
seed-node = steem.kushed.com:2001
seed-node = steemd.pharesim.me:2001
seed-node = seed.steemnodes.com:2001
seed-node = steemseed.dele-puppy.com:2001
seed-node = seed.steemwitness.com:2001

Cli_wallet commands

  • To use cliwallet, you must setup password first
set_password WalletPassword
unlock WalletPassword
  • Import your account
import_key 5YourPrivateKey
  • Check your balance
list_my_accounts
  • Transfer
transfer "SenderID" "ReceiverID" "000.000 STEEM" "memo" true   (Make sure that the amount have at least three digits, maybe a bug?)

Good luck with your mining :)

Sort:  

Great tutorial, you also need to install doxygen and ncurses-dev

Thanks! One more thing, you should check your miner ID is occupied already. There are two ways:

that URL is broken

I can confirm.

CMake Error at libraries/fc/CMakeModules/FindBoost.cmake:1129 (message):
Unable to find the requested Boost librar

sudo apt-get install libboost-all-dev

Why do you need doxygen?

Edit: Ah.. because of content-patching off.

doxygen is needed for better help documentation in cli_wallet

I had to run:
$ pip3 install jinja2
before running :
$ cmake -DENABLE_CONTENT_PATCHING=OFF .

Thanks for a good and informative post, this really helped me!

I ended up doing sudo apt-get install python3-jinja2 to fix cmake errors.

Thanks. I had to do it too.

Before starting to mine, make sure to put recent blockchain in /witness_node_data_dir/blockchain/database/block_num_to_block/.
You can get it by using: wget http://www.steemitup.eu/blockchain.zip and don't forget to unzip it in the above folder.

não funciona!

Loading...

@clayop Everything has worked except for the very last bit:
screen -dmS steemd steemd --miner='[pseudonymous,"ownerkeyhere]' --witness='pseudonymous' --mining-threads=4

It just returns nothing... What did I do wrong?

It is running, check "ps auxw | grep steem".
What you need to do is go "screen -r" to reattach to the spawned screen. When you want to leave it the way it was, hit control-d to detach. you can start another screen with ctrl-a. you can cycle through screens using ctrl-a also.

There are two private keys that begin with 5- Posting and Active. Hoping this is "active" key.

Thanks for your post.

Good points in this post. Thanks for bringing this to our attention. Some people say it's a high risk market but if you're willing to hold your coins with a 2 to 5 year vision I bet the risk might not seem that high by then :-). I really advice people to take a look at: https://www.coincheckup.com This site did all the research for you. It's truly amazing. Check: https://www.coincheckup.com/coins/Steem#analysis To check Steem Detailed analysis

Coin Marketplace

STEEM 0.26
TRX 0.11
JST 0.032
BTC 64615.49
ETH 3112.63
USDT 1.00
SBD 3.84