Easy install Steemd in Ubuntu Server 16.04 LTS

in steemhelp •  9 years ago  (edited)

sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get install -y git build-essential cmake libssl-dev libboost-all-dev autoconf autotools-dev doxygen libncurses5-dev libreadline-dev libtool screen libicu-dev libbz2-dev graphviz
cd /home/ubuntu
git clone https://github.com/steemit/steem.git
cd steem
git submodule update --init --recursive
cmake .
make
cd /programs/steemd
screen -dmS steemd ./steemd
screen -r steemd
ctrl+A+D to exit screen

Note: If memory is to low to compile.
cmake -DENABLE_CONTENT_PATCHING=OFF -DLOW_MEMORY_NODE=ON CMakeLists.txt

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

You're missing a space in screen -r steemd.

wow. thanx

Loading...
  ·  9 years ago (edited)

I think you meant cd ./programs/steemd

Nope

  ·  9 years ago (edited)

So when you run make it creates a programs directory in your root directory? Not within the steem directory? ... Definitely doesn't happen over here. After fixing that glitch it worked great for me. Thanks for the article btw!

/home/ubuntu/steem/programs/steemd./steemd

  ·  9 years ago (edited)

Yes. And you would be in /home/ubuntu/steem ... so ./programs/steemd definitely exists from that location. /programs/steemd would imply (root_dir)/programs/steemd

Therefor, yes, you meant ./programs/steemd
or cd programs then cd steemd
or cd /home/ubuntu/steem/programs/steemd (not ideal for your snippet however since people are likely installing from a more secure user directory, but that's a moot point)

But he was not starting instance to be ./something, he was entering directory with cd /programs so he did nothing wrong :)

Does this still work?