From dd75bdc39dbacef0ee0be5a28b353d93eaef76a4 Mon Sep 17 00:00:00 2001 From: Laurent Raufaste Date: Fri, 10 Jan 2014 00:55:01 -0500 Subject: [PATCH] Fixed the ubuntu building doc Tested on pristine Ubuntu 12.04 LTS and 13.10 --- doc/bulding-on-ubuntu-debian.md | 56 ++++++++++++--------------------- 1 file changed, 20 insertions(+), 36 deletions(-) diff --git a/doc/bulding-on-ubuntu-debian.md b/doc/bulding-on-ubuntu-debian.md index e5a1b8bb..e66cf22f 100644 --- a/doc/bulding-on-ubuntu-debian.md +++ b/doc/bulding-on-ubuntu-debian.md @@ -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 - -6) ./bootstrap.sh - -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 +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 !