欢迎来到天天文库
浏览记录
ID:12867130
大小:1.34 MB
页数:15页
时间:2018-07-19
《centos5.4远程安装oracle11g笔记》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、oCentos5.4安装oracle11g笔记一,准备Centos5.4(系统)linux_11gR1_database_1013(oracle11g)XmanagerEnterprise(远程桌面工具)注意:本文档最后面有关于安装过程所需要特殊设置的一些资料。二,*所需安装包*Asianux3,OracleEnterpriseLinux5,andRedHatEnterpriseLinux5Thefollowingpackages(orlaterversions)mustbeinstalled:binutils
2、-2.17.50.0.6-2.el5compat-libstdc++-33-3.2.3-61elfutils-libelf-0.125-3.el5elfutils-libelf-devel-0.125gcc-4.1.1-52gcc-c++-4.1.1-52glibc-2.5-12glibc-common-2.5-12glibc-devel-2.5-12glibc-headers-2.5-12libaio-0.3.106libaio-devel-0.3.106libgcc-4.1.1-52libstdc++-4.
3、1.1libstdc++-devel-4.1.1-52.e15make-3.81-1.1numactl-devel-0.9.8.i386sysstat-7.0.0unixODBC-devel-2.2.11-1.RHEL4.1.i386.rpm unixODBC-2.2.11-1.RHEL4.1.i386.rpmpdksh三,接下来是配置环境了1编辑/etc/hosts添加域名192.168.0.112oracle12编辑/etc/sysctl.conf:kernel.shmall=2097152kern
4、el.shmmax=2147483648kernel.shmmni=4096#semaphores:semmsl,semmns,semopm,semmnikernel.sem=25032000100128net.ipv4.ip_local_port_range=102465000net.core.rmem_default=4194304net.core.rmem_max=4194304net.core.wmem_default=262144net.core.wmem_max=262144生效sysctl–p3编
5、辑/etc/security/limits.conforaclesoftnproc2047oraclehardnproc16384oraclesoftnofile1024oraclehardnofile655364编辑/etc/pam.d/loginsessionrequired/lib/security/pam_limits.sosessionrequiredpam_limits.so5编辑/etc/profile:if[$USER="oracle"];thenif[$SHELL="/bin/ksh"];th
6、enulimit-p16384ulimit-n65536elseulimit-u16384-n65536fifi6设置用户groupaddoinstallgroupadddbagroupaddopergroupaddasmadminuseradd-goinstall-Gdba,oper,asmadminoraclepasswdoracleusermod-gnobodynobody将用户nobody用户添加到nobody组里7创建目录mkdir-p-m775/opt/oraclechmod-R775/optcho
7、wn-Roracle.oinstall/opt/oracle8.换到oracle用户,注意要用su-oracle命令(注意,‘-’的左右都有空格!)这样才确保把环境带过去如果只是suoracle是不会把环境带过去的[root@localhost/]#su-oracle[oracle@localhost~]$ls-al总计48drwx------3oracleoinstall409608-0300:16.drwxr-xr-x3oracleoinstall409608-0300:16..-rw-r--r--1ora
8、cleoinstall3308-0300:16.bash_logout-rw-r--r--1oracleoinstall17608-0300:16.bash_profile-rw-r--r--1oracleoinstall12408-0300:16.bashrcdrwxr-xr-x4oracleoinstall409608-0300:16.mozilla[oracle@localhos
此文档下载收益归作者所有