.com Solutions Inc. - logo  
Products - Header Buttons
.
Repgen bullet item 7b Installgen bullet item 7b FmPro Migratorbullet item 7b CGIScripter
.
.
.

.
.

Installgen - win901 - Title Graphic

Installgen Features and Benefits

Installgen Demo Available for download...

Bookmark This Page

email a friend

.

#! /bin/sh
# script: 7_macosx_ora_install_1.sh
# Features: This shell script decompresses and renames the
# macosx_920_dev_rel.tar.gz file which has been downloaded
# from OTN. Then the process of building the
# new database instance is started.
#
# Script Sequence#: 7
# Used By: run manually as oracle UNIX user
# Copyright 2002 by .com Solutions Inc.
#
# ---------------------- Revision History ---------------
# Date By Changes
# 10-11-2002 dsimpson Initial Release

# This output file was created by Installgen version 1.38 on Sat Nov 23 07:13:32 2002. By .com Solutions Inc. www.dotcomsolutionsinc.net

# define globally used paths/variables
#ORACLE_OWNER=oracle
ORACLE_OWNER_PATH=/Users/oracle
ORACLE_GROUP=dba
#ORACLE_HOME=/Users/oracle/v920
#ORACLE_SID=prod1

# make sure the oracle user is running this script
if [ ! $LOGNAME = "$ORACLE_OWNER" ]
then
# the user running this script is not $ORACLE_OWNER - exit
echo "You must be logged in as the $ORACLE_OWNER user to run this script, exiting...."
# exit immediately!
exit
fi

# start in the directory enclosing the Oracle Home directory
cd /Users/oracle

# rename existing oracle home directory which was created by 4_macosx_920_prepinstall_1.sh
mv /Users/oracle/v920 orig-orahome

# unzip and untar the new orahome directory
echo "Decompressing the macosx_920_dev_rel.tar.gz file..."
echo ""
gunzip /Users/oracle/macosx_920_dev_rel.tar.gz
echo "Running tar on macosx_920_dev_rel.tar file..."
tar xvf /Users/oracle/macosx_920_dev_rel.tar

# rename orahome as the new Oracle Home directory
mv /Users/oracle/orahome /Users/oracle/v920

# move directories within original Oracle Home directory
mv /Users/oracle/orig-orahome/oraInventory /Users/oracle/v920/oraInventory
mv /Users/oracle/orig-orahome/plsql_compiled_code /Users/oracle/v920/plsql_compiled_code
# remove empty original orahome directory
rmdir /Users/oracle/orig-orahome

# create dbca/logs directory for database build log files
mkdir /Users/oracle/v920/assistants/dbca/logs

# Start building instance now?.
echo "Start building the database instance prod1 now?(y/n)"
read answer
if [ "$answer" = "y" ]
then

echo "Starting to build database instance prod1..."
echo ""
echo "After the instance has been built, please run the"
echo "post-install script 9_macosx_920_ora_post_install_1.sh"
echo ""
/Users/oracle/8_macosx_920_db_build_1.sh

fi



.

hline

. .

.

. .
 

Home | Products | Services | Downloads | Order | Support | Contact

Legal Notices

.
.   .
.
Home Products Services Downloads Order Support Contact