Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: How to install oracle on UNIX

Re: How to install oracle on UNIX

From: Keg <rhugga_at_yahoo.com>
Date: 3 Oct 2004 05:57:05 -0700
Message-ID: <6c795a35.0410030457.66aab7e8@posting.google.com>


"Dave" <david.sharples3_at_ntlXworld.com> wrote in message news:<uSF7d.1341$8k5.495_at_newsfe2-win.ntli.net>...
> "Keg" <rhugga_at_yahoo.com> wrote in message
> news:6c795a35.0410021351.6d30448a_at_posting.google.com...
> > Hans Forbrich <news.hans_at_telus.net> wrote in message
> > news:<b5m7d.8750$223.380_at_edtnps89>...
> >> y wrote:
> >>
> >> > Can someone please tell me how to install Oracle 9 on Solaris?I need as
> >> > much info as you possible can tell. Thanks in loads.
> >>
> >> There's a significant amount of information in this:
> >>
> >> http://www.oracle.com/pls/db92/db92.to_toc?pathname=..%2F..%2Fhtml%2FA96167_01%2Ftoc.htm&remark=docindex
> >
> > Man, Solaris is the easy platform. (well excluding windoze)
> >
> > First create and oracle user & home dir:
> > I always put oracle home directory under /u01:
> >
> > mkdir -p /u01/app/oracle
> > groupadd dba
> > useradd -g dba -d /u01/app/oracle/home -s /bin/bash -c "Oracle User"
> > oracle
> > chown -R oracle:dba /u01
> >
> > Then set your ENV variables:
> > (put this in ~oracle/.profile or ~oracle/.bashrc, whichever you
> > prefer. I use bash for the oracle user)
> >
> > export ORACLE_BASE=/u01/app/oracle
> > export ORACLE_HOME=$ORACLE_BASE/product/<version>
> > export PATH=$ORACLE_HOME/bin:/usr/ccs/bin:/opt/SUNWspro/bin:$PATH
> > export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/opt/SUNWspro/lib:$LD_LIBRARY_PATH
> > export NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1
> > export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data # might be
> > different for 10g, can't recall from memory)
> >
> > Note: This example assumes you are using the Sun compilers, but you
> > can use gcc instead. Just make sure /usr/ccs/bin and the path too gcc
> > are relatively early in your PATH. (gcc is normally /usr/local/bin,
> > but some packages might put it elsewhere) Also avoid having
> > /usr/ucb/xxx in your path, it is the older BSD style utils and can
> > cause problems. If you must use them, have that be the very last thing
> > in you PATH.
> >
> > There are some other vars but not really needed. If your gonna create
> > a database you might as well define your SID now as well, although not
> > needed for the install:
> >
> > export ORACLE_SID=<sid name>
> > export EDITOR=/bin/vi
> > export VISUAL=/bin/vi
> > export ORATERM=xterm
> > export PAGER=/bin/less
> > export LESS=-MM
> >
> > Also good idea to set some stty prefs in your
> > ~oracle/[.profile|.bashrc];
> >
> > stty erase '^H' susp '^Z' intr '^C'
> >
> > This will allow backspace to function as delete in sqlplus. (might not
> > be your desired behavior) It also allows CTRL-Z to interrupt processes
> > and CTRL-C to stop procsses.
> >
> > Become oracle user and verify env is correct:
> >
> > su - oracle
> > env | grep ORA
> >
> > I also usually put the install source media in /u01/app/oracle/install
> > and patches in /u01/app/oracle/patch. So assuming you did this, make
> > sure you have a valid display defined:
> >
> > env | grep DISP
> >
> > If you are on a machine with a console:
> >
> > export DISPLAY=localhost:0.0
> >
> > Then cd /u01/app/oracle/install/Disk1/ && ./runInstaller
> >
> > If you get any problems after following these steps then something is
> > likely wrong with your environment.
> >
> > You will need to make some changes to the memory parameters in
> > /etc/system but these aren't needed prior to an install. There is also
> > a silent method of installing so you don't need an X terminal, take a
> > look at the files in the Disk1/reponse directory. It is much more
> > intuitive with 10g than it has been with the past versions. I prefer
> > the silent install method because Oracle's OUI is so painfully slow
> > over WAN connections for some reason.
> >
> > You will need to run $ORACLE_HOME/root.sh when you are prompted. (this
> > must be done as the root user)
> >
> > Anyway, this is a rough howto, but if you search google you will find
> > some very well dont HOWTO's. Search for keywords "oracle install
> > solaris 10g" I might have left something small out, but this should at
> > least get the binaries installed.
> >
> > Also I recommend not creating a database at first. Get the install
> > done, check the install log for errors, patch if needed, etc... If
> > your installing 9i, you likely want to immediately patch to at least
> > 9.2.0.4, which requires an OUI patch before hand. However, patch
> > 9.2.0.5 is out, but I don't think Oracle is recomending that patch
> > unless it addresses a specific bug you might be experiencing. ( I
> > might be wrong on that) I briefly read the readme for that patch and I
> > do remember some things catching my eye and ultimately we decided we
> > did not want to install the patch. (we have a pending 10g upgrade so
> > were just gonna ride 9.2.0.4 until then)
> >
> > -Chuck
>
> A few mistakes
>
> 1. You seem to recommend bash, thats got to be the slowest suckiest shell
> ever

<annoying buzzer sound> Wrong try again.</annoying buzzer sound>

You just proved your noobness with that statement there. But instead of stopping here I'll go ahead and correct your other ignorance as well.

>
> 2. Must Must Must always have an X Emulator available (Even with silent
> installer)

<annoying buzzer sound> Wrong try again.</annoying buzzer sound>

>
> 3. 9.2.0.5 is always recommened (try getting oracle to do anything without
> them saying - upgrade). however the is a required extra patch for Solaris
> to stop it crashing.
>
> 4. Oracle recommend an oinstall group
>
> 5. You only create ORACLE_BASE in you directory creation (need to create
> ORACLE_HOME as well)

<annoying buzzer sound> Wrong try again.</annoying buzzer sound> (If this was family fued you just lost)

>
> 6. you said set NLS settings to AMERICA, what if he isn't in America?
>

Well I was assuming a little intuition on his part. Obviously I didn't expect him to cut and paste my code into his environment. You must obvioulsy implore that tactic.

> Anyway all the answers are in the installation guide funnily enough.

Yea, that's funny. So basically your response was a complete and utter waste of everyone's time?

Hey turbo, please read the response before posting some ignorant reponse such as this. ORACLE_HOME is set. And bash will run circles around ksh any day. Ksh is a total noob shell. And if you also read, I said I might have left something out. Also, oinstall is not needed. If you really knew the ins and outs of oracle, and how processes work under Unix, you would know this. I have been managing large enterprise databases for 10+ years and never once used the oinstall group.

I installed oracle using the silent install WITHOUT and X server, multiple times. If you know the structure of the response file, you would know that you can toggle off the various dialog popups. Once again, know what your talking about before you flap your gums.

Here is a small snippet from a response file:

#-------------------------------------------------------------------------------
#Name       : SHOW_SPLASH_SCREEN

#Datatype : Boolean
#Description: Set to true if the initial splash screen in OUI needs to be shown.
#Example: SHOW_SPLASH_SCREEN = true
#-------------------------------------------------------------------------------
SHOW_SPLASH_SCREEN=false

Thus, setting this to false will not display a popup, and THUS not require an X terminal. I install databases in my colo remotely over SSH without X on the regular noob. (And I'm not even a DBA)

Lastly, if you don't have anything positive to say, don't bother. You also might wanna consider the company on this list also before you make an ass outta yourself. There are a lot of current and former oracle developers on here. You know, the guys that write the code itself.

Man I miss the days when usenet was actually usefull for something.

Layte. Received on Sun Oct 03 2004 - 07:57:05 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US