Advertisement
Guest User

Untitled

a guest
Jan 19th, 2018
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. #!/bin/bash
  2. #update and install updated packages on system
  3.  
  4. dnf update -y
  5.  
  6. # Install dnf-plugins-core package to provide the commands to manage your dnf repos
  7.  
  8. dnf -y install dnf-plugins-core
  9.  
  10. # Set up the DOcker stable repo
  11.  
  12. dnf config-manager \
  13. --add-repo \
  14. https://download.docker.com/linux/fedora/docker-ce.repo
  15.  
  16. # Install docker
  17.  
  18. dnf install docker-ce
  19.  
  20. #enable docker service at boot
  21.  
  22. # start docker
  23.  
  24. systemctl start docker
  25.  
  26. # create docker group
  27.  
  28. groupadd docker
  29.  
  30. # add user to docker group
  31.  
  32. usermod -aG docker $USER
  33.  
  34. # Install UNMS
  35.  
  36. curl -fsSL https://raw.githubusercontent.com/Ubiquiti-App/UNMS/master/install.sh > /tmp/unms_install.sh && sudo bash /tmp/unms_install.sh
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement