Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
P
Privatisation_Deploy
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
tianye
Privatisation_Deploy
Commits
e7da080f
Commit
e7da080f
authored
Mar 03, 2022
by
tianye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改配置
parent
a4cf5a3d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
install.sh
Deploy-search-center/install.sh
+2
-2
No files found.
Deploy-search-center/install.sh
View file @
e7da080f
...
@@ -25,7 +25,7 @@ edit_es_info(){
...
@@ -25,7 +25,7 @@ edit_es_info(){
echo
-e
" 即将修改配置...."
echo
-e
" 即将修改配置...."
sleep
2
sleep
2
grep
-A
10
-w
"es:"
${
APP_CONF_DIR
}
/application.yml |
\
grep
-A
10
-w
"es:"
${
APP_CONF_DIR
}
/application.yml |
\
sed
-e
"s#host: .*#host:
${
ES_HOST
}
#g"
\
sed
-
i
-
e
"s#host: .*#host:
${
ES_HOST
}
#g"
\
-e
"s#username: .*#username:
${
ES_USERNAME
}
#g"
\
-e
"s#username: .*#username:
${
ES_USERNAME
}
#g"
\
-e
"s#password: .*#password:
${
ES_PASSWORD
}
#g"
\
-e
"s#password: .*#password:
${
ES_PASSWORD
}
#g"
\
-e
"s#httpPort: .*#httpPort:
${
ES_HTTP_PORT
}
#g"
\
-e
"s#httpPort: .*#httpPort:
${
ES_HTTP_PORT
}
#g"
\
...
@@ -37,7 +37,7 @@ edit_mq_info(){
...
@@ -37,7 +37,7 @@ edit_mq_info(){
echo
-e
" 即将修改配置...."
echo
-e
" 即将修改配置...."
sleep
2
sleep
2
grep
-A
6
-w
"rabbitmq:"
${
APP_CONF_DIR
}
/application.yml |
\
grep
-A
6
-w
"rabbitmq:"
${
APP_CONF_DIR
}
/application.yml |
\
sed
-e
"s#host: .*#host:
${
MQ_HOST
}
#g"
\
sed
-
i
-
e
"s#host: .*#host:
${
MQ_HOST
}
#g"
\
-e
"s#username: .*#username:
${
MQ_USERNAME
}
#g"
\
-e
"s#username: .*#username:
${
MQ_USERNAME
}
#g"
\
-e
"s#password: .*#password:
${
MQ_PASSWORD
}
#g"
\
-e
"s#password: .*#password:
${
MQ_PASSWORD
}
#g"
\
-e
"s#virtual-host: .*#virtual-host:
${
MQ_VHOST
}
#g"
-e
"s#virtual-host: .*#virtual-host:
${
MQ_VHOST
}
#g"
...
...
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