-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
238 additions
and
160 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
|
||
``` | ||
cd /opt/eos | ||
git pull | ||
git checkout dawn-v4.1.0 | ||
git submodule update --recursive | ||
# Change token name | ||
ex -sc '16i|set( CORE_SYMBOL_NAME "EOS" )' -cx CMakeLists.txt | ||
./eosio_build.sh | ||
build/programs/nodeos/nodeos --version | ||
# should output 3449264167 | ||
# initialize LXD | ||
sudo lxd init | ||
# launch a ubuntu 18.04 container | ||
lxc launch ubuntu:18.04 eos-node | ||
# enter bash | ||
lxc exec eos-node -- /bin/bash | ||
apt update | ||
apt upgrade | ||
# create a user for eos | ||
sudo adduser eos | ||
# complete interactive instructions | ||
sudo usermod -aG sudo eos | ||
mkdir -p /opt/eos | ||
chown eos:eos /opt/eos | ||
# exit the lxd container | ||
exit | ||
# copy nodeos binary | ||
lxc file push /home/entropia/eos/build/programs/nodeos/nodeos eos-node/opt/eos/nodeos | ||
# test execution on container | ||
lxc exec eos-node -- /opt/eos/nodeos --version | ||
# login on the container | ||
lxc exec eos-node -- su - eos | ||
lxc stop eos-node | ||
wget https://igorls.keybase.pub/lxd-eos-node-d4.1.0.tar.gz | ||
lxc image import lxd-eos-node-d4.1.0.tar.gz | ||
#eos user password: lxceos123 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.