https://help.aliyun.com/document_detail/25426.html?spm=a2c4g.11186623.6.610.yemgNN
cd /mnt
wget https://bitcoin.org/bin/bitcoin-core-0.16.1/bitcoin-0.16.1-x86_64-linux-gnu.tar.gz
tar -xzvf bitcoin-0.16.1-x86_64-linux-gnu.tar.gz
mkdir bitcoin
cd bitcoin
vim bitcoin.conf
listen=1
server=1
rpcuser=bitcoinuser
rpcpassword=kmgcB6MKdpXDvcjXeR8nubP9TrRnmtzN
rpcport=7010
rpcallowip=127.0.0.1
nohup /mnt/bitcoin-0.16.1/bin/./bitcoind --datadir=/mnt/bitcoin &
vim start_service.sh
#!/bin/bash
nohup /mnt/bitcoin-0.16.1/bin/./bitcoind --datadir=/mnt/bitcoin --conf=/mnt/bitcoin/bitcoin.conf &
exit 0
sudo chmod +x start_service.sh
sudo mv start_service.sh /etc/init.d/
cd /etc/init.d/
sudo update-rc.d start_service.sh defaults 90