We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 668a2ae commit bbe6cf6Copy full SHA for bbe6cf6
entrypoint.sh
@@ -7,6 +7,10 @@ ln -s /u01/app/oracle-product /u01/app/oracle/product
7
# Update hostname
8
sed -i -E "s/HOST = [^)]+/HOST = $HOSTNAME/g" /u01/app/oracle/product/11.2.0/xe/network/admin/listener.ora
9
sed -i -E "s/PORT = [^)]+/PORT = 1521/g" /u01/app/oracle/product/11.2.0/xe/network/admin/listener.ora
10
+echo "export ORACLE_HOME=/u01/app/oracle/product/11.2.0/xe" > /etc/profile.d/oracle-xe.sh
11
+echo "export PATH=\$ORACLE_HOME/bin:\$PATH" >> /etc/profile.d/oracle-xe.sh
12
+echo "export ORACLE_SID=XE" >> /etc/profile.d/oracle-xe.sh
13
+. /etc/profile
14
15
case "$1" in
16
'')
0 commit comments