Follow the installation instructions provided in the SLES 10 installation manual. Install SLES 10 with the ext3 filesystem and default packages along with Oracle Server Base, C/C++ Compiler and Tools.
Log in as root.
Install the SLES 10 Service pack. Verify the service pack information by using the following command:
SPident
or
cat /etc/SuSE-release
The following result is expected:
CONCLUSION: System is up-to-date! Found SLES-10-x86_64-current
The account for the oracle user is disabled. Enable the account by changing the shell for the oracle user from /bin/false to /bin/bash by using YaST user administration or by editing the /etc/passwd file.
Set a new password for the oracle user by using YaST or by using the following command:
/usr/bin/passwd oracle
Change the default Oracle environment set by orarun, if required:
Change the Oracle home directory by editing the ORACLE_HOME variable in /etc/profile.d/oracle.sh file.
The default ORACLE_SID value is set to orcl. Change it to ESEC in /etc/profile.d/oracle.sh file.
Set the kernel parameters by using the following command:
/usr/sbin/rcoracle start
Change to the oracle user:
su - oracle
Change to the database directory and run ./runinstaller.
The Oracle Universal Installer screen is displayed.
Accept the default inventory directory or browse and select a new directory, then click
.From the
, select , then click .For checking Network configuration requirements, select
, then click.From the Configuration options, select
, then click .The Installation summary is displayed.
Review the selections, then click
.Execute the specified scripts as root and click on completion.
After the installation is complete, click
.Log in as root.
Run the following command to ensure that the required packages are installed on your server.
rpm –q make
List of packages:
binutils-2.15.92.0.2-13.EL4 compat-db-4.1.25-9 compat-libstdc++-296-2.96-132.7.2 control-center-2.8.0-12 gcc-3.4.3-22.1.EL4 gcc-c++-3.4.3-22.1.EL44 glibc-2.3.4-2.9 glibc-common-2.3.4-2.9 gnome-libs-1.4.1.2.90-44.1 libstdc++-3.4.3-22.1 libstdc++-devel-3.4.3-22.1 make-3.80-5 numactl-0.6.4.i386 pdksh-5.2.14-30 sysstat-5.0.5-1 xscreensaver-4.18-5.rhel4.2 setarch-1.6-1
Create a UNIX group and UNIX user account for the Oracle database owner by using the following commands:
Add a dba group (as root):
groupadd oinstall groupadd dba
Add the Oracle user (as root):
useradd –g oinstall –G dba –d /opt/oracle/product/<10.2.0.3>/db_1 –m oracle passwd oracle
Create directories for ORACLE_HOME and ORACLE_BASE as the oracle user:
mkdir –p /opt/oracle/product/<10.2.0.3>
Open the .bash_profile file (in oracle user home directory) for editing, and append the following:
# User specific environment and startup programs ORACLE_BASE=/opt/oracle; export ORACLE_BASE ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1; export ORACLE_HOME ORACLE_TERM=xterm; export ORACLE_TERM PATH=$ORACLE_HOME/bin:$PATH; export PATH ORACLE_SID=oracle; export ORACLE_SID LD_LIBRARY_PATH=$ORACLE_HOME/lib; export LD_LIBRARY_PATH CLASSPATH=$ORACLE_HOME/jre:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib CLASSPATH=$CLASSPATH:$ORACLE_HOME/network/jlib; export CLASSPATH LD_ASSUME_KERNEl=2.4.19; export LD_ASSUME_KERNEL TMP=/tmp; export TMP TMPDIR=$TMP;export TMPDIR PATH=$PATH:$HOME/bin export PATH unset USERNAME
IMPORTANT:This set of environment variables must only be used for the oracle user. These variables should not be set in the system environment or in the Sentinel Administrator User environment.
Save the .bash_profile and exit.
Log in as oracle user to load the environment variables you added in Step 6.
exit su - oracle
Check the environment variables by using the following command:
set | more
Log in as the oracle user. If you are using X emulation, set the DISPLAY environmental variable:
DISPLAY=<machine-name>:0.0; export DISPLAY
Change to database directory and run the following script:
./runInstaller
When you proceed through the installation, leave all the prompts at their default values except the ones specified below:
In the Welcome window, click
.In the File Locations window, select ORACLE_BASE and ORACLE_HOME from the drop-down list for the , then click .
In the Select Product to Install window, select either the Oracle 10g Database or 10.2.0.1, then click
.In the Installation Types window, select
, then click .In the Database Configuration window, select
, then click .In the Summary window, review the installation summary, then click
.In the End of Installation window, click
.To apply the Oracle 10.2.0.3 patch, change to database directory and run the following script:
./runInstaller
Follow the prompts in the Installation windows. In the Summary window, review the installation summary and click
. In the End of Installation window, click .NOTE:For more information on kernel parameter settings in Solaris 10, see Section B.4.1, Setting Kernel Values.
Log in as root.
Start the installation
# su - oracle # < Installation directory or CD mount>/ .runInstaller
In the Welcome window:
Select
.Deselect the
option.Specify the Oracle Home Location.
Specify the oracle DBA group, then click
.In the Product-Specific Prerequisite window, verify that all systems checks were successful, then click
In the Summary window, review the install summary and click
.In the End of Installation window, click
.