这是本文档旧的修订版!
====== 在Debian 7下编译twister ====== ===== 安装所需工具 ===== <code> sudo apt-get update sudo apt-get install build-essential libboost-all-dev \ libdb++-dev libminiupnpc-dev libtool libssl-dev autoconf git </code> ===== 获得和安装twister ===== ==== twister 守护进程 ==== <code> mkdir ~/twister cd ~/twister git clone https://github.com/miguelfreitas/twister-core.git git clone https://github.com/miguelfreitas/twister-html.git cd twister-core ./autotool.sh ./configure make </code> ==== twister html ==== <code> mkdir ~/.twister cd ~/.twister git clone https://github.com/miguelfreitas/twister-html.git html </code> ==== 配置 ==== <code> echo -e "rpcuser=user\nrpcpassword=pwd" > ~/.twister/twister.conf chmod 600 ~/.twister/twister.conf </code> ===== 开启twister守护进程 ===== <code> ./twisterd -daemon -rpcallowip=127.0.0.1 </code> ===== 使用twister ===== 使用您的浏览器,打开 http://127.0.0.1:28332/index.html ===== 更新版本 ===== <code> cd ~/twister/twister-core git pull ./autotool.sh ./configure make </code> <code> cd ~/.twister/html git pull </code>