程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
 程式師世界 >> 數據庫知識 >> Oracle數據庫 >> Oracle教程 >> 使用yum快速部署Oracle安裝環境(11g)

使用yum快速部署Oracle安裝環境(11g)

編輯:Oracle教程

基於Linux安裝過Oracle的童鞋們都應該清楚,安裝Oracle的確是一件比較費時費力的差事,因為僅僅是前期的rpm包,內核參數,創建用戶等等這些個步驟都讓那些新手不免眼花缭亂,一不留神,就導致最終的安裝過程中報錯而不得不從頭來過。現在基於Oracle Linux,Oracle僅僅需要通過安裝oracle-rdbms-server-11gR2-preinstall RPM包即可全部搞定其余未安裝的RPM包,解決之間的依賴關系,配置內核參數等等。客官,正在基於Oracle Linux 安裝Oralce 11g?那就接著往下看。

1、oracle-rdbms-server-11gR2-preinstall RPM 軟件包的功能

a、 Automatically downloading and installing any additional software packages and specific package versions needed for installing Oracle Grid Infrastructure and Oracle Database 12 c Release 1 (12.1) or 11g Release 2 (11.2.0.3), with package dependencies resolved via yum or up2date capabilities.

b、Creating the user oracle and the groups oinstall (for OraInventory) and dba (for OSDBA), which are used during database installation. (For security purposes, this user has no password by default and cannot log in remotely. To enable remote login, please set a password using the passwd tool.)

c、Modifying kernel parameters in /etc/sysctl.conf to change settings for shared memory, semaphores, the maximum number of file descriptors, and so on.

e、Setting numa=off in the kernel for x86_64 machines.

2、操作步驟

-- Author: Leshami 

3、實戰演習

b、檢查yum是否已安裝 

c、切換到目錄 /etc/yum.repos.d/

d、獲取配置文件並進行相應修改

100%[======================================>] 4,233 --.-K/s in 0.001s

2014-05-16 14:41:51 (5.76 MB/s) - “public-yum-ol6.repo” saved [4233/4233

[root@oel63 yum.repos.d]# ls -hltr

[root@oel63 yum.repos.d]# vi public-yum-ol6.repo

[ol6_UEK_base] 

e、使用yum安裝oracle-rdbms-server-11gR2-preinstall包

Dependencies Resolved

=================================================================================================

Transaction Summary

Total download size: 43 M

Installed:

Dependency Installed:

Dependency Updated: 

f、校驗結果

Verifying kernel parameters as per Oracle recommendations...

Setting user limits using /etc/security/limits.conf

Verifying oracle user OS limits as per Oracle recommendations...

Setting kernel boot parameters as per Oracle recommendations...

Disabling Transparent Hugepages.

Disabling defrag.

Taking a backup of old config files under /var/log/oracle-rdbms-server-11gR2-preinstall/backup/May-16-2014-14-53-37

#下面是查看備份文件

#校驗Oracle用戶,注,需要為Oracle用戶修改密碼,此處省略 

4、參考鏈接:

How I Simplified Oracle Database Installation on Oracle Linux 5

更多參考

有關Oracle RAC請參考

有關Oracle 網絡配置相關基礎以及概念性的問題請參考:

有關基於用戶管理的備份和備份恢復的概念請參考

有關RMAN的備份恢復與管理請參考

有關ORACLE體系結構請參考

  1. 上一頁:
  2. 下一頁:
Copyright © 程式師世界 All Rights Reserved