RHEL6 下安裝oracle 10g

來源:互聯網
上載者:User

標籤:linux oracle

這個貌似缺少32位包,你嘗試一下安裝32位安裝包試試
yum install libXt.i686 libXtst.i686 libXp.i686 --setopt=protected_multilib=false
yum 安裝 出錯 Error: Protected multilib versions:

yum -y install binutils compat-libstdc++-33 compat-libstdc++-33.i686 elfutils-libelf elfutils-libelf-devel gcc gcc-c++ glibc glibc.i686 glibc-common glibc-devel glibc-devel.i686 glibc-headers ksh libaio libaio.i686 libaio-devel libaio-devel.i686 libgcc libgcc.i686 libstdc++ libstdc++.i686 libstdc++-devel make sysstat

配置
#groupadd oinstall
#groupadd dba
#useradd -m -g oinstall -G dba oracle

#mkdir -p /u01/app/oracle
#chown -R oracle:oinstall /u01
#chmod -R 775 /u01

kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default = 262144
net.core.rmem_max = 262144
net.core.wmem_default = 262144
net.core.wmem_max = 262144

oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536

TMP=/tmp
TMPDIR=$TMP
ORACLE_BASE=/u01/app/oracle
ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1
ORACLE_SID=orcl
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
PATH=$ORACLE_HOME/bin:$PATH
export TMP TMPDIR ORACLE_BASE ORACLE_HOME ORACLE_SID LD_LIBRARY_PATH PATH

以前遇到安裝ORACLE成功後,啟動過程中遇到ORA-27125錯誤, 也在部落格ORA-27125: unable to create shared memory segment和部落格ORA-27125裡面記錄過,於是按照解決方案做了如下操作:

[[email protected] cdrom]# id oracle
uid=502(oracle) gid=502(oinstall) groups=502(oinstall),503(dba)

[[email protected] cdrom]# more /proc/sys/vm/hugetlb_shm_group

[[email protected] cdrom]# echo 502 >/proc/sys/vm/hugetlb_shm_group

然後在/etc/sysctl.conf 裡面添加參數vm.hugetlb_shm_group = 502,就可以在下次啟動時不報ORA-27125錯誤。

RHEL6 下安裝oracle 10g

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.