Skip to content

Instantly share code, notes, and snippets.

@cryptozeny
Last active November 15, 2018 00:25
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cryptozeny/9d279e30051c92b86374dc3806e53a20 to your computer and use it in GitHub Desktop.
Save cryptozeny/9d279e30051c92b86374dc3806e53a20 to your computer and use it in GitHub Desktop.
TOSC-v1.1.0

디펜던시 및 빌드

# dependencies \
\
sudo apt-get install -y git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties libffi-dev libboost-all-dev libdb5.3-dev libdb5.3++-dev libpq-dev libminiupnpc-dev && \
\
# download tosc v1.1.0 \
cd && \
git clone https://github.com/tos-project/TOSC.git TOSC-v1.1.0 && \
cd git checkout v1.1.0 && \
git checkout v1.1.0 && \
cd src && \
\
# build \
chmod +x leveldb/build_detect_platform && #문제해결: 실행권한설정 \
make -f makefile.unix

설정파일 만들기

nano ~/.TosCoin/TosCoin.conf
server=1
whitelist=127.0.0.1
rpcallowip=127.0.0.1
rpcuser=rpcuser
rpcpassword=password
rpcport=24147
listen=0

실행

cd ~/TOSC-v1.1.0/src && \
./TOSd -printtoconsole

실행(데몬)

cd ~/TOSC-v1.1.0/src && \
./TOSd -daemon

종료

killall TOSd

로그확인

tail -f ~/.TosCoin/debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment