create account

Building Hive Daemon by felixxx

View this thread on: hive.blogpeakd.comecency.com
· @felixxx ·
$29.05
Building Hive Daemon
# Building from source

_Yes, I am setting up a witness node again._

>We **strongly** recommend using one of our pre-built Docker images or using Docker to build Hive. Both of these processes are described in the Quickstart Guide.

(https://gitlab.syncad.com/hive/hive#building)

Even though the official repo recommends Docker, I am going to compile from source.
I don't even know why I am torturing myself like this, but someone's got to do it the **normal, established** way, like it works for proper blockchains, ever since Bitcoin. 

...just to experience how shit the process is documented.

# Easy Quickstart Tutorial

Even though I am not building a seed node, the useful official tutorial was this:

https://developers.hive.io/nodeop/seed-node.html

They made a tutorial for proper newbies and idiots like myself, with every single step documented.
Because they even went as far as starting with:

``sudo apt-get update``

This is the most basic step for installing anything on Ubuntu.

Next step is installing a long list of all the dependencies...

``sudo apt-get install autoconf automake autotools-dev bsdmainutils \
  build-essential cmake doxygen gdb libboost-all-dev libreadline-dev \
  libssl-dev libtool liblz4-tool ncurses-dev pkg-config python3-dev \
  python3-pip nginx fcgiwrap awscli gdb libgflags-dev libsnappy-dev zlib1g-dev \
  libbz2-dev liblz4-dev libzstd-dev``

Then they **even** inculde how to clone into a github repository, going as far as: 

``mkdir -p ~/src``
``cd ~/src``

Creating a new directory for Hive's sourcecode and then moving to that directory.
This seems like a proper newbie guide and it's got you covered in all detail, right?
**Great!**

``git clone --branch master https://gitlab.syncad.com/hive/hive.git``

Finally cloning into the right branch and you know what fucking happens next?

``bash: git: command not found``

#### ALL THOSE DEPENDENCIES AND THEY FUCKING FORGOT GIT ITSELF

After spending weeks trying to get the Steem miner running, I have done all these steps a million times by now, and I assume anyone who tried using Ubuntu server for anything knows how to install git. 

But a tutorial that goes as far as telling you to update your Ubuntu first and how to create a fucking directory and then they fail to mention to install git in the first place is so stupid I can not express my frustration.

There is no middle ground; Either know what you are doing anyways, or be treated like a retard.

____

# Solution

Of course, I could write a tutorial that actually works for newbies and idiots like myself, **and then test it myself**, but why should I have to do this, when they get paid tons of money via witness rewards and writing a proposal for every step themselves?
I get paid **nothing** - at best I will get a snarky comment under my posts about it.
Why should I even bother?

Just officially recommend using docker.
If that is too complicated: Just wait for a Windows binary, lol noob.

### I'd recommend: 
Just stop writing _tutorials_, altogether.
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 83 others
properties (23)
authorfelixxx
permlinkbuilding-hive-daemon
categoryhive-dev
json_metadata"{"app":"peakd/2021.09.1","format":"markdown","description":"Frustration Compiling Hive ","tags":["hive-dev","dev","hive"],"users":[],"image":[]}"
created2021-12-13 13:08:21
last_update2021-12-13 13:08:21
depth0
children24
last_payout2021-12-20 13:08:21
cashout_time1969-12-31 23:59:59
total_payout_value14.572 HBD
curator_payout_value14.474 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length3,024
author_reputation216,857,010,235,126
root_title"Building Hive Daemon"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id108,516,019
net_rshares14,926,258,140,075
author_curate_reward""
vote details (147)
@herz-ass ·
>Yes, I am setting up a witness node again.

Thumbs up. Good luck and success.
properties (22)
authorherz-ass
permlinkr422sc
categoryhive-dev
json_metadata{"app":"hiveblog/0.1"}
created2021-12-13 13:28:57
last_update2021-12-13 13:28:57
depth1
children0
last_payout2021-12-20 13:28:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length78
author_reputation12,412,816,471,500
root_title"Building Hive Daemon"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id108,516,504
net_rshares0
@manniman ·
So it’s up and running?
properties (22)
authormanniman
permlinkre-felixxx-r423g6
categoryhive-dev
json_metadata{"tags":["hive-dev"],"app":"peakd/2021.09.1"}
created2021-12-13 13:43:18
last_update2021-12-13 13:43:18
depth1
children3
last_payout2021-12-20 13:43:18
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length23
author_reputation77,790,724,868,389
root_title"Building Hive Daemon"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id108,516,915
net_rshares0
@felixxx ·
It will take me a lot longer.
I just had to rant.
Expect the witness proposal some time this week :)
properties (22)
authorfelixxx
permlinkre-manniman-r423jd
categoryhive-dev
json_metadata{"tags":["hive-dev"],"app":"peakd/2021.09.1"}
created2021-12-13 13:45:15
last_update2021-12-13 13:45:15
depth2
children2
last_payout2021-12-20 13:45:15
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length100
author_reputation216,857,010,235,126
root_title"Building Hive Daemon"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id108,516,963
net_rshares0
@beerlover ·
<div class='pull-right'>https://files.peakd.com/file/peakd-hive/beerlover/yiuU6bdf-beerlover20gives20BEER.gif<p><sup><a href='https://hive-engine.com/?p=market&t=BEER'>View or trade </a> <code>BEER</code>.</sup></p></div><center><br> <p>Hey @felixxx, here is a little bit of <code>BEER</code> from @manniman for you. Enjoy it!</p> <p>Learn how to <a href='https://peakd.com/beer/@beerlover/what-is-proof-of-stake-with-beer'>earn <b>FREE BEER</b> each day </a> by staking your <code>BEER</code>.</p> </center><div></div>
properties (22)
authorbeerlover
permlinkre-felixxx-re-manniman-r423jd-20211213t135050786z
categoryhive-dev
json_metadata{"app":"beerlover/2.0"}
created2021-12-13 13:50:51
last_update2021-12-13 13:50:51
depth3
children0
last_payout2021-12-20 13:50:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length520
author_reputation25,787,219,315,076
root_title"Building Hive Daemon"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id108,517,124
net_rshares0
@manniman ·
Will be very interesting to read. Most people do accept free beer bribe, I heard in a shady discord room once !BEER
properties (22)
authormanniman
permlinkre-felixxx-r423qu
categoryhive-dev
json_metadata{"tags":["hive-dev"],"app":"peakd/2021.09.1"}
created2021-12-13 13:49:45
last_update2021-12-13 13:49:45
depth3
children0
last_payout2021-12-20 13:49:45
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length115
author_reputation77,790,724,868,389
root_title"Building Hive Daemon"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id108,517,087
net_rshares0
@manuel6 ·
Wow this is Great..I will comeback to this when I'm free 
properties (22)
authormanuel6
permlinkre-felixxx-r4227o
categoryhive-dev
json_metadata{"tags":["hive-dev"],"app":"peakd/2021.09.1"}
created2021-12-13 13:16:39
last_update2021-12-13 13:16:39
depth1
children1
last_payout2021-12-20 13:16:39
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length57
author_reputation2,265,236,972,658
root_title"Building Hive Daemon"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id108,516,210
net_rshares0
@felixxx ·
I would not recommend running a witness node like I am trying.

However, if you need help, find me on Discord.
properties (22)
authorfelixxx
permlinkre-manuel6-r422jj
categoryhive-dev
json_metadata{"tags":["hive-dev"],"app":"peakd/2021.09.1"}
created2021-12-13 13:23:45
last_update2021-12-13 13:23:45
depth2
children0
last_payout2021-12-20 13:23:45
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length110
author_reputation216,857,010,235,126
root_title"Building Hive Daemon"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id108,516,358
net_rshares0
@readthisplease ·
Reading stuff about witness and setting nodes get me confused. I will like to understand stuff about nodes, do I need to be an IT expert to understand? Or there are tutorials for newbies I can watch 
properties (22)
authorreadthisplease
permlinkre-felixxx-r4243o
categoryhive-dev
json_metadata{"tags":["hive-dev"],"app":"peakd/2021.09.1"}
created2021-12-13 13:57:24
last_update2021-12-13 13:57:24
depth1
children2
last_payout2021-12-20 13:57:24
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length199
author_reputation728,843,737,129,477
root_title"Building Hive Daemon"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id108,517,307
net_rshares0
@felixxx ·
No, you do not have to be an expert to learn something about it.

I do not know where to start, though and would recommend looking for a Bitcoin node tutorial/ explanation first. Bitcoin has seed nodes, too.

If you want to run and operate your own nodes, the path might be long, depending on where you are at now.
properties (22)
authorfelixxx
permlinkre-readthisplease-r42aw8
categoryhive-dev
json_metadata{"tags":["hive-dev"],"app":"peakd/2021.09.1"}
created2021-12-13 16:24:12
last_update2021-12-13 16:24:12
depth2
children1
last_payout2021-12-20 16:24:12
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length314
author_reputation216,857,010,235,126
root_title"Building Hive Daemon"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id108,521,119
net_rshares0
@readthisplease ·
Alright thanks a lot . I will look into that 
properties (22)
authorreadthisplease
permlinkre-felixxx-20211213t175228802z
categoryhive-dev
json_metadata{"tags":["hive-dev"],"app":"ecency/3.0.20-vision","format":"markdown+html"}
created2021-12-13 16:52:30
last_update2021-12-13 16:52:30
depth3
children0
last_payout2021-12-20 16:52:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length45
author_reputation728,843,737,129,477
root_title"Building Hive Daemon"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id108,521,787
net_rshares0
@stayoutoftherz ·
I am an IT "retard" as you say, but was also thinking about running a node. 
But seems there will be no way for me, if the tutorials are not suited for newbs like me. Pity, because the more nodes, the better, right?
properties (22)
authorstayoutoftherz
permlinkre-felixxx-20211213t141249849z
categoryhive-dev
json_metadata{"tags":["hive-dev","dev","hive"],"app":"ecency/3.0.20-vision","format":"markdown+html"}
created2021-12-13 13:12:48
last_update2021-12-13 13:12:48
depth1
children9
last_payout2021-12-20 13:12:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length215
author_reputation1,327,452,192,324,207
root_title"Building Hive Daemon"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id108,516,112
net_rshares0
@felixxx ·
To be fair, if you have no clue what you are doing at all, there is little point in operating a witness node in the first place, as the main job of a witness really is keeping Hive intact.

I only started because there were witnesses in high ranks, who publicly displayed their own incompetence and I thought: I can at least learn and at least would do something productive with the rewards.

I quit, when I saw enough witnesses to vote for, who actually knew what they were doing.

Today, I see the same problem again, so I will step up again.
___

Übrigens dachte ich du ignorierst mich seit ich arcange für dreistes Votekaufen geflaggt hatte. Etwas wofür halt jeder Neuling direkt schwer auf den Deckel gekriegt hätte...

Hast mich aber anscheinend überlesen und ich hab das falsch gedeutet. 

Gruß
properties (22)
authorfelixxx
permlinkre-stayoutoftherz-r422gj
categoryhive-dev
json_metadata{"tags":["hive-dev"],"app":"peakd/2021.09.1"}
created2021-12-13 13:21:57
last_update2021-12-13 13:21:57
depth2
children7
last_payout2021-12-20 13:21:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length801
author_reputation216,857,010,235,126
root_title"Building Hive Daemon"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id108,516,320
net_rshares0
@stayoutoftherz ·
I once heard it should be possible to do this even without an IT background. But anyway.

Ich bin nicht so nachtragend, bin ja außerdem mit arcange nicht befreundet, und votekaufen ist ja auch nicht OK.
properties (22)
authorstayoutoftherz
permlinkre-felixxx-20211213t143257747z
categoryhive-dev
json_metadata{"tags":["hive-dev"],"app":"ecency/3.0.20-vision","format":"markdown+html"}
created2021-12-13 13:32:57
last_update2021-12-13 13:32:57
depth3
children6
last_payout2021-12-20 13:32:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length202
author_reputation1,327,452,192,324,207
root_title"Building Hive Daemon"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id108,516,611
net_rshares0
@woelfchen ·
$0.24
Mit Docker solltest du easy ne node aufsetzen können.

Läuft ja dann quasi alles von alleine ^^

Über felixxx' Weg wird es wohl nicht so einfach.

Darum geht es ja eben gerade.

Und gleichzeitig ums Prinzip. 
👍  
properties (23)
authorwoelfchen
permlinkre-stayoutoftherz-20211213t142639840z
categoryhive-dev
json_metadata{"tags":["hive-dev","dev","hive"],"app":"ecency/3.0.23-mobile","format":"markdown+html"}
created2021-12-13 13:26:39
last_update2021-12-13 13:26:39
depth2
children0
last_payout2021-12-20 13:26:39
cashout_time1969-12-31 23:59:59
total_payout_value0.120 HBD
curator_payout_value0.120 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length208
author_reputation233,460,844,247,863
root_title"Building Hive Daemon"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id108,516,445
net_rshares124,139,659,660
author_curate_reward""
vote details (1)
@xplosive ·
Until I had a working PC/laptop, I also used Ubuntu. It is one of the most user-friendly Linux distributions. Yes. It is also good for desktop, not/just only for servers. I started using Ubuntu in 2007 or in 2008. I am using the Ubuntu.hu forums since 2009.04.22. A lot of development happened since then. Linux is easy-to-use nowadays.

By the way, good luck and all the best with your Hive witness node. And with everything else too.

Greetings from Hungary.
properties (22)
authorxplosive
permlinkre-felixxx-20211213t144228758z
categoryhive-dev
json_metadata{"tags":["hive-dev","dev","hive"],"app":"ecency/3.0.23-mobile","format":"markdown+html"}
created2021-12-13 13:42:30
last_update2021-12-13 13:42:30
depth1
children3
last_payout2021-12-20 13:42:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length460
author_reputation207,809,810,230,077
root_title"Building Hive Daemon"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id108,516,897
net_rshares0
@felixxx ·
Since I want to play a game once in a while, the PC I am normally at is running Windows. 
Also, I do not find Ubuntu easy to use, as I have a hard time with driver support for any of my hardware.
I just want shit to work and not spend my time in forums.
properties (22)
authorfelixxx
permlinkre-xplosive-r42fnh
categoryhive-dev
json_metadata{"tags":["hive-dev"],"app":"peakd/2021.09.1"}
created2021-12-13 18:06:54
last_update2021-12-13 18:06:54
depth2
children2
last_payout2021-12-20 18:06:54
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length253
author_reputation216,857,010,235,126
root_title"Building Hive Daemon"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id108,523,745
net_rshares0
@xplosive ·
> Since I want to play a game once in a while, the PC I am normally at is running Windows.

You can run many Windows games on Linux with Wine/Lutris, and more and more games have a native Linux version too. Even Steam has a native Linux version.

> Also, I do not find Ubuntu easy to use, as I have a hard time with driver support for any of my hardware.

That can be an issue in some cases, but many hardware work out of the box.

> I just want shit to work and not spend my time in forums.

Nowadays you really do not have to spend a lot of time on forums to make things work.
properties (22)
authorxplosive
permlinkre-felixxx-20211213t1919365z
categoryhive-dev
json_metadata{"tags":["hive-dev"],"app":"ecency/3.0.23-mobile","format":"markdown+html"}
created2021-12-13 18:19:36
last_update2021-12-13 18:19:36
depth3
children1
last_payout2021-12-20 18:19:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length578
author_reputation207,809,810,230,077
root_title"Building Hive Daemon"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id108,524,050
net_rshares0