8/14/2019 10g Install in Linux 5
1/4
8/14/2019 10g Install in Linux 5
2/4
8/14/2019 10g Install in Linux 5
3/4
rpm -Uvh libaio-0*cd /eject
# From RedHat AS5 Disk 2cd /media/cdrom/Serverrpm -Uvh compat-libstdc++-33-3*rpm -Uvh compat-gcc-34-3*rpm -Uvh compat-gcc-34-c++-3*rpm -Uvh gcc-4*rpm -Uvh libXp-1*cd /eject
# From RedHat AS5 Disk 3cd /media/cdrom/Serverrpm -Uvh openmotif-2*rpm -Uvh compat-db-4*cd /eject
Create the new groups and users:groupadd oinstallgroupadd dbagroupadd oper
useradd -g oinstall -G dba oraclepasswd oracle
Create the directories in which the Oracle software will be installed:mkdir -p /u01/app/oracle/product/10.2.0/db_1chown -R oracle.oinstall /u01
Login as root and issue the following command:xhost +
Edit the /etc/redhat-release file replacing the current release information (Red Hat
Enterprise Linux Server release 5 (Tikanga)) with the following:redhat-4
Login as the oracle user and add the following lines at the end of the .bash_profile file:# Oracle SettingsTMP=/tmp; export TMPTMPDIR=$TMP; export TMPDIR
ORACLE_BASE=/u01/app/oracle; export ORACLE_BASEORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1; export ORACLE_HOMEORACLE_SID=TSH1; export ORACLE_SIDORACLE_TERM=xterm; export ORACLE_TERMPATH=/usr/sbin:$PATH; export PATHPATH=$ORACLE_HOME/bin:$PATH; export PATH
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATHCLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib;export CLASSPATH
if [ $USER = "oracle" ]; thenif [ $SHELL = "/bin/ksh" ]; thenulimit -p 16384ulimit -n 65536
8/14/2019 10g Install in Linux 5
4/4
elseulimit -u 16384 -n 65536
fifi
Installation
Log into the oracle user. If you are using X emulation then set the DISPLAYenvironmental variable:DISPLAY=:0.0; export DISPLAY
Start the Oracle Universal Installer (OUI) by issuing the following command in the
database directory:./runInstaller
During the installation enter the appropriate ORACLE_HOME and name then continueinstallation. For a more detailed look at the installation process, click on the links below
to see screen shots of each stage.
1. Select Installation Method2. Specify Inventory Directory and Credentials3. Select Installation Type
4. Specify Home Details
5. Product-Specific Prerequisite Checks6. Select Configuration Option
7. Select Database Configuration
8. Specify Database Configuration Options
9. Select Database Management Option10. Specify Database Storage Option
11. Specify Backup and Recovery Options
12. Specify Database Schema Passwords13. Summary
14. Install
15. Configuration Assistants16. Database Configuration Assistant
17. Database Configuration Assistant Password Management
18. Execute Configuration Scripts
19. End Of Installation
Post Installation
Edit the /etc/redhat-release file restoring the original release information:Red Hat Enterprise Linux Server release 5 (Tikanga)
Edit the /etc/oratab file setting the restart flag for each instance to 'Y':TSH1:/u01/app/oracle/product/10.2.0/db_1:Y
http://www.oracle-base.com/articles/10g/images/DB10gR2-1-SelectInstallationMethod.gifhttp://www.oracle-base.com/articles/10g/images/DB10gR2-2-SpecifyInventoryDirectoryAndCredentials.gifhttp://www.oracle-base.com/articles/10g/images/DB10gR2-3-SelectInstallationType.gifhttp://www.oracle-base.com/articles/10g/images/DB10gR2-4-SpecifyHomeDetails.gifhttp://www.oracle-base.com/articles/10g/images/DB10gR2-5-ProductSpecificPrerequisiteChecks.gifhttp://www.oracle-base.com/articles/10g/images/DB10gR2-6-SelectConfigurationOption.gifhttp://www.oracle-base.com/articles/10g/images/DB10gR2-7-SelectDatabaseConfiguration.gifhttp://www.oracle-base.com/articles/10g/images/DB10gR2-8-SpecifyDatabaseConfigurationOptions.gifhttp://www.oracle-base.com/articles/10g/images/DB10gR2-9-SelectDatabaseManagementOption.gifhttp://www.oracle-base.com/articles/10g/images/DB10gR2-10-SpecifyDatabaseStorageOption.gifhttp://www.oracle-base.com/articles/10g/images/DB10gR2-11-SpecifyBackupAndRecoveryOptions.gifhttp://www.oracle-base.com/articles/10g/images/DB10gR2-12-SpecifyDatabaseSchemaPasswords.gifhttp://www.oracle-base.com/articles/10g/images/DB10gR2-13-Summary.gifhttp://www.oracle-base.com/articles/10g/images/DB10gR2-14-Install.gifhttp://www.oracle-base.com/articles/10g/images/DB10gR2-15-ConfigurationAssistants.gifhttp://www.oracle-base.com/articles/10g/images/DB10gR2-16-DatabaseConfigurationAssistant.gifhttp://www.oracle-base.com/articles/10g/images/DB10gR2-17-DatabaseConfigurationAssistantPasswordManagement.gifhttp://www.oracle-base.com/articles/10g/images/DB10gR2-18-ExecuteConfigurationScripts.gifhttp://www.oracle-base.com/articles/10g/images/DB10gR2-19-EndOfInstallation.gifhttp://www.oracle-base.com/articles/10g/images/DB10gR2-1-SelectInstallationMethod.gifhttp://www.oracle-base.com/articles/10g/images/DB10gR2-2-SpecifyInventoryDirectoryAndCredentials.gifhttp://www.oracle-base.com/articles/10g/images/DB10gR2-3-SelectInstallationType.gifhttp://www.oracle-base.com/articles/10g/images/DB10gR2-4-SpecifyHomeDetails.gifhttp://www.oracle-base.com/articles/10g/images/DB10gR2-5-ProductSpecificPrerequisiteChecks.gifhttp://www.oracle-base.com/articles/10g/images/DB10gR2-6-SelectConfigurationOption.gifhttp://www.oracle-base.com/articles/10g/images/DB10gR2-7-SelectDatabaseConfiguration.gifhttp://www.oracle-base.com/articles/10g/images/DB10gR2-8-SpecifyDatabaseConfigurationOptions.gifhttp://www.oracle-base.com/articles/10g/images/DB10gR2-9-SelectDatabaseManagementOption.gifhttp://www.oracle-base.com/articles/10g/images/DB10gR2-10-SpecifyDatabaseStorageOption.gifhttp://www.oracle-base.com/articles/10g/images/DB10gR2-11-SpecifyBackupAndRecoveryOptions.gifhttp://www.oracle-base.com/articles/10g/images/DB10gR2-12-SpecifyDatabaseSchemaPasswords.gifhttp://www.oracle-base.com/articles/10g/images/DB10gR2-13-Summary.gifhttp://www.oracle-base.com/articles/10g/images/DB10gR2-14-Install.gifhttp://www.oracle-base.com/articles/10g/images/DB10gR2-15-ConfigurationAssistants.gifhttp://www.oracle-base.com/articles/10g/images/DB10gR2-16-DatabaseConfigurationAssistant.gifhttp://www.oracle-base.com/articles/10g/images/DB10gR2-17-DatabaseConfigurationAssistantPasswordManagement.gifhttp://www.oracle-base.com/articles/10g/images/DB10gR2-18-ExecuteConfigurationScripts.gifhttp://www.oracle-base.com/articles/10g/images/DB10gR2-19-EndOfInstallation.gif