centos6.5安装64位oracle11gR2--------------------root用户-------------------1.查看操作系统内核版本11g支持oraclelinux5、6(x86-64)和Redhatlinux5、6(x86-64)内核支持2.6.32-xxxxxx及以上版本#cat/etc/redhat-releaseCentOSrelease6.5(Final)#uname-r2.6.32-431.1.2.0.1.el6.x86_642.安装11g所需依赖包rhel6官方需求: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.i686gcc-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.i686kshlibgcc-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.i686libstdc++-devel-4.4.4-13.el6(x86_64)libstdc++-devel-4.4.4-13.el6.i686libaio-0.3.107-10.el6(x86_64)libaio-0.3.107-10.el6.i686libaio-devel-0.3.107-10.el6(x86_64)libaio-devel-0.3.107-10.el6.i686make-3.81-19.el6sysstat-9.0.4-11.el6(x86_64)#yuminstallbinutilscompat-libstdc++-33compat-libstdc++-33.i686elfutils-libelfelfutils-libelf-develgccgcc-c++glibcglibc.i686glibc-commonglibc-develglibc-devel.i686glibc-headerskshlibaiolibaio.i686libaio-devellibaio-devel.i686libgcclibgcc.i686libstdc++libstdc++.i686libstdc++-develmakesysstatunixODBCunixODBC-devel-y说明:我的yum源直接指向163源,并未使用系统镜像制作本地yum。3.创建用户及用户组#groupaddoinstall#groupadddba#useradd-goinstall-Gdbaoracle#passwdoracle4.创建oracle11g安装目录#mkdir-p/u01/11g#chown-Roracle:oinstall/u01/#chmod-R775/u01/5.设置内核参数#vim/etc/sysctl.conffs.aio-max-nr=1048576fs.file-max=6815744kernel.shmall=2097152kernel.shmmax=4294967295kernel.shmmni=4096kernel.sem=25032000100128net.ipv4.ip_local_port_range=900065500net.core.rmem_default=262144net.core.rmem_max=4194304net.core.wmem_default=262144net.core.wmem_max=1048586#sysctl-p#重新载入立即生效6.设置环境变量#vim~oracle/.bash_profileexportORACLE_BASE=/u01/11gexportORACLE_HOME=$ORACLE_BASE/product/11.2.0exportORACLE_SID=ora11gexportPATH=$PATH:$HOME/bin:$ORACLE_HOME/binexportLD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib#source~oracle/.bash_profile#加载配置或oracle用户注销重新登录7.设置PAM资源限制#/etc/security/limits.conforaclesoftnproc2047oraclehardnproc16384oraclesoftnofile1024oraclehardnofile65536oraclesoftstack102408.解压安装文件unziplinux.x64_11gR2_database_1of2.zipunziplinux.x64_11gR2_database_2of2.zip注:以上操作均在root下完成--------------------oracle用户-------------------关于中英文界面安装英文界面$exportLANG=C中文界面$exportLANG=zh_CN.utf-8中文界面出现乱码解决方法:$mkdirfallback$cpzysong.ttf/fallback字体-百度网盘1、使用归档管理器打开database/stage/Components/oracle.jdk/1.5.0.17.0/1/DataFiles/all.jar,将fallback文件夹拖入all.jar的/jdk/jre/lib/fonts/目录下,及拖入后字体的路径为all.jar文件的/jdk/jre/lib/fonts/fallback/zysong.ttf。2、关闭归档管理器后,重新./runInstaller。9.注销系统,使用oracle登录安装$cddatabase/$./runInstaller正在启动OracleUniversalInstaller...至此Oracle11gR2安装完毕