1
sudo apt-get install software-properties-commonsudo add-apt-repository ppa:bitcoin/bitcoinsudo apt-get update复制代码
2
sudo apt-get install build-essential libtool autotools-dev autoconf pkg-config libssl-dev libevent-devsudo apt-get install libboost-all-devsudo apt-get install libdb4.8-dev libdb4.8++-devsudo apt-get install libminiupnpc-devsudo apt-get install libprotobuf-dev protobuf-compilersudo apt-get install libqrencode-dev复制代码
3
for minerd
sudo apt-get install libcurl4-openssl-devsudo apt-get install libjansson-dev复制代码
4
git clone [https://github.com/wificoin-project/wificoin](https://github.com/wificoin-project/wificoin)./autogen.sh./configuremakegit clone [https://github.com/wificoin-project/wifiminer](https://github.com/wificoin-project/wifiminer)./autogen.sh./configuremake复制代码
5
cd wificoin/src/./wificoindcd ~/.wificoingedit wificoin.conf (在配置文件添加以下四行)server=1rpcport=9665rpcuser=testrpcpassword=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以上版本