怎樣在RedHat Linux上使用oracle-validated包

來源:互聯網
上載者:User

首先,參考官方文檔:http://docs.oracle.com/cd/B28359_01/install.111/b32002/install_overview.htm

If you are not a ULN customer, and you are running Red Hat Enterprise Linux or Oracle Linux, then you can obtain the Oracle Validated RPM at the following URLs:

Oracle Linux 4:

http://oss.oracle.com/el4/oracle-validated/

Oracle Linux 5:

http://oss.oracle.com/el5/oracle-validated/

1.下載 oracle-validated package

[root@ora10g ~]# cd /tmp[root@ora10g tmp]# wget https://oss.oracle.com/el5/oracle-validated/oracle-validated-1.0.0-18.el5.x86_64.rpm--2013-05-29 22:01:42--  https://oss.oracle.com/el5/oracle-validated/oracle-validated-1.0.0-18.el5.x86_64.rpmResolving oss.oracle.com... 137.254.17.12Connecting to oss.oracle.com|137.254.17.12|:443... connected.HTTP request sent, awaiting response... 200 OKLength: 15224 (15K) [application/x-rpm]Saving to: `oracle-validated-1.0.0-18.el5.x86_64.rpm'100%[========================================>] 15,224      66.6K/s   in 0.2s    2013-05-29 22:01:58 (66.6 KB/s) - `oracle-validated-1.0.0-18.el5.x86_64.rpm' saved [15224/15224]

2.安裝package:

[root@ora10g tmp]# yum install oracle-validated-1.0.0-18.el5.x86_64.rpm 

可能需要匯入RPM GPG KEY:

rpm --import http://oss.oracle.com/el5/RPM-GPG-KEY-oracle

包安裝完畢後,參數已修改:

[root@ora10g tmp]# ls -l /etc/sysctl.conf*-rw-r--r-- 1 root root 1465 May 29 22:02 /etc/sysctl.conf-rw-r--r-- 1 root root  996 May 29 21:59 /etc/sysctl.conf.orabackup[root@ora10g tmp]# dff /etc/sysctl.conf /etc/sysctl.conf.orabackup -bash: dff: command not found[root@ora10g tmp]# diff /etc/sysctl.conf /etc/sysctl.conf.orabackup 16c16< kernel.sysrq = 1---> kernel.sysrq = 029c29< kernel.msgmax = 8192---> kernel.msgmax = 6553632c32< kernel.shmmax = 4398046511104---> kernel.shmmax = 6871947673635,48c35< kernel.shmall = 1073741824< fs.file-max = 327679< kernel.msgmni = 2878< kernel.sem = 250 32000 100 142< kernel.shmmni = 4096< net.core.rmem_default = 262144< net.core.rmem_max = 4194304< net.core.wmem_default = 262144< net.core.wmem_max = 262144< fs.aio-max-nr = 3145728< net.ipv4.ip_local_port_range = 1024 65000< # For 11g recommended value for net.core.rmem_max is 4194304< # For 10g uncomment the following line, comment other entries for this parameter and re-run sysctl -p< # net.core.rmem_max=2097152---> kernel.shmall = 4294967296

/etc/security/limits.conf:

[root@ora10g tmp]# ls -l /etc/security/limits.conf*-rw-r--r-- 1 root root 2059 May 29 22:02 /etc/security/limits.conf-rw-r--r-- 1 root root 1789 May 29 21:59 /etc/security/limits.conf.orabackup[root@ora10g tmp]# diff /etc/security/limits.conf /etc/security/limits.conf.orabackup44,51d43< oracle   soft   nofile    131072< oracle   hard   nofile    131072< oracle   soft   nproc    131072< oracle   hard   nproc    131072< oracle   soft   core    unlimited< oracle   hard   core    unlimited< oracle   soft   memlock    50000000< oracle   hard   memlock    50000000

 

附上本地yum配置:/etc/yum.repos.d/local.repo

[local_yum_source]name=my_local_sourcebaseurl=file:///media/disk/Servergpgcheck=0enable=1gpgkey=file:///etc/yum.repos.d/RPM-GPG-KEY-oracle

 感謝 http://perumal.org/prepare-your-linux-server-to-install-oracle-database-using-oracle-validated-rpm/

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.