您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

794B

Setup of https://btc-explorer.com on Ubuntu 16.04

apt update
apt upgrade
apt install git python-software-properties software-properties-common nginx
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
npm install pm2 --global
add-apt-repository ppa:certbot/certbot
apt update
apt upgrade
apt install python-certbot-nginx

Copy content from ./btc-explorer.com.conf into /etc/nginx/sites-available/btc-explorer.com.conf

certbot --nginx -d btc-explorer.com
cd /etc/ssl/certs
openssl dhparam -out dhparam.pem 4096
cd /home/bitcoin
git clone https://github.com/janoside/btc-rpc-explorer.git
cd /home/bitcoin/btc-rpc-explorer
npm install
pm2 start bin/www --name "btc-rpc-explorer"