wificoin solo 教程---ubuntu

1

sudo apt-get install software-properties-common

sudo add-apt-repository ppa:bitcoin/bitcoin

sudo apt-get update

2

sudo apt-get install build-essential libtool autotools-dev autoconf pkg-config libssl-dev libevent-dev

sudo apt-get install libboost-all-dev

sudo apt-get install libdb4.8-dev libdb4.8++-dev

sudo apt-get install libminiupnpc-dev

sudo apt-get install libprotobuf-dev protobuf-compiler

sudo apt-get install libqrencode-dev

3

for minerd

sudo apt-get install libcurl4-openssl-dev

sudo apt-get install libjansson-dev

4

git clone [https://github.com/wificoin-project/wificoin](https://github.com/wificoin-project/wificoin)

./autogen.sh

./configure

make

git clone [https://github.com/wificoin-project/wifiminer](https://github.com/wificoin-project/wifiminer)

./autogen.sh

./configure

make

5

cd wificoin/src/

./wificoind

cd ~/.wificoin

gedit wificoin.conf (在配置文件添加以下四行)

server=1
rpcport=9665
rpcuser=test
rpcpassword=admin

6

cd wificoin/src/

./wificoind -daemon (后台运行钱包)

ps -aux|grep wificoind (查看wificoind 是否运行)

./wificoin-cli getdifficulty (查看钱包是否运行正常)

7

cd wifiminer/

./minerd -a sha256d --benchmark (测试运行环境)

./minerd -o [http://localhost:9665](http://localhost:9665/) -u test -p admin --no-getwork  -a sha256d --coinbase-addr=**19zWRGbrodCHsDaCmLbogt5skw6RsEbMRw** (修改为自己的钱包地址)

Ps:ubuntu 15.10 sudo apt-get update返回404 建议使用ubuntu 16.04以上版本

你可能感兴趣的:(wificoin solo 教程---ubuntu)