2014-01-08 19:28:29 +03:00
|
|
|
Ubuntu / Debian building instructions
|
|
|
|
====================================
|
|
|
|
|
|
|
|
### Install:
|
|
|
|
|
|
|
|
1) sudo apt-get update
|
|
|
|
|
|
|
|
2) sudo apt-get install build-essential libssl-dev libboost-all-dev libdb4.8-dev libdb++-dev libminiupnpc-dev git openssl
|
|
|
|
|
|
|
|
3) git clone https://github.com/miguelfreitas/twister-core.git
|
|
|
|
|
|
|
|
4) cd twister-core
|
|
|
|
|
|
|
|
5) cd libtorrent
|
|
|
|
|
|
|
|
6) ./bootstrap.sh
|
|
|
|
|
|
|
|
7) ./configure --enable-logging --enable-debug --enable-dht
|
|
|
|
|
2014-01-08 20:43:48 +04:00
|
|
|
8) make if you have multi-core CPU use -j N where n = cpu cores
|
2014-01-08 19:28:29 +03:00
|
|
|
|
|
|
|
9) cd ../
|
|
|
|
|
|
|
|
10) cd src
|
|
|
|
|
|
|
|
11) make -f makefile.unix
|
|
|
|
|
|
|
|
### Configure & web gui:
|
2014-01-08 20:43:48 +04:00
|
|
|
1) echo -e "rpcuser=user\nrpcpassword=pwd" > "/home/${USER}/.twister/twister.conf"
|
2014-01-08 19:28:29 +03:00
|
|
|
|
2014-01-08 20:43:48 +04:00
|
|
|
2) chmod 600 "/home/${USER}/.twister/twister.conf"
|
2014-01-08 19:28:29 +03:00
|
|
|
|
2014-01-08 20:43:48 +04:00
|
|
|
3) cd /home/${USER}/.twister/
|
|
|
|
|
|
|
|
4) git clone git@github.com:miguelfreitas/twister-html.git ./html
|
2014-01-08 19:28:29 +03:00
|
|
|
|
|
|
|
### Start
|
|
|
|
1) Go to src folder (on 10 step)
|
|
|
|
|
|
|
|
2) ./twisterd -rpcuser=user -rpcpassword=pwd -rpcallowip=127.0.0.1
|
|
|
|
|
|
|
|
3) Open http://127.0.0.1:28332/home.html
|