Installation Log [20100707]
1. DELL Server
2. Install CentOS 5.5 (64-bit)
Note that swap is usually 4 GB
3. Install Oracle 10.2 (64-bit)
Grep MemTotal/proc/meminfo
Grep SwapTotal/proc/meminfo
Uname-mi
4. Check the environment:
Rpm-q -- qf' % {NAME}-% {VERSION}-% {RELEASE} (% {ARCH}) \ n '\
Binutils compat-db control-center gcc-c ++ glibc-common \
Libstdc ++-devel make pdksh sysstat libaio \
Glibc-devel compat-libstdc ++-33 compat-libstdc ++-296 glibc-headers \
Libgomp libXp openmotif setarch
Plus glibc-devel-2.5-49 (i386)
Libgomp-4.4.0-6.el5 (i386)
Libstdc ++-devel-4.1.2-48.el5 (i386)
These three files
(All the above files can be found from the installation disc, www.bkjia.com. Therefore, after installing the system, copy the image disk to a directory)
5. Configure the physical environment of the server host
Vi/etc/sysctl. conf
Kernel. shmmax = 2147483648
Kernel. sem = 250 32000 100 128
Fs. file-max = 65536
Net. ipv4.ip _ local_port_range = 1024 65000
Net. core. rmem_default = 262144
Net. core. rmem_max = 262144
Net. core. wmem_default = 262144
Net. core. wmem_max = 262144
5.2 run # vi/etc/security/limits. conf to modify or add the following configuration
* Soft nproc 2047
* Hard nproc 16384
* Soft nofile 1024
* Hard nofile 65536
5.3 run # vi/etc/pam. d/login and add the following Configuration:
Session required/lib/security/pam_limits.so
5.4 run # vi/etc/selinux/config and confirm that the following configuration is disabled
SELINUX = disabled)
Sysctl-p to make the above configuration take effect
6. edit/etc/RedHat-release
Vi/etc/redhat-release
Replace Red Hat Enterprise Linux Server release 5 with a redhat-4 because its version does not support redhat as5.
7. Create oracle users and groups
Run the following command under the root user:
Groupadd dba
Groupadd oinstall
Useradd-c "Oracle software owner"-g oinstall-G dba oracle
Passwd oracle
Mkdir-p/oracle/u01/app/oracle
Chown oracle. oinstall/oracle/u01/app/oracle
8. Configure oracle user environment variables
Vi ~ Oracle/. bash_profile (it is best to switch to the oracle user in this step)
Export ORACLE_BASE =/oracle/u01/app/oracle
Export ORACLE_SID = orcl
Export LC_ALL = zh_CN.GBK
Export LC_CTYPE = en_US.UTF-8
Export ORACLE_HOME = $ ORACLE_BASE/oracle/product/10.2.0/db_1
Export PATH = $ ORACLE_HOME/bin: $ PATH
Export LD_LIBRARY_PATH = $ ORACLE_HOME/lib
Export NLS_LANG = "SIMPLIFIED CHINESE_CHINA.ZHS16GBK"
Add the preceding statements at the end of the document.