Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Dgiot
Commits
8e43d27b
Unverified
Commit
8e43d27b
authored
3 years ago
by
dawnwinterLiu
Committed by
GitHub
3 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Update dgiot_install.sh
parent
89fe1db5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dgiot_install.sh
+3
-3
dgiot_install.sh
with
3 additions
and
3 deletions
+3
-3
dgiot_install.sh
+
3
-
3
View file @
8e43d27b
...
...
@@ -109,7 +109,7 @@ fi
# set parameters by default value
verType
=
single
# [single | cluster]
domain_name
=
"prod.iotn2n.com"
#[prod.iotn2n.com | your_domain_name]
dgiot
=
"dgiot_
95
"
#[dgiot_
95
| dgiot_n]
dgiot
=
"dgiot_
102
"
#[dgiot_
102
| dgiot_n]
while
getopts
"h:v:d:s:"
arg
do
case
$arg
in
...
...
@@ -131,7 +131,7 @@ do
domain_name
=
$(
echo
$OPTARG
)
;;
h
)
echo
"Usage:
`
basename
$0
`
-v [single | cluster] -s [dgiot_
95
| dgiot_n] -d [prod.iotn2n.com | your_domain_name]"
echo
"Usage:
`
basename
$0
`
-v [single | cluster] -s [dgiot_
102
| dgiot_n] -d [prod.iotn2n.com | your_domain_name]"
exit
0
;;
?
)
#unknow option
...
...
@@ -348,7 +348,7 @@ function yum_install_postgres() {
echo
-e
"
`
date
+%F_%T
`
$LINENO
:
${
GREEN
}
yum install postgres
${
NC
}
"
yum
install
-y
wget git &> /dev/null
${
csudo
}
yum
install
-y
gcc gcc-c++ epel-release &> /dev/null
${
csudo
}
yum
install
-y
llvm llvm-devel &> /dev/null
#
${csudo} yum install -y llvm llvm-devel &> /dev/null
${
csudo
}
yum
install
-y
clang libicu-devel perl-ExtUtils-Embed &> /dev/null
${
csudo
}
yum
install
-y
readline readline-devel &> /dev/null
${
csudo
}
yum
install
-y
zlib zlib-devel &> /dev/null
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
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
Menu
Projects
Groups
Snippets
Help