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

Server-Setup.md 794B

12345678910111213141516171819202122
  1. ### Setup of https://btc-explorer.com on Ubuntu 16.04
  2. apt update
  3. apt upgrade
  4. apt install git python-software-properties software-properties-common nginx
  5. curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
  6. npm install pm2 --global
  7. add-apt-repository ppa:certbot/certbot
  8. apt update
  9. apt upgrade
  10. apt install python-certbot-nginx
  11. Copy content from [./btc-explorer.com.conf](./btc-explorer.com.conf) into `/etc/nginx/sites-available/btc-explorer.com.conf`
  12. certbot --nginx -d btc-explorer.com
  13. cd /etc/ssl/certs
  14. openssl dhparam -out dhparam.pem 4096
  15. cd /home/bitcoin
  16. git clone https://github.com/janoside/btc-rpc-explorer.git
  17. cd /home/bitcoin/btc-rpc-explorer
  18. npm install
  19. pm2 start bin/www --name "btc-rpc-explorer"