Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
scripts
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
infra
scripts
Commits
76e76869
Commit
76e76869
authored
Oct 26, 2023
by
Joab Bremer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update install_unifi.sh
parent
46913e60
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
install_unifi.sh
install_unifi.sh
+6
-1
No files found.
install_unifi.sh
View file @
76e76869
...
...
@@ -32,10 +32,13 @@ install_mongo(){
creating_user
(){
adduser
-r
-s
/bin/nologin ubnt
}
backup_unifi
(){
cp
-r
/opt/UniFi /opt/UniFi_bkp_
$(
date
+%d%m%Y_%H%M%S
)
}
install_unifi
(){
#wget https://dl.ui.com/unifi/7.3.83/UniFi.unix.zip -P /opt -q
wget https://dl.ui.com/unifi/7.5.187/UniFi.unix.zip
-P
/opt
-q
unzip
-qq
/opt/UniFi.unix.zip
-d
/opt
unzip
-qq
-o
/opt/UniFi.unix.zip
-d
/opt
chown
-R
ubnt:ubnt /opt/UniFi
rm
-rf
/opt/UniFi.unix.zip
}
...
...
@@ -68,6 +71,8 @@ starting_service_unifi(){
}
stty echo
echo
-e
"
${
RED
}
Iniciando Instalação
${
NC
}
"
echo
-e
"
${
RED
}
Fazendo BKP do UNIFI
${
NC
}
"
backup_unifi
echo
-e
"
${
RED
}
Desabilitando SE Linux
${
NC
}
"
disable_selinux
echo
-e
"
${
RED
}
Instalando Componentes
${
NC
}
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment