slush

mytrezor-install.sh

May 21st, 2016
84
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2.  
  3. # Switch to root
  4. sudo su
  5.  
  6. # Download mytrezor
  7. # Repeat this everytime you want to update your mytrezor to latest release!
  8. mkdir -p /var/www/
  9. cd /var/www/
  10. wget "https://wallet.mytrezor.com/data/mytrezor-archive.tgz"
  11. tar xf mytrezor-archive.tgz
  12. rm mytrezor-archive.tgz
  13.  
  14. # Install and configure nginx webserver
  15. apt-get install nginx
RAW Paste Data