Oracle11g的64位Linux版终于推出了,下载了Oracle Enterprise Linux 5 for X86 64,测试一下在上面安装64位的Oracle11.1.0.6。
从来没有试过SLIENT模式下安装数据库,就拿这个版本练手了。
首先是检查系统硬件情况:
[root@enterprice64 ~]# grep MemTotal /proc/meminfo
MemTotal: 8178836 kB
[root@enterprice64 ~]# grep SwapTotal /proc/meminfo
SwapTotal: 8385888 kB
[root@enterprice64 ~]# free
total used free shared buffers cached
Mem: 8178836 5297744 2881092 0 122512 4773424
-/ buffers/cache: 401808 7777028
Swap: 8385888 0 8385888
[root@enterprice64 ~]# df -k /dev/shm
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 4089416 0 4089416 0% /dev/shm
[root@enterprice64 ~]# df -k /tmp
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda7 10153988 428132 9201740 5% /
[root@enterprice64 ~]# df -k /data
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda9 207275064 3933228 192642952 3% /data
要求内存不小于1G,在内存小于2G,SWAP应该是内存的1.5倍,内存2到8G,SWAP和内存相同大小即可,内存超过8G,SWAP是内存的0.75倍。
由于11g对于共享内存要求变大,因此系统共享内存应该大于512*进程数,如果共享内存不足的话,会造成ORA-845或ORA-1078错误。
要求临时表空间不少于200M,安装目录应大于4G。
下面检查系统软件情况:
[root@enterprice64 ~]# cat /proc/version
Linux version 2.6.18-8.el5 (mockbuild@ca-build14) (gcc version 4.1.1 20070105 (Red Hat 4.1.1-52)) #1 SMP Tue Jun 5 23:25:19 EDT 2007
[root@enterprice64 ~]# uname -a
Linux enterprice64 2.6.18-8.el5 #1 SMP Tue Jun 5 23:25:19 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
[root@enterprice64 ~]# more /etc/issue
Enterprise Linux Enterprise Linux Server release 5 (Carthage)
Kernel r on an m
对操作系统要求:
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 Enterprise Linux 10.0
www.ixdba.net
系统内核为2.6.9(Asianux 2.0、Oracle Enterprise Linux 4.0、Red Hat Enterprise Linux 4.0),2.6.18(Asianux 3.0、Oracle Enterprise Linux 5.0、Red Hat Enterprise Linux 5.0),或2.6.16.21(SUSE Enterprise Linux 10.0)。
对于ES4,oracle需要一下包:
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命令进行安装。
检查网络情况:
[root@enterprice64 ~]# cat /etc/nsswitch.conf|grep hosts
#hosts: db files nisplus nis dns
hosts: files dns
[root@enterprice64 ~]# hostname
enterprice64
[root@enterprice64 ~]# domainname
(none)
[root@enterprice64 ~]# more /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 enterprice64 localhost.localdomain localhost