create account

A virtual machine box with compiled steem source code by feelapi

View this thread on: hive.blogpeakd.comecency.com
· @feelapi · (edited)
$158.55
A virtual machine box with compiled steem source code
These days, I'm very excited to play on steemit.com. As a developer, it's natural to check the source code of steem. But I was frustrated when I can not compile the code.

I think it's not just me. Many of you want to get a compiled version in your machine. After many time that switch between different version of Ubuntu, boost and other libraryies I failed. Then I found this post(in Chinese) [Ubuntu 下 Steem 编译教程](https://steemit.com/cn/@abit/ubuntu-steem). Wow. I make it. After half an hour, I got a compiled version of STEEM!

But this is not enough. I wanna share my experience to help more developers. So I decided to create Vagrant Box, which you  can use it freely on many operation systems, windows, mac, ...etc.

I create a github project:[steem.vagrant](https://github.com/feelapi/steem.vagrant). You can use it to create the box from scratch, or you can use the [cooked box](https://atlas.hashicorp.com/feelapi/boxes/steembox/).

## About Vagrant Box

![vagrant logo](https://www.hashicorp.com/images/blog/a-new-look-for-vagrant/logo_wide-fbb6c6e8.png)

If you know it, please skip to next part. 

[Vagarant](https://www.vagrantup.com) is a great software. It is a computer software that creates and configures virtual development environments([from wikipedia.org](https://en.wikipedia.org/wiki/Vagrant_(software))).

[This tutorial](https://www.vagrantup.com/docs/getting-started/)  is a good start point to learn vagrant. 

## Steem.Vagrant project.

The box is based on virtualbox 5.0. And also you need vagrant 1.8.5.  Here are two options: 

### Option 1: Setup your own box

This is for advanced user who need to make their own box and add more features.

* git clone https://github.com/feelapi/steem.vagrant.git vm
* cd vm
* vagrant up

### Option 2: Cooked box

This option for busy developers, who can use the virtual machine immediately. The box will be downloaded from [https://atlas.hashicorp.com/](https://atlas.hashicorp.com/). It may be time consuming because the box is almost 900M bytes.

* mkdir vm
* vagrant init feelapi/steembox
* vagrant up

### Next

Now you have a virtual machine that can run a steem node. Many things you can do:

* [Step by step instructions to start a private testnet](https://steem.io/documentation/how-to-start-a-testnet/)
* [interact with wallet over JSON-RPC](https://steem.io/documentation/how-use-wallet-via-json-rpc-over-http/)
* anything you like!

![codeb4fd3.jpg](https://www.steemimg.com/images/2016/07/27/codeb4fd3.jpg)

Thanks [steemit.com/@abit](https://steemit.com/@abit) for your post. Any comments are welcome.
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 57 others
properties (23)
authorfeelapi
permlinka-virtual-machine-box-with-compiled-steem-source-code
categorysteemit
json_metadata{"tags":["steemit","cn"],"links":["https://steemit.com/cn/@abit/ubuntu-steem"]}
created2016-07-27 14:35:21
last_update2016-07-27 15:11:18
depth0
children18
last_payout2016-08-27 08:31:27
cashout_time1969-12-31 23:59:59
total_payout_value125.741 HBD
curator_payout_value32.805 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length2,585
author_reputation2,302,739,245,435
root_title"A virtual machine box with compiled steem source code"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id405,511
net_rshares15,979,970,194,976
author_curate_reward""
vote details (121)
@austinemario ·
Your works are great
properties (22)
authoraustinemario
permlinkre-feelapi-a-virtual-machine-box-with-compiled-steem-source-code-20180206t091117014z
categorysteemit
json_metadata{"tags":["steemit"],"app":"steemit/0.1"}
created2018-02-06 09:10:54
last_update2018-02-06 09:10:54
depth1
children0
last_payout2018-02-13 09:10: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_length20
author_reputation228,376,365
root_title"A virtual machine box with compiled steem source code"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id35,357,019
net_rshares0
@bison015 · (edited)
Keep up the good work!
👍  
👎  
properties (23)
authorbison015
permlinka-virtual-machine-box-with-compiled-steem-source-code
categorysteemit
json_metadata""
created2016-07-27 14:40:51
last_update2016-07-27 15:12:06
depth1
children0
last_payout2016-08-27 08:31:27
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_length22
author_reputation-627,355,102,330
root_title"A virtual machine box with compiled steem source code"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id405,712
net_rshares-21,916,711,833
author_curate_reward""
vote details (2)
@cabi5boh ·
Vagrant is really cool. I loaded your box image and I am running it now! All after a few minutes.

What is the use for it, though? I cannot vote for hardforks or have any control on the blockchain. Steemit is quite semi-centralized (and it makes sense that it is).
👍  
properties (23)
authorcabi5boh
permlinkre-feelapi-a-virtual-machine-box-with-compiled-steem-source-code-20160727t145419890z
categorysteemit
json_metadata{"tags":["steemit"]}
created2016-07-27 14:54:21
last_update2016-07-27 14:54:21
depth1
children2
last_payout2016-08-27 08:31:27
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_length264
author_reputation634,191,438,766
root_title"A virtual machine box with compiled steem source code"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id406,145
net_rshares242,424,264
author_curate_reward""
vote details (1)
@feelapi ·
It's a development box. You can use this node for some testing project. Such as create a special web portal for  one tag, such as steemit.
👍  
properties (23)
authorfeelapi
permlinkre-cabi5boh-re-feelapi-a-virtual-machine-box-with-compiled-steem-source-code-20160727t160448102z
categorysteemit
json_metadata{"tags":["steemit"]}
created2016-07-27 16:04:45
last_update2016-07-27 16:04:45
depth2
children1
last_payout2016-08-27 08:31:27
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_length138
author_reputation2,302,739,245,435
root_title"A virtual machine box with compiled steem source code"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id408,064
net_rshares242,424,264
author_curate_reward""
vote details (1)
@cabi5boh ·
Mmm. Ok, testing, sure. Probably not for now, but I may get interested in a future.

Thanks!
👍  
properties (23)
authorcabi5boh
permlinkre-feelapi-re-cabi5boh-re-feelapi-a-virtual-machine-box-with-compiled-steem-source-code-20160727t193158728z
categorysteemit
json_metadata{"tags":["steemit"]}
created2016-07-27 19:32:00
last_update2016-07-27 19:32:00
depth3
children0
last_payout2016-08-27 08:31:27
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_length92
author_reputation634,191,438,766
root_title"A virtual machine box with compiled steem source code"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id413,710
net_rshares242,424,264
author_curate_reward""
vote details (1)
@cryptobarry ·
I'm pleased to see more and more submissions like this. I'm going to attempt this. Thanks.
properties (22)
authorcryptobarry
permlinkre-feelapi-a-virtual-machine-box-with-compiled-steem-source-code-20160727t143906858z
categorysteemit
json_metadata{"tags":["steemit"]}
created2016-07-27 14:39:00
last_update2016-07-27 14:39:00
depth1
children1
last_payout2016-08-27 08:31:27
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_length90
author_reputation4,967,488,810,714
root_title"A virtual machine box with compiled steem source code"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id405,649
net_rshares0
@feelapi ·
welcome.
properties (22)
authorfeelapi
permlinkre-cryptobarry-re-feelapi-a-virtual-machine-box-with-compiled-steem-source-code-20160727t144320828z
categorysteemit
json_metadata{"tags":["steemit"]}
created2016-07-27 14:43:21
last_update2016-07-27 14:43:21
depth2
children0
last_payout2016-08-27 08:31:27
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_length8
author_reputation2,302,739,245,435
root_title"A virtual machine box with compiled steem source code"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id405,813
net_rshares0
@eric-boucher ·
$0.15
Thanks for your work.  Namaste   :)
👍  
properties (23)
authoreric-boucher
permlinkre-feelapi-a-virtual-machine-box-with-compiled-steem-source-code-20160727t182130315z
categorysteemit
json_metadata{"tags":["steemit"]}
created2016-07-27 18:21:30
last_update2016-07-27 18:21:30
depth1
children0
last_payout2016-08-27 08:31:27
cashout_time1969-12-31 23:59:59
total_payout_value0.147 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length35
author_reputation68,503,601,066,539
root_title"A virtual machine box with compiled steem source code"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id411,757
net_rshares73,524,470,910
author_curate_reward""
vote details (1)
@ethbull ·
Good Read , thanks for your work .. much appreciated !
https://httpsimage.com/img/steemitWhale.png 
You need some Upvotes
properties (22)
authorethbull
permlinkre-feelapi-a-virtual-machine-box-with-compiled-steem-source-code-20160727t191126359z
categorysteemit
json_metadata{"tags":["steemit"],"image":["https://httpsimage.com/img/steemitWhale.png"]}
created2016-07-27 19:11:27
last_update2016-07-27 19:11:27
depth1
children0
last_payout2016-08-27 08:31:27
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_length121
author_reputation2,563,067,628,265
root_title"A virtual machine box with compiled steem source code"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id413,121
net_rshares0
@holzmichl ·
Good job, will try it out later.
👍  
properties (23)
authorholzmichl
permlinkre-feelapi-a-virtual-machine-box-with-compiled-steem-source-code-20160727t143641223z
categorysteemit
json_metadata{"tags":["steemit"]}
created2016-07-27 14:36:42
last_update2016-07-27 14:36:42
depth1
children0
last_payout2016-08-27 08:31:27
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_length32
author_reputation234,379,829,569
root_title"A virtual machine box with compiled steem source code"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id405,550
net_rshares2,217,370,289
author_curate_reward""
vote details (1)
@mynameisbrian ·
This is great! I'll definitely be playing with it when I have time. Thanks.
properties (22)
authormynameisbrian
permlinkre-feelapi-a-virtual-machine-box-with-compiled-steem-source-code-20160727t234841053z
categorysteemit
json_metadata{"tags":["steemit"]}
created2016-07-27 23:48:42
last_update2016-07-27 23:48:42
depth1
children0
last_payout2016-08-27 08:31:27
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_length75
author_reputation240,435,296,742,600
root_title"A virtual machine box with compiled steem source code"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id419,897
net_rshares0
@somebody ·
~/vm$ vagrant up
-bash: vagrant: command not found
properties (22)
authorsomebody
permlinkre-feelapi-a-virtual-machine-box-with-compiled-steem-source-code-20160727t145451548z
categorysteemit
json_metadata{"tags":["steemit"]}
created2016-07-27 14:54:54
last_update2016-07-27 14:54:54
depth1
children3
last_payout2016-08-27 08:31:27
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_length50
author_reputation6,042,026,377,398
root_title"A virtual machine box with compiled steem source code"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id406,157
net_rshares0
@feelapi ·
You have to install vagrant at www.vagrantup.com first. For now, they provide Mac, Windows, Debian and Centos. And also you need virtualbox 5.0. But on windows, vagrant up will install virtualbox automatically.
properties (22)
authorfeelapi
permlinkre-somebody-re-feelapi-a-virtual-machine-box-with-compiled-steem-source-code-20160727t145848202z
categorysteemit
json_metadata{"tags":["steemit"]}
created2016-07-27 14:58:48
last_update2016-07-27 14:58:48
depth2
children0
last_payout2016-08-27 08:31:27
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_length210
author_reputation2,302,739,245,435
root_title"A virtual machine box with compiled steem source code"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id406,253
net_rshares0
@somebody ·
I just see setup.sh. Did you miss some steps?
properties (22)
authorsomebody
permlinkre-somebody-re-feelapi-a-virtual-machine-box-with-compiled-steem-source-code-20160727t145901787z
categorysteemit
json_metadata{"tags":["steemit"]}
created2016-07-27 14:59:03
last_update2016-07-27 14:59:03
depth2
children1
last_payout2016-08-27 08:31:27
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_reputation6,042,026,377,398
root_title"A virtual machine box with compiled steem source code"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id406,260
net_rshares0
@feelapi · (edited)
en, I think I do not make it clear. the setup.sh is a script that create the box(steembox) from the standard Ubuntu box. If you setup vagrant and virtualbox, you can use the steembox directly, which means you do not need to create it by your self. What you need to do is vagrant init feelapi/steembox then the box will be downloaded(would be slow because it's almost 900M bytes).
properties (22)
authorfeelapi
permlinkre-somebody-re-somebody-re-feelapi-a-virtual-machine-box-with-compiled-steem-source-code-20160727t150643239z
categorysteemit
json_metadata{"tags":["steemit"]}
created2016-07-27 15:06:42
last_update2016-07-27 15:07:21
depth3
children0
last_payout2016-08-27 08:31:27
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_length379
author_reputation2,302,739,245,435
root_title"A virtual machine box with compiled steem source code"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id406,463
net_rshares0
@xianjun ·
Excellent! Very good share.
properties (22)
authorxianjun
permlinkre-feelapi-a-virtual-machine-box-with-compiled-steem-source-code-20160727t150946354z
categorysteemit
json_metadata{"tags":["steemit"]}
created2016-07-27 15:09:54
last_update2016-07-27 15:09:54
depth1
children0
last_payout2016-08-27 08:31:27
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_length27
author_reputation4,271,112,481,162
root_title"A virtual machine box with compiled steem source code"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id406,533
net_rshares0
@xiaohui ·
Great job
properties (22)
authorxiaohui
permlinkre-feelapi-a-virtual-machine-box-with-compiled-steem-source-code-20160727t221337011z
categorysteemit
json_metadata{"tags":["steemit"]}
created2016-07-27 22:14:39
last_update2016-07-27 22:14:39
depth1
children0
last_payout2016-08-27 08:31:27
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_length9
author_reputation47,820,660,266,221
root_title"A virtual machine box with compiled steem source code"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id417,555
net_rshares0
@xiaohui · (edited)
$0.02
Thank you for your great work. :) I am compiling the steem on Ubuntu now.
👍  
properties (23)
authorxiaohui
permlinkre-feelapi-a-virtual-machine-box-with-compiled-steem-source-code-20160728t062953244z
categorysteemit
json_metadata{"tags":["steemit"]}
created2016-07-28 06:30:27
last_update2016-07-28 06:31:24
depth1
children0
last_payout2016-08-27 08:31:27
cashout_time1969-12-31 23:59:59
total_payout_value0.020 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length73
author_reputation47,820,660,266,221
root_title"A virtual machine box with compiled steem source code"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id427,600
net_rshares11,389,499,000
author_curate_reward""
vote details (1)