Friday, July 21, 2006

Script for Starting Up Oracle10g

Below is the script to make you easier to starting up your Oracle10g database on Linux. Create a file, for example : dbstart.sh and then fill the content of file like this :

#!/bin/sh
#(c) 2005 Asep Andria
#
lsnrctl start
sleep 2
sqlplus "/ as sysdba" << EOF
startup

exit
EOF

sleep 2

emctl start dbconsole
sleep 2

#--- end of script ---#

No comments: