Environment Settings...
First, check your physical memory size. We recommend that you increase the memory size by 1 GB.
# Grep MemTotal/proc/meminfo
Check whether your swap partition size meets the requirements. Generally, it is twice the physical memory size ..
# Grep SwapTotal/proc/meminfo
Check whether the size of the partition mounted to/tmp is sufficient. If the size is smaller than 400 MB, delete other junk files and increase the space.
# Df-k/tmp
View the cpu type.
# Grep "model name"/proc/cpuinfo
Related Tutorials:
Install the Oracle 10g client in RedHat Linux 5.5
The operating system kernel must be version 5.0 or lower. If not, you can modify/Etc/ Redhat-releaseFile, change its version to 4. x, otherwise it will not pass during the final detection. It will be changed back after the Oracle installation is complete. in addition, your host memory must be above 1 GB. swap partition more than 2 GB...
Note:If the version does not pass or the libxp package is missing, follow the instructions above.
The preliminary work has been completed so far. Next we will install the software package.
The required software packages include...
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
Pdksh-5.2.14-30
Sysstat-5.0.5-1
Xscreensaver-4.18-5.rhel4.2
Setarch-1.6-1
LibXp-1.0.0-8.1.el5.i386.rpm
Note: You can find these packages in the server directory of the redhat system disk.
Check whether the required kernel is installed.
# Uname-r
Modify host name ..
# Vim/etc/sysconfig/network
Hostname = oracle.example.com
# Vim/etc/hosts
192.168.0.195 oracle.example.com oracle
# Hostname oracle.example.com --> make the modified host name take effect.
Create the required group and oracle.
# Groupadd oinstall
# Groupadd dba
# Useradd-g oinstall-G dba oracle
# Passwd oracle --> specify the password as redhat
# Id oracle --> check whether the returned results meet the requirements.
# Id nobody --> make sure this user exists. If this user does not exist, it is created.
# Domainname --> execute this command without returning any results.
View the information in the/etc/hosts file ..
# Cat/etc/hosts | grep 'eval hostname'
192.168.0.195 oracle.example.com oracle --> the returned result is as follows.
Edit the/etc/sysctl. conf file and write the statement.
# Vim/etc/sysctl. conf
Kernel. shmall = 2097152
Kernel. shmmax = 2147483648
Kernel. shmmni = 4096
Kernel. sem = 250 32000 100 128
Fs. file-max = 65536
Net. ipv4.ip _ local_port_range = 1024 65000
Net. core. rmem_default = 1048576
Net. core. rmem_max = 1048576
Net. core. wmem_default = 262144
Net. core. wmem_max = 262144
# Sysctl-p --> execute this command after adding it to make it take effect.
Because oracle will use the Java environment and can be installed without installation, but we 'd better package Java-Development.
# Yum-y groupinstall "Java-Development"
Edit the/etc/security/limits. conf file and write the statement ..
# Vim/etc/security/limits. conf
Oracle soft nproc 2047
Hard nproc 16384
Oracle soft nofile 1024
Oracle hard nofile 65536
Edit the/etc/pam. d/login file and write the statement.
# Vim/etc/pam. d/login
Session required/lib/security/pam_limits.so
Session required pam_limits.so
Edit/etc/profile and write the statement.
# Vim/etc/profile
If [$ USER = "oracle"]; then
If [$ SHELL = "/bin/ksh"]; then
Ulimit-p 16384
Ulimit-n 65536
Else
Ulimit-u 16384-n 65536
Fi
Fi
Edit the/etc/csh. login file and write the following lines.
# Vim/etc/csh. login
If ($ USER = "oracle") then
Limit maxproc 16384
Limit descriptors 65536
Endif
Create the/u01 directory and create a new partition. The new partition name is/dev/sda6 and is automatically mounted to the/u01 directory when it is started.
# Mkdir/u01
# Vim/etc/fstab
/Dev/sda6/u01 ext3 defaults 0 0
# Mount-
Create a working directory...
# Mkdir-pv/u01/app/oracle
# Chown-R oracle: oinstall/u01/app/oracle
# Chmod-R 755/u01/app/oracle
# Xhost +
# Su-oracle
$ Vim. bash_profile
Umask 022
ORACLE_BASE =/u01/app/oracle
ORACLE_SID = orcl
Export ORACLE_BASE ORACLE_SID
$ .! $ --> Make sure to make the modified. bash_profile take effect. You can useSource. bash_profileCommand.
$ Echo $ ORACLE_BASE --> test if the result is/u01/app/oracle.
If your home partition is not large enough, it is best to expand it, because the files extracted from oracle are more than 1 GB... expand the home directory. The steps are as follows ..
# Lvextend-L + 10G/dev/vol0/home
# Resize2fs/dev/vol0/home
After executing the above command, we added 10 Gb to the home directory. You can use the following command to view details ..
# Df-lh
Next we will download the Oracle software to the Oracle directory, decompress it to this directory ....
# Unzip 10201_database_linux32.zip
# Chown-R oracle: oinstall database/
# Su-oracle
$ Cd database
$./RunInstaller --> run this script to install the Oracle software. On the displayed page, select Next.
Modify the path here ,...
Select a different version based on your needs. Here we will select the Enterprise Edition...
The next step can only be performed after the detection is passed...
Here we select Install database software, and then proceed to the next step...
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- Next Page
|