Skip to content

Commit bbe6cf6

Browse files
committed
Revert "remove the Oracle env"
This reverts commit 73c374b. Revert of "remove the Oracle env"
1 parent 668a2ae commit bbe6cf6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

entrypoint.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ ln -s /u01/app/oracle-product /u01/app/oracle/product
77
# Update hostname
88
sed -i -E "s/HOST = [^)]+/HOST = $HOSTNAME/g" /u01/app/oracle/product/11.2.0/xe/network/admin/listener.ora
99
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
1014

1115
case "$1" in
1216
'')

0 commit comments

Comments
 (0)