Next Previous Contents

2. Egkatastash toy logismikou ths Oracle

2.1 Proetoimasia toy Server

Dhmioyrgia enos xrhsth Oracle

Opws einai logiko xreiazomaste enan xrhsth na krataei thn bash dedomenwn ths Oracle. Mia poy den epi8ymoume na kanoyme relink ton pyrhna ths Oracle (perissotera gia ayto argotera) 8a prepei na apodextoume tis proka8orismenes parametroys ths Oracle gia to onoma toy xrhsth kai to onoma toy group. Aytes symperilambanoyn ton xrhsth ORACLE kai to group DBA.

  1. Synde8eite ws Root

  2. Dhmioyrgeiste to xrhsth oracle kai to group dba.

    $ groupadd dba 
    $ useradd  oracle
    

  3. Bebaiw8eite pws ena home directory dhmioyrgeitai gia ton xrhsth oracle.

    $ mkdir /home/oracle
    $ mkdir /home/oracle/7.3.3.0.0 (Version of Oracle)
    $ chown -R oracle.dba /home/oracle
    

2.2 Egkatastash apo CDROM

Dystyxws o Oracle Installer apo to diskaki toy SCO den 8a doylecei. Mporei na antimetwpisete plh8wra problhmatwn, apo core dumps mexri kremasma. San apotelesma, xreiazetai na antigracoyme ta arxeia apo to CDROM xeirwnaktika kai na ta aposympiesoyme:

(Bebaiw8eite pws to CDROM einai prosarthmeno (mounted) sto susthma).

  1. Synde8eite san Oracle
  2. Allajte directory se /home/oracle/7.3.3.0.0.
  3. Antigracte ola ta arxeia egkatastashs apo to CDROM

    $ cp -a /mnt/cdrom/* .
    

  4. Aposympieste ola ta arxeia ths Oracle apo to CDROM.

    $ find . -name *_ -exec ~/7.3.3.0.0/orainst/oiuncomp {} \;
    

2.3 Ergasies meta thn Egkatastash

Ergasies gia ton Root

Pros8este tis epomenes grammes sto /etc/profile h sto .profile gia ka8e xrhsth poy prokeitai na xrhsimopoihsei thn Oracle.


# Oracle Specific
ORACLE_HOME=/home/oracle/7.3.3.0.0
ORACLE_SID=orcl
ORACLE_TERM=vt100
export ORACLE_HOME ORACLE_SID ORACLE_TERM

# Alter path for Oracle
PATH="$PATH:$ORACLE_HOME/bin"

Epishs xreiazetai na allajoyme ton idiokthth kai ta pronomia xrhshs ths boh8htikhs efarmoghs ths Oracle ulimit increase.


$ chown root.root $ORACLE_HOME/bin/osh
$ chmod u+s $ORACLE_HOME/bin/osh

Ergasies gia ton Oracle

Allajte ta pronomia xrhshs twn arxeiwn ths Oracle gia na ejasfalisete thn swsth leitoyrgia.


$ chmod +x $ORACLE_HOME/bin/*
$ chmod u+s $ORACLE_HOME/bin/oracle

Ta ergaleia ths Oracle apaitoun ta mhnumata na kratountai sto directory$ORACLE_HOME/tool_name/mesg. Etsi, metakinhste ta arxeia msb apo ta directories msg_ship sta directories mesg .


$ mv $ORACLE_HOME/plsql/mesg/mesg_ship/* $ORACLE_HOME/plsql/mesg/.
$ mv $ORACLE_HOME/rdbms/mesg/mesg_ship/* $ORACLE_HOME/rdbms/mesg/.
$ mv $ORACLE_HOME/svrmgr/mesg/mesg_ship/* $ORACLE_HOME/svrmgr/mesg/.

Dhmioyrgeiste ta akoloy8a directories an den yparxoyn:


$ mkdir $ORACLE_HOME/rdbms/log
$ mkdir $ORACLE_HOME/rdbms/audit
$ mkdir $ORACLE_HOME/network/log

Pragmata poy mporeite na apomakrunete:

Ta parakatw directories mporoun na apomakryn8oun me asfaleia:


Next Previous Contents