Red Hat ENTERPRISE LINUX 3 - FOR X86-ITANIUMTM-AMD64 AND INTEL EXTENDED MEMORY 64 TECHNOLO Manuale Utente Pagina 9

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 12
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 8
Page 9
When copying the contents of a directory, remember to copy files and directories
with names that begin with ., such as .ssh. and .profile. Use the following
command to list them:
ls –a
b. Symbolic Links
The rc.2, rc.3, and rc.5 subdirectories of /etc/rc.d contain symbolic links to files
under /etc/init.d. Oracle Universal Installer created some of the files and links in
your extracted RHAS2.1 archive. For example, the installer might have created a
file called init.crs under /etc/init.d, with symbolic links named K96init.crs and
S96init.crs in the subdirectories of /etc/rc.d. In addition to copying the files to
/etc/init.d, you must copy these links so that certain Oracle processes can be
started and shut down cleanly on system startup and shutdown. By default, the
cp command copies the files that the links point to, not the links themselves. To
copy the links, use the --no-dereference option with the cp command.
For example (using bash) :
# for DIR in rc2.d rc3.d rc5.d; do
> cd $HOME/tar_dir/rc.d/$DIR
> cp --no-dereference *init.crs /etc/rc.d/$DIR
> done
If you did not install RAC on your RHAS2.1 system, you would replace *init.crs
with *init.cssd in the command line to copy the links. If you have other Oracle-
related links to files in init.d, you would copy them in the same manner.
c. Files to Merge
The following files have changed between RHAS2.1 and RHEL3:
/etc/csh.*
/etc/profile
/etc/group
/etc/passwd
/etc/inittab*
Use the diff command to compare the two versions. For example:
$ diff $HOME/tar_dir/etc/inittab /etc/inittab
If you want to use the RHEL3 version of a file, first back up the RHEL3 file,
then locate the Oracle-specific lines in the RHAS2.1 file and cut and paste those
lines into the RHEL3 file, using a text editor such as vi.
Instead of modifying /etc/group and /etc/passwd directly, you might find it easier
to simply use the groupadd and useradd commands as described in the
“Pre-Installation Tasks” chapter of the Oracle Database Installation Guide. Set
Vedere la pagina 8
1 2 3 4 5 6 7 8 9 10 11 12

Commenti su questo manuale

Nessun commento