Laurent Raufaste
11 years ago
1 changed files with 20 additions and 36 deletions
@ -1,42 +1,26 @@ |
|||||||
Ubuntu / Debian building instructions |
# Ubuntu / Debian building instructions |
||||||
==================================== |
|
||||||
|
|
||||||
### Install: |
## Install |
||||||
|
|
||||||
1) sudo apt-get update |
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 |
||||||
|
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 |
||||||
|
|
||||||
2) sudo apt-get install build-essential libssl-dev libboost-all-dev libdb4.8-dev libdb++-dev libminiupnpc-dev git openssl |
## Configuration & web gui |
||||||
|
|
||||||
3) git clone https://github.com/miguelfreitas/twister-core.git |
1. mkdir ~/.twister |
||||||
|
1. echo -e "rpcuser=user\nrpcpassword=pwd" > ~/.twister/twister.conf |
||||||
|
1. chmod 600 ~/.twister/twister.conf |
||||||
|
1. git clone https://github.com:miguelfreitas/twister-html.git ~/.twister/html |
||||||
|
|
||||||
4) cd twister-core |
## Start |
||||||
|
|
||||||
5) cd libtorrent |
1. cd twister-core/src |
||||||
|
1. ./twisterd -rpcuser=user -rpcpassword=pwd |
||||||
6) ./bootstrap.sh |
1. Open http://127.0.0.1:28332/index.html and use the user/pwd credentials |
||||||
|
1. Create your account ! |
||||||
7) ./configure --enable-logging --enable-debug --enable-dht |
|
||||||
|
|
||||||
8) make if you have multi-core CPU use -j N where n = cpu cores |
|
||||||
|
|
||||||
9) cd ../ |
|
||||||
|
|
||||||
10) cd src |
|
||||||
|
|
||||||
11) make -f makefile.unix |
|
||||||
|
|
||||||
### Configure & web gui: |
|
||||||
1) echo -e "rpcuser=user\nrpcpassword=pwd" > "/home/${USER}/.twister/twister.conf" |
|
||||||
|
|
||||||
2) chmod 600 "/home/${USER}/.twister/twister.conf" |
|
||||||
|
|
||||||
3) cd /home/${USER}/.twister/ |
|
||||||
|
|
||||||
4) git clone git@github.com:miguelfreitas/twister-html.git ./html |
|
||||||
|
|
||||||
### 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 |
|
||||||
|
Loading…
Reference in new issue