centos x64 6.2安装oracle 11G
1、 安装centos6.2 x64 2、 最小化界面安装,选择开发工具3、 系统安装完成后yum install system-config-*4、 检查oracle需要的包的安装(x64)The following packages (or later versions) must be installed:binutils-2.17.50.0.6compat-libstdc++-33-3.2.3compat-libstdc++-33-3.2.3 (32 bit)elfutils-libelf-0.125elfutils-libelf-devel-0.125gcc-4.1.2gcc-c++-4.1.2glibc-2.5-24glibc-2.5-24 (32 bit)glibc-common-2.5glibc-devel-2.5glibc-devel-2.5 (32 bit)glibc-headers-2.5ksh-20060214libaio-0.3.106libaio-0.3.106 (32 bit)libaio-devel-0.3.106libaio-devel-0.3.106 (32 bit)libgcc-4.1.2libgcc-4.1.2 (32 bit)libstdc++-4.1.2libstdc++-4.1.2 (32 bit) libstdc++-devel 4.1.2make-3.81sysstat-7.0.2unixODBC-2.2.11unixODBC-2.2.11 (32 bit)unixODBC-devel-2.2.11unixODBC-devel-2.2.11 (32 bit)5、vi /etc/selinux/config SELINUX=disabled 6、更改主机名,需要更改两个文件 /etc/sysconfig/network 和/etc/hosts7、 Service iptables stop Chkcofnig iptalbes off8、 # mkdir /u01# /usr/sbin/groupadd oinstall # /usr/sbin/groupadd dba # useradd -g oinstall -G dba -d /u01/oracle oracle# passwd oracle进oracle用户默认目录$ Vi .bash_profileORACLE_BASE=/u01ORACLE_HOME=$ORACLE_BASE/oracleORACLE_SID=xfsPATH=$ORACLE_HOME/bin:$PATHLD_LTBRARY_PATH=$ORACLE_HOME/lib:$LD_LTBRARY_PATHDISPLAY=127.0.0.1:0.0export ORACLE_BASE ORACLE_HOME ORACLE_SID PATH LD_LTBRARY_PATH DISPLAY9、Vi /etc/security/limits.conf oracle soft nproc 2047oracle hard nproc 16384oracle soft nofile 1024oracle hard nofile 6553610、 vi /etc/pam.d/login 以下内容session required pam_limits.sovi /etc/profile if [ $USER = "oracle" ]; then ulimit -u 16384 ulimit -n 65536 fi11、vi /etc/sysctl.conffs.aio-max-nr = 1048576fs.file-max = 6815744kernel.shmall = 2097152kernel.shmmax = 536870912kernel.shmmni = 4096kernel.sem = 250 32000 100 128net.ipv4.ip_local_port_range = 9000 65500net.core.rmem_default = 262144net.core.rmem_max = 4194304net.core.wmem_default = 262144net.core.wmem_max = 1048586然后执行:# /sbin/sysctl –p12、chown –R oracle:oinstall /u0113、unzip linux_x64…..zip14、database/.runinstaller15、只安装数据库软件,完成后,使用dbca 安装数据库