Follow the installation instructions provided in the SUSE Linux Enterprise Server (SLES) 11 installation manual. Install SLES 11 and the default packages along with the Oracle Server Base and the C/C++ Compiler and Tools.
Log in as root.
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 or by editing the /etc/passwd file.
If the oracle user account does not exist, create an account by using the following commands:
To add a dba group:
groupadd -G dba
To add an oracle user:
useradd -G dba -d <home_directory> -m oracle -p <passwd>
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 settings 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 the /etc/profile.d/oracle.sh file.
Set the kernel parameters by using the following command:
/usr/sbin/rcoracle start
Required kernel parameter settings:
fs.file-max = 512 * PROCESSES kernel.shmall = 2097152 kernel.shmmax = 2147483648 kernel.shmmni = 4096 kernel.sem = 250 32000 100 128 net.ipv4.ip_local_port_range = 1024 65000 net.core.rmem_default = 4194304 net.core.rmem_max = 4194304 net.core.wmem_default = 262144 net.core.wmem_max = 262144
Ensure that the packages are installed correctly by using the following command:
rpm -q <package_name>
List of packages:
binutils-2.19 gcc-4.3 gcc-32bit-4.3 gcc-c++-4.3 glibc-2.9 glibc-32bit-2.9 glibc-devel-2.9 glibc-devel-32bit-2.9 ksh-93t libaio-0.3.104 libaio-32bit-0.3.104 libaio-devel-0.3.104 libaio-devel-32bit-0.3.104 libstdc++33-3.3.3 libstdc++33-32bit-3.3.3 libstdc++43-4.3.3_20081022 libstdc++43-32bit-4.3.3_20081022 libstdc++43-devel-4.3.3_20081022 libstdc++43-devel-32bit-4.3.3_20081022 libgcc43-4.3.3_20081022 libstdc++-devel-4.3 make-3.81 sysstat-8.1.5
Change to the oracle user:
su -oracle
Change to database directory, then run ./runinstaller.
The Oracle Universal Installer screen is displayed.
From the
options, select , then click .Accept the default inventory directory or browse and select a new directory, then click
.From the
types, select , then click .Review your selections, then click
.Execute the specified scripts as the root user and click on completion.
After the installation is complete, click
.Follow the installation instructions provided in the SLES 10 installation manual. Install SLES 10 with the ext3 filesystem and the default packages along with Oracle Server Base, C/C++ Compiler and Tools.
Log in as root.
Install SLES 10 Service pack. Verify the service pack information by using the following command:
SPident
or
cat /etc/SuSE-release
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 or by editing the /etc/passwd file.
If the oracle user account does not exist, create an account by using the following commands:
To add a dba group:
groupadd -G dba
To add an oracle user:
useradd -G dba -d <home_directory> -m oracle -p <passwd>
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 settings 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
Required kernel parameter settings:
fs.file-max = 512 * PROCESSES kernel.shmall = 2097152 kernel.shmmax = 2147483648 kernel.shmmni = 4096 kernel.sem = 250 32000 100 128 net.ipv4.ip_local_port_range = 1024 65000 net.core.rmem_default = 4194304 net.core.rmem_max = 4194304 net.core.wmem_default = 262144 net.core.wmem_max = 262144
Ensure that the packages are installed correctly by using the following command:
rpm -q <package_name>
List of packages:
binutils-2.16.91.0.5 compat-libstdc++-5.0.7 glibc-2.4-31.2 glibc-devel-2.4-31.2 gcc-4.1.0 ksh-93r-12.9 libaio-0.3.104 libaio-devel-0.3.104 libelf-0.8.5 libgcc-4.1.0 libstdc++-4.1.0 libstdc++-devel-4.1.0 make-3.80 sysstat-6.0.2 unixODBC-2.2.11 unixODBC-devel-2.2.11
Change to the oracle user:
su - oracle
Change to database directory, then run ./runinstaller.
The Oracle Universal Installer screen is displayed.
From the
options, select , then click .Accept the default inventory directory or browse and select a new directory, then click
.From the
types, select , then click .The Installation summary is displayed.
Review the settings, then click
.Execute the specified scripts as the root user and click on completion.
After the installation is complete, click
.Log in as root.
Set the kernel parameters as follows:
fs.file-max = 512 * PROCESSES kernel.shmall = 2097152 kernel.shmmax = 2147483648 kernel.shmmni = 4096 kernel.sem = 250 32000 100 128 net.ipv4.ip_local_port_range = 1024 65000 net.core.rmem_default = 4194304 net.core.rmem_max = 4194304 net.core.wmem_default = 262144 net.core.wmem_max = 262144
Run the following command to ensure that the required packages are installed on your server.
rpm –q <package name>
List of packages:
binutils-2.15.92.0.2-18 compat-libstdc++-33.2.3-47.3 elfutils-libelf-0.97-5 elfutils-libelf-devel-0.97-5 glibc-2.3.9.4-2.19 glibc-common-2.3.9.4-2.19 glibc-devel-2.3.9.4-2.19 gcc-3.4.5-2 gcc-c++-3.4.5-2 libaio-devel-0.3.105-2 libaio-0.3.105-2 libgcc-3.4.5 libstdc++-3.4.5-2 libstdc++-devel-3.4.5-2 make-3.80-5 sysstat-5.0.5 unixODBC-2.2.11 unixODBC-devel-2.2.11
Create a UNIX group and UNIX user account for the Oracle database owner by using the following commands:
Add dba group (as root):
groupadd oinstall groupadd dba
Add an Oracle user (as root):
useradd –g oinstall –G dba –d /opt/oracle/product/<10.2.0.3>/db_1 –m oracle passwd oracle
Change to the oracle user:
su - oracle
Create directories for ORACLE_HOME and ORACLE_BASE.
Open the .bash_profile file (in the oracle user’s 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.
Run the .bash_profile to set the environment variables, and check the values by using the following command:
set | more
If you are using X emulation, set the DISPLAY environmental variable:
DISPLAY=<machine-name>:0.0; export DISPLAY
Change to database directory, then run the following script:
./runInstaller
When you proceed through the installation, leave all the prompts with their default values except the ones specified below:
In the Welcome window, click
.In the ORACLE_BASE and ORACLE_HOME from the drop-down list for the , then click .
window, selectInstall only the Oracle software, and deselect the
option.In the I
window, select , then click .In the
window, review the installation summary, then click .In the
window, click .Log in as root.
Set the kernel parameters according to the following standards:
set noexec_user_stack=1 set semsys:seminfo_semmni=100 set semsys:seminfo_semmns=1024 set semsys:seminfo_semmsl=256 set semsys:seminfo_semvmx=32767 set shmsys:shminfo_shmmax=4294967296 set shmsys:shminfo_shmmni=100
Run the following command to ensure that the required packages are installed on your server.
rpm –q <package name>
List of packages:
SUNWarc SUNWbtool SUNWhea SUNWlibC SUNWlibm SUNWlibms SUNWsprot SUNWtoo SUNWi1of SUNWi1cs SUNWi15cs SUNWxwfnt SUNWsprox
Create a UNIX group and UNIX user account for the Oracle database owner by using the following commands:
Add dba group (as root):
groupadd oinstall groupadd dba
Add an Oracle user (as root):
useradd –g oinstall –G dba –d /opt/oracle/product/<10.2.0.3>/db_1 –m oracle passwd oracle
Change to the oracle user:
su - oracle
Create directories for ORACLE_HOME and ORACLE_BASE.
Open the .bash_profile file (in the 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.
Run the .bash_profile to set the environment variables, and check the values by using the following command:
set | more
If you are using X emulation, set the DISPLAY environmental variable byu sing the following command:
DISPLAY=<machine-name>:0.0; export DISPLAY
Change to database directory, then run the following script:
./runInstaller
Whenyou proceed through the installation, leave all the prompts with their default values except the ones specified below:
In the Welcome window, click
.In the ORACLE_BASE and ORACLE_HOME from the drop-down list for the , then click .
window, selectInstall only the Oracle software, and deselect the
option.In the I
window, select , then click .In the
window, review the install summary, then click .In the
window, click .