Last active
August 8, 2018 19:49
-
-
Save edersqo/b3a0f4e2938617dc57c837a68184c5aa to your computer and use it in GitHub Desktop.
Fix hostname value (localhost)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
sed -i 's/host=[^$]\+/host=localhost/' /u01/app/oracle_atg/product/oracle_gs/endeca/CAS/workspace/conf/commandline.properties | |
sed -i 's/DSTOP.KEY=[^$]\+/DSTOP.KEY=localhost/' /u01/app/oracle_atg/product/oracle_gs/endeca/CAS/11.3.0/bin/cas-service-wrapper.conf | |
sed -i 's/DSTOP.KEY=[^$]\+/DSTOP.KEY=localhost/' /u01/app/oracle_atg/product/oracle_gs/endeca/CAS/11.3.0/bin/cas-service.sh | |
sed -i 's/host=[^$]\+/host=localhost/' /u01/app/oracle_atg/product/oracle_gs/endeca/PlatformServices/workspace/conf/eaccmd.properties | |
sed -i 's/cas.server=[^$]\+/cas.server=localhost/' /u01/app/oracle_atg/product/oracle_gs/endeca/ToolsAndFrameworks/11.3.0/server/workspace/conf/casconsole.properties | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment