Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qa-deploy-utils
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
QA
qa-deploy-utils
Commits
c47f04cd
Commit
c47f04cd
authored
Jan 10, 2017
by
QA-甘 盛聪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
20480363
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
database_replace_ip.sh
sh-utils/center/database_replace_ip.sh
+7
-0
No files found.
sh-utils/center/database_replace_ip.sh
View file @
c47f04cd
...
...
@@ -61,6 +61,13 @@ sed -i "s/http\:\/\/qapi.xyqb.com/http\:\/\/${server_host}:7014/g" ${database_na
sed
-i
"s/https
\:\/\/
qapi.xyqb.com/http
\:\/\/
${
server_host
}
:7014/g"
${
database_name
}
_
${
mysql_host
}
.sql
sed
-i
"s/http
\:\/\/
mallapi.xyqb.com/http
\:\/\/
${
server_host
}
:7019/g"
${
database_name
}
_
${
mysql_host
}
.sql
sed
-i
"s/https
\:\/\/
mallapi.xyqb.com/http
\:\/\/
${
server_host
}
:7019/g"
${
database_name
}
_
${
mysql_host
}
.sql
sed
-i
"s/http
\:\/\/
scapi.xyqb.com/http
\:\/\/
${
server_host
}
:7021/g"
${
database_name
}
_
${
mysql_host
}
.sql
sed
-i
"s/https
\:\/\/
scapi.xyqb.com/http
\:\/\/
${
server_host
}
:7021/g"
${
database_name
}
_
${
mysql_host
}
.sql
sed
-i
"s/http
\:\/\/
gyxdapi.xyqb.com/http
\:\/\/
${
server_host
}
:7029/g"
${
database_name
}
_
${
mysql_host
}
.sql
sed
-i
"s/https
\:\/\/
gyxdapi.xyqb.com/http
\:\/\/
${
server_host
}
:7029/g"
${
database_name
}
_
${
mysql_host
}
.sql
if
[[
"
${
use_public_ip
}
"
=
true
]]
;
then
echo
"replace private ip to public ip"
...
...
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