anton_anon

Mining an Urbit Coming on Digital Ocean

Jan 23rd, 2021 (edited)
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.90 KB | None | 0 0
  1. # How to Self Host a Comet on Digital Ocean
  2.  
  3. [Urbit Instructions](https://urbit.org/using/install/)
  4.  
  5. [Digital Ocean Hosting](https://urbit.org/using/operations/hosting/)
  6.  
  7. **INSTRUCTIONS HERE**
  8.  
  9. 1. Create Digital Ocean account - $100 Free Link - https://m.do.co/c/cd1af03ce428
  10. 2. Create droplet with the following settings:
  11.  
  12. **Image:** Ubuntu 20.04x64
  13.  
  14. **Plan:** 4GB RAM
  15.  
  16. **Authentication:** Password - *create root password*
  17.  
  18. **Choose a hostname:** This can be anything, call it "mycomet"
  19.  
  20. 3. Click into the droplet and `open Console`
  21. 4. login: `root` -- password: `PASSWORDCREATED`
  22. 5. `adduser mycomet` -- *make new password or do same as root, ur choice*
  23.  
  24. *skip all questions*
  25.  
  26. 6. `usermod -aG sudo mycomet`
  27. 7. `rsync --archive --chown=mycomet:mycomet ~/.ssh /home/mycomet`
  28. 8. Check firewall `$ sudo ufw app list`
  29. 9. Configure ufw to allow connections via ssh and to use standard web port
  30.  
  31. `$ sudo ufw allow OpenSSH`
  32.  
  33. `$ sudo ufw allow www`
  34.  
  35. `$ sudo ufw allow 34543/udp`
  36.  
  37. 10. Turn on the firewall `$ sudo ufw enable`
  38. 11. Type `exit` into console
  39. 12. Log in with new user just created
  40. 13. Make directory, install, and permit it to bind to the web port:
  41.  
  42. `$ mkdir urbit`
  43.  
  44. `$ cd urbit`
  45.  
  46. `$ wget --content-disposition https://urbit.org/install/linux64/latest`
  47.  
  48. `$ tar zxf ./linux64.tgz --strip=1`
  49.  
  50. `$ sudo setcap 'cap_net_bind_service=+ep' urbit`
  51.  
  52. 14. Booting the comet `$ ./urbit -c mycomet`
  53.  
  54. When your ship is finished booting, you will see either the ~sampel_marzod:dojo> or ~sampel_marzod:chat-cli/ prompt
  55.  
  56. 15. Mounting your comet `$ |mount %`
  57. 16. Getting your code `$ +code`
  58. 17. Go to web browser and copy paste the digital ocean droplet IP
  59. 18. Enter `code` from dojo into web browser
  60. 19. Close DO console
  61. 20. Click `Join a Group` and enter ~winder-dapsym/urchan
  62.  
  63. **long load is normal**
  64.  
  65. 21. Welcome to freedom
  66.  
  67. # WHEN YOU'RE READY TO PURCHASE A PLANET CONTACT INFO FOR ~NILDYS
Add Comment
Please, Sign In to add comment