twister-core/doc/bulding-on-ubuntu-debian.md

27 lines
853 B
Markdown
Raw Normal View History

# Ubuntu / Debian building instructions
2014-01-08 16:28:29 +00:00
## Install
2014-01-08 16:28:29 +00:00
1. sudo apt-get update
1. sudo apt-get install build-essential libssl-dev libboost-all-dev libdb++-dev libminiupnpc-dev git openssl
1. git clone https://github.com/miguelfreitas/twister-core.git
1. cd twister-core/libtorrent
2014-01-14 13:01:35 +00:00
1. ./bootstrap.sh --with-boost-libdir=/usr/lib/x86_64-linux-gnu
1. ./configure --enable-logging --enable-debug --enable-dht
1. cd ../src
1. make -f makefile.unix
2014-01-08 16:28:29 +00:00
## Configuration & web gui
2014-01-08 16:28:29 +00:00
1. mkdir ~/.twister
1. echo -e "rpcuser=user\nrpcpassword=pwd" > ~/.twister/twister.conf
1. chmod 600 ~/.twister/twister.conf
2014-01-14 20:08:25 +00:00
1. git clone https://github.com/miguelfreitas/twister-html.git ~/.twister/html
2014-01-08 16:28:29 +00:00
## Start
2014-01-08 16:28:29 +00:00
1. cd twister-core/src
1. ./twisterd -rpcuser=user -rpcpassword=pwd
1. Open http://127.0.0.1:28332/index.html and use the user/pwd credentials
1. Create your account !