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
46913e60
Commit
46913e60
authored
Oct 26, 2023
by
Joab Bremer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update install_unifi.sh
parent
4135ea13
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
install_unifi.sh
install_unifi.sh
+5
-0
No files found.
install_unifi.sh
View file @
46913e60
...
...
@@ -9,6 +9,9 @@ NC='\033[0m' # No Color
disable_selinux
(){
sed
-i
/etc/selinux/config
-r
-e
's/^SELINUX=.*/SELINUX=disabled/g'
}
stoping_service
(){
/usr/bin/systemctl stop unifi
}
install_components
(){
#yum -q -y install epel-release java-1.8.0-openjdk unzip wget
yum
-q
-y
install
java-11-openjdk-devel epel-release unzip wget
...
...
@@ -74,6 +77,8 @@ echo -e "${RED}Instalando MongoDB${NC}"
install_mongo
echo
-e
"
${
RED
}
Criando Usuário
${
NC
}
"
creating_user
echo
-e
"
${
RED
}
Parando UniFi Antigo
${
NC
}
"
stoping_service
echo
-e
"
${
RED
}
Instalando UniFi
${
NC
}
"
install_unifi
echo
-e
"
${
RED
}
Configurando serviço
${
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