run script through terminal

for all friends

i am using linux enterprise 4. i installed oracle 10g
in user name oracle.at the end of install i got a pop up window
saying that u should run the following scripts(root.sh,orainstRoot.sh) in terminal from root account(cui) without log out oracle account .
how i can run these scrips through terminal for my oracle set up
keeping oracle account as log on(gui)

pls anybody help me

  • Just use "su -" (or simply "su" if you want oracle's environment) and "logout" when you finish.
  • use su - -c "whatever" (or su -c "whatever").
  • Open another terminal.

i run the scrpt root.sh as
su root root.sh i got one message
the following environment variable are set

ORACLE_OWNER=oracle
ORACLE_HOME=/home/oracle/oracle/product/10.2.0/db_1

Enter the full pathname of the local bin directory

here what i can enter ( i can enter /home/oracle/oracle/product/10.2.0/db_1)

or ineed to use another one ? or i can leave

ur valuable advise is highly appreciated

I think it's asking you about the place where you want oracle's binary files to be copyed... You may enter a directory that is already in your PATH variable (/usr/local/bin or whatver)...

to all friends

i entered the correct path , and i got installation successfully finished.

thanks a lot who helped me.

i can login to oracle through http://localhost.localdomain:1158/em

successfully i login through mozilla.i created table i can insert data

and i can list it. no problem working properly

but after i restrat i can't login. i got one alert message

the connection was refused when attempting to contact localhost.localdomain:1158/em

pls how i can login ?

also from where i get the option sqlplus.

in terminal sqlplus is not getting( from where i get sqlplus>

option like 8i,9i or 10g in windows)

awaiting your valuable advise

sadique

First u will go to the root user. And then just u put in a

root@192:~]/opt/..../root.sh
then just u ender automatically run the script
root@192:~]/opt/..../orainstRoot.sh
then just u ender automatically run the script