首页 > 代码库 > CentOS 6.8_x64 Oracle 12C 安装
CentOS 6.8_x64 Oracle 12C 安装
1.下载地址
(需要注册oracle账号)
点击
2.登录CentOS 做准备工作
groupadd oinstall groupadd dbauseradd -g oinstall -g dba -m oraclepasswd oracle
3.传输 压缩包至Oracle home下的down
解压并且修改所属用户所属组
mkdir /home/oracle/appmkdir /home/oracle/downmkdir /home/oracle/app/oraclemkdir /home/oracle/app/oradatamkdir /home/oracle/app/oracle/product unzip linux.x64_12cR2_database_1of2.zip unzip linux.x64_12cR2_database_2of2.zipchown -R oracle:oinstall /home/oracle
4. 修改用户的SHELL限制
vi /etc/security/limits.conforacle soft nproc 2047oracle hard nproc 16384oracle soft nofile 1024oracle hard nofile 65536
5.
vi /etc/pam.d/loginsession required /lib/security/pam_limits.so session required pam_limits.sovi /etc/sysctl.conf fs.file-max = 6815744 fs.aio-max-nr = 1048576 kernel.shmall = 2097152 kernel.shmmax = 2147483648 kernel.shmmni = 4096 kernel.sem = 250 32000 100 128 net.ipv4.ip_local_port_range = 9000 65500 net.core.rmem_default = 4194304 net.core.rmem_max = 4194304 net.core.wmem_default = 262144 net.core.wmem_max = 1048576vi /etc/profileif [ $USER = "oracle" ]; then if [ $SHELL = "/bin/ksh" ]; then ulimit -p 16384 ulimit -n 65536 else ulimit -u 16384 -n 65536 fifisu - oraclevi .bash_profileumask 022export ORACLE_BASE=/home/oracle/appexport ORACLE_HOME=$ORACLE_BASE/oracle/product/12.1.0/dbhome_1export ORACLE_SID=orclexport PATH=$PATH:$HOME/bin:$ORACLE_HOME/binexport LD_LIBRARY_PATH=$ORACLE_HOME/lib:/usr/lib
6.安装依赖包
yum -y updateyum -y install ksh libaio-devel gcc-c++ libstdc++-devel compat-libstdc++-33 compat-libcap1
CentOS 6.8_x64 Oracle 12C 安装
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。