10g_ins_sh[1]

3
created....30.11.2006 Mo di fi ed ...9-12-2008 Ro ko n-01713121688 The system on which you install Linux must meet the following requirements: 1. 512 MB of physical random access memory (RAM) 2. 1 GB of swap space (or twice the size of RAM) 3. Swap space between one and two times the size of RAM (on systems with 2GB or more of RAM) 4. 400 MB of disk space in the /tmp directory 5. 2.1 GB of disk space for the Oracle software and Sample Schema Database. ----- 1. Open a terminal window and log in as the root user.  2. The following local UNIX groups and user must exist on the system: Groups: oinstall and dba User: oracle Optionally, the oper group can be created. Group: oper We now create the three groups oinstall, dba, and oper: /usr/sbin/groupadd oinstall /usr/sbin/groupadd dba /usr/sbin/groupadd oper 3. Create the operating system user oracle: /usr/sbin/useradd -g oinstall -G dba,oper oracle 4. Enter the following command to set the password of the oracle user: /usr/bin/passwd oracle 5. With an editor of your choosing, open /home/oracle/.bash_profile. If you are using another shell, please add the entries to the appropriate file. umask 022 PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin LD_LIBRARY_PATH=/usr/lib:/usr/X11R6/lib ORACLE_BASE=/u01/app/oracle ORACLE_HOME=$ORACLE_BASE/product/10.1.0/db_1 ORACLE_SID=orcl PATH=$ORACLE_HOME/bin:$PATH export PATH LD_LIBRARY_PATH

Transcript of 10g_ins_sh[1]

8/14/2019 10g_ins_sh[1]

http://slidepdf.com/reader/full/10ginssh1 1/3

created....30.11.2006Modified...9-12-2008 Rokon-01713121688

The system on which you install Linux must meet the following requirements:

1. 512 MB of physical random access memory (RAM)

2. 1 GB of swap space (or twice the size of RAM)3. Swap space between one and two times the size of RAM (on systems with 2GB ormore of RAM)4. 400 MB of disk space in the /tmp directory5. 2.1 GB of disk space for the Oracle software and Sample Schema Database.

-----1. Open a terminal window and log in as the root user.

 2. The following local UNIX groups and user must exist on the system:

Groups: oinstall and dbaUser: oracle

Optionally, the oper group can be created.

Group: oper

We now create the three groups oinstall, dba, and oper:

/usr/sbin/groupadd oinstall/usr/sbin/groupadd dba/usr/sbin/groupadd oper

3. Create the operating system user oracle:

/usr/sbin/useradd -g oinstall -G dba,oper oracle

4. Enter the following command to set the password of the oracle user:

/usr/bin/passwd oracle

5. With an editor of your choosing, open /home/oracle/.bash_profile. If you areusing another shell, please add the entries to the appropriate file.

umask 022

PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/binLD_LIBRARY_PATH=/usr/lib:/usr/X11R6/lib

ORACLE_BASE=/u01/app/oracleORACLE_HOME=$ORACLE_BASE/product/10.1.0/db_1ORACLE_SID=orclPATH=$ORACLE_HOME/bin:$PATH

export PATH LD_LIBRARY_PATH

8/14/2019 10g_ins_sh[1]

http://slidepdf.com/reader/full/10ginssh1 2/3

export ORACLE_BASE ORACLE_HOME ORACLE_SID

6. Create the directory for the software installation and assign ownership tooracle:oinstall. In the example, you use /u01/app/oracle.

mkdir -p /u01/app/oracle

chown -R oracle:oinstall /u01/appchmod -R 775 /u01/app

7. Set required kernel parameters:

Parameter Value---------------------------- -----------------kernel.semmsl 250kernel.semmns 3200kernel.semopm 100kernel.semmni 128kernel.shmall 2097152

kernel.shmmax 2147483648kernel.shmmni 4096fs.file-max 65536net.ipv4.ip_local_port_range 1024 65000

Open the /etc/sysctl.conf file in any text editor and add lines similar to thefollowing:

kernel.sem = 250 32000 100 128kernel.shmall = 2097152kernel.shmmax = 2147483648kernel.shmmni = 4096fs.file-max = 65536

net.ipv4.ip_local_port_range = 1024 65000

With specified values for these parameters in the /etc/sysctl.conf file, thevalues persist when you reboot the system.

8. The kernel changes made previously take effect with each reboot.

Issue this command to set the kernel parameters:

/sbin/sysctl -p

9. Log in as operating system user oracle. You must install the software from anX Window System workstation, an X terminal, or a PC or other system with X serversoftware installed.

10. Run the installer...................

------------------solution installation error-----------------

Checking/Updating the redhat-release File

Verify that the redhat-release RPM is installed on your Red Hat system:

8/14/2019 10g_ins_sh[1]

http://slidepdf.com/reader/full/10ginssh1 3/3

rpm -q redhat-release

This RPM is important for RHEL since RHEL AS 4, RHEL AS 3, and RHEL AS 2.1 are Linux releases supported by Oracle. Without this RPM, Oracle 10g OUI won't be abl eto recognize it as a supported OS. However, the installer of 10g 10.1.0.3 doesnot recognize RHEL AS 4 as a supported release yet. This means that you will ha veto edit the /etc/redhat-release file. You also have to change /etc/redhat-rel ease

for unsupported releases like Fedora Core and RH9.

I do not recommend to execute "runInstaller -ignoreSysPrereqs" since this will disable other checks you probably don't want to.

On RHEL AS 4 (for 10g R1), RH9, and FC 1 you have to change the /etc/redhat-release file to make Oracle 10g believe it's running on a supported release.Regarding RHEL AS 4, the installer for 10g 10.1.0.3 does not recognize RHEL AS 4as a supported release but 10g R2 OUI does.

To change the /etc/redhat-release file, you can simply copy/paste the followingcommands:

su - rootcp /etc/redhat-release /etc/redhat-release.origcat > /etc/redhat-release << EOFRed Hat Enterprise Linux AS release 3 (Taroon)EOF

After you are done with the Oracle10g installation, undo the changes you made to/etc/redhat-release:

su - rootcp /etc/redhat-release.orig /etc/redhat-release

NOTE: On FC3 you don't have to edit /etc/redhat-release since the OUI is not very clever. If OUI finds e.g. digit number "3" in the /etc/redhat-release file, you pass the "operating system version" check since it believes it's a RHEL3 system.

----------------------end-----------------------------