Centos5.8 _ x86_64 + ASM + ORACLE11G OS Centos5.8 _ 64-bit desktop installation, disable SELINUX and firewall, 1. Memory and swap partition size, Server 2 GB or above memory can be installed, try to give
Centos5.8 _ x86_64 + ASM + ORACLE11G OS Centos5.8 _ 64-bit desktop installation, disable SELINUX and firewall, 1. Memory and swap partition size, Server 2 GB or above memory can be installed, try to give
Centos5.8 _ x86_64 + ASM + ORACLE11G
Centos5.8 _ 64-bit Operating System
Install desktops and virtual hosts, disable SELINUX, and disable firewall,
1. Memory and swap partition size. The server can be installed with 2 GB or more memory. The server space should be as large as possible.
Minimum: 1 GB of RAM
Recommended: 2 GB of RAM or more
Todetermine the RAM size, enter the following command:
# GrepMemTotal/proc/meminfo
Swap partition size settings
Between1 GB and 2 GB allocated 1.5 times the size of the RAM
Between2 GB and 16 GB allocated to the size of the RAM
Morethan 16 GB allocated 16 GB
# GrepSwapTotal/proc/meminfo determine the size
2. Install the following software
Binutils-2.20.51.0.2-5.11.el6 (x86_64)
Compat-libcap1-1.10-1 (x86_64)
Compat-libstdc ++-33-3.2.3-69.el6 (x86_64)
Compat-libstdc ++-33-3.2.3-69.el6.i686
Gcc-4.4.4-13.el6 (x86_64)
Gcc-c ++-4.4.4-13. el6 (x86_64)
Glibc-2.12-1.7.el6 (i686)
Glibc-2.12-1.7.el6 (x86_64)
Glibc-devel-2.12-1.7.el6 (x86_64)
Glibc-devel-2.12-1.7.el6.i686
Ksh
Libgcc-4.4.4-13.el6 (i686)
Libgcc-4.4.4-13.el6 (x86_64)
Libstdc ++-4.4.4-13. el6 (x86_64)
Libstdc ++-4.4.4-13. el6.i686
Libstdc ++-devel-4.4.4-13.el6 (x86_64)
Libstdc +-devel-4.4.4-13.el6.i686
Libaio-0.3.107-10.el6 (x86_64)
Libaio-0.3.107-10.el6.i686
Libaio-devel-0.3.107-10.el6 (x86_64)
Libaio-devel-0.3.107-10.el6.i686
Make-3.81-19.el6
Sysstat-9.0.4-11.el6 (x86_64)
UnixODBC *
LibXp
Pdksh
Configure Yum Installation
Attach the CD to/mnt
[Root @ oracle ~] # Mount/dev/cdrom/mnt
[Root @ oracle ~] # Vi/etc/yum. repos. d/base. repo
[Base]
Name = base
Baseurl = file: // mnt/
Enabled = 1
Gpgcheck = 0
Execute the following statement to install
Yum-yinstall binutils compat-* kernel-libelf * gcc-c ++ glibc * kernel-headersksh libaio * libgcc libgomp libstdc ++ * make sysstat libXp pdksh. Unzip unixODBC-devel
3. Note the Host Name
[Oracle @ oracle11g ~] $ Cat/etc/hosts
# Do not remove the following line, or various programs
# That require network functionality will fail.
127.0.0.1 oracle11g localhost. localdomain localhost
: 1 localhost6.localdomain6 localhost6
172.16.40.30 oracle
4. Create corresponding users and groups
[Root @ oracle ~] # Groupadd oinstall
[Root @ oracle ~] # Groupadd dba
[Root @ oracle ~] # Groupadd asmadmin
[Root @ oracle ~] # Groupadd asmdba
[Root @ oracle ~] # Useradd-g oinstall-G asmdba, asmadmin, dbagrid
[Root @ oracle ~] # Useradd-g oinstall-G dba, asmdba oracle
[Root @ oracle ~] # Passwd grid
[Root @ oracle ~] # Passwd oracle
[Root @ oracle ~] # Id grid
Uid = 500 (grid) gid = 500 (oinstall) groups = 500 (oinstall), 501 (dba), 502 (asmadmin), 503 (asmdba)
[Root @ oracle ~] # Id oracle
Uid = 501 (oracle) gid = 500 (oinstall) groups = 500 (oinstall), 501 (dba), 503 (asmdba)
5. Modify the/etc/sysctl. conf file and add the following content:
Fs. aio-max-nr = 1048576
Fs. file-max = 6815744
Kernel. shmall = 2097152