安裝Oracle 11g for RedHat AS5 U3(一)
安裝Oracle 11g for RedHat AS5 U3(一)
[@more@]一、系統環境檢查
1、 記憶體檢查:Oracle11g需要至少1GB記憶體:
[root@jwdb ~]# grep MemTotal /proc/meminfo
MemTotal:
3751936 kB
交換分割槽檢查:Oracle11g 要求:
RAM Swap Space |
Between 1024 MB and 2048 MB 1.5 times the size of RAM |
Between 2049 MB and 8192 MB
Equal to the size of RAM |
More than 8192 MB 0.75 times the size of
RAM |
[root@jwdb ~]# grep SwapTotal /proc/meminfo
SwapTotal:
8185076 kB
2、 磁碟檢查:
至少400MB的/tmp空閒空間
[root@jwdb ~]# df -k /tmp
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/cciss/c0d0p2 128896188
467492 121775380 1% /
Oracle11g軟體需要3.5~5GB的磁碟空間,而資料庫還需要1.5~3GB的磁碟空間
[root@jwdb ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/cciss/c0d0p2 123G 457M 117G 1% /
/dev/cciss/c0d0p6 95G 188M 90G 1% /dbdata
/dev/cciss/c0d0p5 53G 2.8G 47G 6% /usr
/dev/cciss/c0d0p3 119G 3.7G 109G 4% /dbbak
/dev/cciss/c0d0p1 1.9G 42M 1.8G 3% /boot
tmpfs 1.8G 0 1.8G 0% /dev/shm
none 1.8G 40K 1.8G 1% /var/lib/xenstored
Linux x86(Oracle11g軟體):
Installation Type Requirement for Software Files (GB) |
Enterprise Edition 3.47 |
Standard Edition 3.22 |
Custom (maximum) 3.45 |
Linux x86-64(Oracle11g軟體):
Installation Type Requirement for Software
Files (GB) |
Enterprise Edition 4.35 |
Standard Edition 3.73 |
Custom (maximum) 4.54 |
Linux x86(資料庫):
Installation Type Disk Space for Data Files (GB) |
Enterprise Edition 1.6 |
Standard Edition 1.6 |
Custom (maximum) 1.81 |
Linux x86-64(資料庫):
Installation Type Disk Space for Data Files (GB) |
Enterprise Edition 1.68 |
Standard Edition 1.48 |
Custom (maximum) 2.14 |
3、 作業系統版本
Oracle11g 支援以下版本作業系統
Asianux 2.0
Asianux 3.0
Oracle Enterprise
Linux 4.0
Oracle Enterprise
Linux 5.0
Red Hat Enterprise
Linux 4.0
Red Hat Enterprise
Linux 5.0
SUSE Linux Enterprise Server 10.0
[root@jwdb ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.3 (Tikanga)
[root@jwdb ~]# uname -srvi
Linux 2.6.18-128.el5xen #1 SMP Wed Dec 17 12:22:24 EST 2008 i386
4、 軟體包檢查:
Linux x86(AS5):
binutils-2.17.50.0.6-2.el5
compat-libstdc++-33-3.2.3-61
elfutils-libelf-0.125-3.el5
elfutils-libelf-devel-0.125
gcc-4.1.1-52
gcc-c++-4.1.1-52
glibc-2.5-12
glibc-common-2.5-12
glibc-devel-2.5-12
glibc-headers-2.5-12
libaio-0.3.106
libaio-devel-0.3.106
libgcc-4.1.1-52
libstdc++-4.1.1
libstdc++-devel-4.1.1-52.e15
make-3.81-1.1
sysstat-7.0.0
unixODBC-2.2.11
unixODBC-devel-2.2.11
Linux x86-64(AS5):
binutils-2.17.50.0.6
compat-libstdc++-33-3.2.3
compat-libstdc++-33-3.2.3
(32 bit)
elfutils-libelf-0.125
elfutils-libelf-devel-0.125
gcc-4.1.1
gcc-c++-4.1.1
glibc-2.5-12
glibc-2.5-12 (32 bit)
glibc-common-2.5
glibc-devel-2.5
glibc-devel-2.5-12
(32 bit)
libaio-0.3.106
libaio-0.3.106 (32
bit)
libaio-devel-0.3.106
libgcc-4.1.1
libgcc-4.1.1 (32 bit)
libstdc++-4.1.1
libstdc++-4.1.1 (32
bit)
libstdc++-devel 4.1.1
make-3.81
sysstat-7.0.0
檢查需要的包是否安裝:rpm -qa
透過rpm -ivh進行安裝
二、安裝準備
1、檢查網路配置是否滿足要求,並在/etc/hosts檔案中加入主機名、IP地址資訊:
[root@jwdb ~]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 jwdb localhost.localdomain localhost
#::1 localhost6.localdomain6 localhost6
10.1.26.204 jwdb jwdb
[root@oracle11g ~]# domainname
(none)
2、建立Oracle使用者和dba組
[root@oracle11g ~]# groupadd oinstall
[root@oracle11g ~]# groupadd dba
[root@oracle11g ~]# groupadd oper
[root@oracle11g ~]# useradd -g oinstall -G dba,oper oracle
[root@oracle11g ~]#
修改Oracle使用者口令:
[root@oracle11g ~]# passwd oracle
[root@oracle11g ~]# id oracle
uid=500(oracle) gid=500(oinstall) groups=500(oinstall),501(dba),502(oper) context=root:system_r:unconfined_t:SystemLow-SystemHigh
3、配置核心:
編輯 /etc/sysctl.conf。將以下內容新增至檔案,儲存後重新啟動系統(注意,如果系統預設的配置比這裡給出的值大,不要修改原有配置。):
# Kernel paramaters required by Oracle 11gR1
fs.file-max = 6553600 ———512*processes(由於11g對於共享記憶體要求變大,因此係統共享記憶體應該大於512*程式數,如果共享記憶體不足的話,會造成ORA-845或ORA-1078錯誤。)
kernel.shmall = 2097152
kernel.shmmax = 2147483648 ———記憶體的一半
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default = 4194304
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 262144
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/570433/viewspace-1026852/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle:Redhat 7 + Oracle RAC 11g 安裝 bug 總結OracleRedhat
- Oracle 11G 安裝文件Oracle
- Oracle 11G RAC叢集安裝(3)——安裝OracleOracle
- Oracle 11G 安裝 bbed 工具Oracle
- RedHat上靜默安裝Oracle11gRedhatOracle
- redhat7.2靜默安裝Oracle11.2.0.4RedhatOracle
- redhat7.6安裝Oracle11G RACRedhatOracle
- Vmware linux redhat6.4 安裝11g(11.2.0.1) 雙節點RACLinuxRedhat
- Oracle Linux 6.7 靜預設安裝Oracle 11gOracleLinux
- redhat安裝dockerRedhatDocker
- CentOS 7.5靜默安裝Oracle 11gCentOSOracle
- Oracle 11G RAC叢集安裝(2)——安裝gridOracle
- centos7.3上安裝oracle xe 11gCentOSOracle
- 靜默方式安裝oracle 11g 完整攻略Oracle
- 靜默安裝Oracle資料庫11gOracle資料庫
- redhat7 搭建oracle 11g RAC 問題與處理RedhatOracle
- RedHat 7 靜默安裝Oracle11g的補充RedhatOracle
- 通過ORACLE VM virtualbox環境安裝oracle 11G RAC(ASM)OracleASM
- Oracle 11G資料庫單例項安裝Oracle資料庫單例
- oracle 11g RAC 安裝前準備指令碼Oracle指令碼
- Linux(01):RedHat 7.6 安裝LinuxRedhat
- centOS(同redhat)安裝 dockerCentOSRedhatDocker
- RedHat Advance Server上安裝Oracle 9204 RAC參考手冊(轉)RedhatServerOracle
- Oracle 11G RAC叢集安裝(1)——安裝前的準備Oracle
- oracle 11g 單例項資料庫的安裝Oracle單例資料庫
- 超詳細oracle 11g安裝步驟 win版本Oracle
- [重慶思莊每日技術分享]-Redhat Linux 6.5安裝ORACLE ASMLIBRedhatLinuxOracleASM
- RedHat FC5安裝xmmsRedhat
- PostgreSQL:Redhat 8.5 + PostgreSQL 14.5 安裝SQLRedhat
- Oracle GoldenGate安裝(一)OracleGo
- Redhat 7 下安裝達夢7Redhat
- RedHat 7.6作業系統安裝Redhat作業系統
- 靜默方式安裝、升級oracle(一): 安裝oracle軟體Oracle
- Oracle 11g RAC安裝--基於openfiler儲存+多路徑+udev方式Oracledev
- redhat 5.4下安裝MYSQL全過程RedhatMySql
- Oracle 10g 在linux redhat as4 系統安裝圖解全過程Oracle 10gLinuxRedhat圖解
- 【11g 單庫解除安裝、靜默安裝】實驗
- redhat 7.4安裝mysql 8.0.18 source code原始碼的一些思考RedhatMySql原始碼
- 【Oracle】Linux7安裝11g 86%報錯:Error in invoking target 'agent nmhs' of makefileOracleLinuxError