Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dm-docs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hammonds
dm-docs
Commits
246b324b
Commit
246b324b
authored
5 years ago
by
hammonds
Browse files
Options
Downloads
Patches
Plain Diff
Added command to remove the listner on http (not https) on port 8080.
This is to remove for security
parent
c7cc3439
No related branches found
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
sbin/dm_configure_web_portal.sh
+3
-0
3 additions, 0 deletions
sbin/dm_configure_web_portal.sh
with
3 additions
and
0 deletions
sbin/dm_configure_web_portal.sh
+
3
−
0
View file @
246b324b
...
@@ -78,6 +78,9 @@ $ASADMIN_CMD create-jdbc-connection-pool --datasourceclassname org.postgresql.ds
...
@@ -78,6 +78,9 @@ $ASADMIN_CMD create-jdbc-connection-pool --datasourceclassname org.postgresql.ds
echo
"Creating JDBC resource
$DM_DATA_SOURCE
"
echo
"Creating JDBC resource
$DM_DATA_SOURCE
"
$ASADMIN_CMD
create-jdbc-resource
--connectionpoolid
${
DM_DB_POOL
}
${
DM_DATA_SOURCE
}
$ASADMIN_CMD
create-jdbc-resource
--connectionpoolid
${
DM_DB_POOL
}
${
DM_DATA_SOURCE
}
# Remove unsecure access on port 8080
$ASADMIN_CMD
delete-http-listener
"http-listener-1"
# test the connection settings
# test the connection settings
echo
"Testing connection"
echo
"Testing connection"
$ASADMIN_CMD
ping-connection-pool
$DM_DB_POOL
||
exit
1
$ASADMIN_CMD
ping-connection-pool
$DM_DB_POOL
||
exit
1
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment