-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.sh
More file actions
36 lines (20 loc) · 697 Bytes
/
install.sh
File metadata and controls
36 lines (20 loc) · 697 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/bin/bash
# Update and install updated packages on system
dnf update -y
# Install dnf-plugins-core package to provide the commands to manage your dnf repos
dnf -y install dnf-plugins-core
# Set up the Docker stable repo
dnf config-manager -y \
--add-repo \
https://download.docker.com/linux/fedora/docker-ce.repo
# Install docker
dnf install -y docker-ce
#enable docker service at boot
# Start docker
systemctl start docker
# Create docker group
groupadd docker
# add user to docker group
usermod -aG docker $USER
# Install UNMS
curl -fsSL https://raw.githubusercontent.com/Ubiquiti-App/UNMS/master/install.sh > /tmp/unms_install.sh && sudo bash /tmp/unms_install.sh -y