安裝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 11g for RedHat AS5 U3(二)OracleRedhat
- redhat as5 安裝 oracle 10g注意事項RedhatOracle 10g
- redhat AS5 下安裝oracle的三種儲存方式RedhatOracle
- 公司環境redhat as5 安裝Oracle 10g的文件RedhatOracle 10g
- REDHAT as5上安裝Oracle9204的失敗經歷RedhatOracle
- Oracle安裝部署之linux(redhat/centos)快速安裝oracle 11g racOracleLinuxRedhatCentOS
- Oracle:Redhat 7 + Oracle RAC 11g 安裝 bug 總結OracleRedhat
- RedHat 安裝11g racRedhat
- oracle 11g之在REDHAT5上的安裝OracleRedhat
- 在64位redhat5.5上面安裝oracle 11gRedhatOracle
- oracle 11g 之linux redhat 5.5上的安裝OracleLinuxRedhat
- Redhat 6 Oracle 11g RAC安裝注意事項彙總RedhatOracle
- Linux Redhat上如何手工解除安裝(刪除)Oracle 11gLinuxRedhatOracle
- RedHatLinux AS3 U3 安裝 oracle9204步驟RedhatLinuxS3Oracle
- Redhat+Oracle+SAP Netweaver 安裝RedhatOracle
- 【安裝】RedHat 5.1 部署Oracle 10.2.0.1RedhatOracle
- redhat 6.4 安裝oracle11g RAC 安裝RDACRedhatOracle
- (轉)redhat下安裝oracle,設定redhat核心引數RedhatOracle
- linux AS5安裝中文語言包Linux
- Redhat 5 下 Oracle10g 安裝RedhatOracle
- RedHat AS3安裝Oracle 8iRedhatS3Oracle
- Oracle 11G 安裝文件Oracle
- Oracle 11g解除安裝Oracle
- 安裝Oracle RAC 11gOracle
- ORACLE 11G 安裝注意Oracle
- redhat安裝dockerRedhatDocker
- 水煮oracle 20——redhat6下的oracle 11g r2的靜默安裝與配置OracleRedhat
- RedHat上靜默安裝Oracle11gRedhatOracle
- redhat7.6安裝Oracle11G RACRedhatOracle
- Oracle 18c_for_Redhat6.4 安裝失敗OracleRedhat
- RedHat 7 靜默安裝Oracle11gRedhatOracle
- RedHat6.5 安裝Oracle 12c RACRedhatOracle
- redhat6.2安裝oracle11.2.0.3RACRedhatOracle
- oracle11g 安裝(redhat linux 5)OracleRedhatLinux
- redhat開源版本(如centos)oracle安裝事宜RedhatCentOSOracle
- RedHat AS4 下安裝oracle10gRedhatOracle
- Redhat AS 4安裝Oracle 10g 10.2.0.3.0RedhatOracle 10g
- 在Redhat9下安裝Oracle9RedhatOracle