Advertisement
EvenoR

Sonaric Node

Oct 28th, 2024
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.49 KB | None | 0 0
  1. - - - - - 1 - - - - -
  2. sudo apt update -y && sudo apt upgrade -y && \
  3. sudo apt install curl git jq build-essential gcc unzip wget lz4 -y
  4. - - - - - 2 - - - - -
  5. curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
  6. - - - - - 3 - - - - -
  7. export NVM_DIR="$HOME/.nvm"
  8. [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
  9. nvm install 20
  10. nvm use 20
  11. npm install -g npm@latest
  12. - - - - - 4 - - - - -
  13. sh -c "$(curl -fsSL https://raw.githubusercontent.com/monk-io/sonaric-install/main/linux-install-sonaric.sh)"
  14. - - - - - 5 - - - - -
  15. sonaric node-info
  16. - - - - - 6 - - - - -
  17. sonaric run sonaric-gui/latest
  18. - - - - - 7 - - - - -
  19. sonaric ps
  20. - - - - - 8 - - - - -
  21. sonaric points
  22. - - - - - 9 - - - - -
  23. curl -sSL http://get.sonaric.xyz/scripts/register.sh | bash -s -- КОД НОДЫ ТУТ
  24.  
  25. - - - - - UPDATE - - - - -
  26.  
  27. sh -c "$(curl -fsSL http://get.sonaric.xyz/scripts/install.sh)"
  28.  
  29. - - - - - FIX 1 - - - - -
  30.  
  31. . /etc/os-release
  32. sudo sh -c "echo 'deb http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_${VERSION_ID}/ /' > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list"
  33.  
  34. wget -nv https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/xUbuntu_${VERSION_ID}/Release.key -O- | sudo apt-key add -
  35.  
  36. sudo apt update
  37.  
  38. sudo apt -y install podman
  39.  
  40. podman --version
  41.  
  42. - - - - - FIX 2 - - - - -
  43.  
  44. sudo apt-get update
  45.  
  46. sudo apt-get install -y containernetworking-plugins
  47.  
  48. sonaric run sonaric-gui/latest
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement