Red Hat ENTERPRISE LINUX AS 2.1 - Guida di Installazione Pagina 129

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
Vedere la pagina 128
Chapter 32.
123
Setting Up a Working Environment for
Oracle
This chapter covers the creation of user accounts, directories and Oracle environments for your Oracle
Database before you install.
32.1. Creating Oracle User Accounts
This section covers the command necessary to activate the required accounts to install an Oracle
Database.
Create the group of users to be granted with SYSDBA system privilege
su - root groupadd dba
Now create a group owner for Oracle files
groupadd oinstall
useradd -c "Oracle software owner" -g oinstall -G dba oracle
passwd oracle
For more information on the "oinstall" group account, see When to use OINSTALL
1
group during
install of oracle.
32.2. Creating Oracle Directories
Make sure that the Oracle file systems, in this example /u01, is large enough, see Section 30.5,
“Sizing Oracle Disk Space” for more information.
su - root
#mkdir -p /u01/app/oracle/product/9.2.0
#chown -R oracle.oinstall /u01
#mkdir /var/opt/oracle
#chown oracle.dba /var/opt/oracle
#chmod 755 /var/opt/oracle
32.3. Setting Oracle Environment Variables
Make sure to set the following Oracle environment variables before you execute runInstaller.
As the oracle user execute the following commands: # Make sure to set the LD_ASSUME_KERNEL
environment variable for Red Hat Enterprise Linux 3 and 4 !! # Use the "Linuxthreads with floating
stacks" implementation instead of NPTL:
export LD_ASSUME_KERNEL=2.4.1 # for Red Hat Enterprise Linux 3
export LD_ASSUME_KERNEL=2.4.19 # for Red Hat Enterprise Linux 4
For the Oracle Environment
1
https://metalink.oracle.com/oracleinstall/oracle8i/genericunix.html#Uoui
Vedere la pagina 128
1 2 ... 124 125 126 127 128 129 130 131 132 133 134 ... 159 160

Commenti su questo manuale

Nessun commento