Ubuntu下安装IOTE链

更新apt源

# apt-get update
# apt-get upgrade

安装依赖包

安装liboost1.58,否则会报错error while loading shared libraries: libboost-1.58.so: cannot open shared object file: No such file or directory

# apt-get install libboost1.58-all-dev -y

安装libdb4.8,否则会报错:error while loading shared libraries: libdb_cxx-4.8.so: cannot open shared object file: No such file or directory

add-apt-repository ppa:bitcoin/bitcoin
apt update
apt install -y libdb4.8-dev libdb4.8++-dev

 安装libminiupnpc.so.10,否则会报错:error while loading shared libraries: libminiupnpc.so.10: cannot open shared object file: No such file or directory

apt-get install libminiupnpc-dev

安装libminiupnpc.so.10,否则会报错:error while loading shared libraries: libevent_pthreads-2.0.so.5: cannot open shared object file: No such file or directory 

# 下载地址http://libevent.org/
# wget https://github.com/libevent/libevent/releases/download/release-2.0.22-stable/libevent-2.0.22-stable.tar.gz
./configure –prefix=/usr         #配置目录
make
make install

Ubuntu下安装IOTE链_第1张图片

创建目录结构,并解压zip包

# mkdir /data/IOTE/iotedata/ -p
# cd /data/IOTE
# apt-get install unzip
# wget https://www.iote.one/wallet/IoTE-1.49.3-Linux.zip
# unzip IoTE-1.49.3-Linux.zip
# cd IoTE-1.49.3-Linux

 配置启动配置文件

# vim  /data/IOTE/iotedata/iotecoin.conf
datadir=/data/IOTE/iotedata
rpcuser=ioterpc
rpcpassword=XXXXXXXXXXX
server=1
rpcallowip=XXXXX
rpcport=8000
txindex=1

最后启动iote服务

# ./ioted -conf=/data/IOTE/iotedata/iotecoin.conf -daemon

 

你可能感兴趣的:(IOTE,Coin,linux,服务器,区块链)