CentOS 5.5 32bit 安裝Oracle 10g(進階安裝)

來源:互聯網
上載者:User

一、安裝Oracle 10g database 前系統內容準備

1、查看系統版本、核心版本、作業系統位元,記憶體及交換分區大小、檔案系統空間、主機名稱、IP地址等。

[root@rac02 ~]# cat /etc/issue    #系統版本

CentOS release 5.5 (Final)

Kernel \r on an \m

[root@rac02 ~]# uname -a  #核心版本

Linux rac02 2.6.18-194.el5 #1 SMP Fri Apr 2 14:58:35 EDT 2010 i686 i686 i386 GNU/Linux 

[root@rac02 ~]# getconf LONG_BIT   #作業系統位元

32 

[root@rac02 ~]# free -m   #查看記憶體及交換分區大小,官方要求記憶體至少512M,建議1G以上;此處記憶體為1407M

             total       used       free     shared    buffers     cached

Mem:     1407       1335         72          0        114       1059

-/+ buffers/cache:        161       1246

Swap:   2815          0       2815    #交換分區大小,官方要求為記憶體的2倍

[root@rac02 ~]# df -hT /tmp    # 查看/tmp分區空間,官方要求至少400M

Filesystem Type    Size  Used Avail Use% Mounted on

/dev/mapper/VolGroup00-LogVol00

              ext3     17G  4.6G   12G  30% /   #此處/tmp沒有單獨劃分lv,空間足夠,並且安裝oracle磁碟空間足夠

[root@rac02 tmp]# hostname  #主機名稱,主機名稱可通過修改/etc/hosts和/etc/sysconfig/network進行修改

rac02

[root@rac02 tmp]# cat /etc/sysconfig/network-scripts/ifcfg-eth0   #IP地址配置

# Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]

DEVICE=eth0

BOOTPROTO=static

ONBOOT=yes

HWADDR=00:50:56:2c:87:0e

IPADDR=192.168.163.45

NETMASK=255.255.255.0

GATEWAY=192.168.163.1

DNS1=202.96.134.133

DNS2=8.8.8.8

 

2、關閉防火牆、禁用SELinux

  [root@rac02 tmp]# service iptables stop

  [root@rac02 tmp]# chkconfig iptables off #系統啟動後不載入防火牆

  [root@rac02 tmp]# grep -v "#" /etc/selinux/config   #編輯config檔案,禁用selinux

SELINUX=disabled

SELINUXTYPE=targeted

 

3、確認以下包全部安裝

[root@rac02 /]# rpm -q gcc make binutils openmotif setarch compat-db libXp
gcc-4.1.2-51.el5
make-3.81-3.el5
binutils-2.17.50.0.6-14.el5
openmotif-2.3.1-5.el5_5.1
setarch-2.0-1.1
compat-db-4.2.52-5.1
package compat-gcc is not installed
package compat-gcc-c++ is not installed
package compat-libstdc++-devel is not installed
libXp-1.0.0-8.1.el5

[root@rac02 /]# rpm -qa |grep compat-gcc
compat-gcc-34-3.4.6-4.1
compat-gcc-34-c++-3.4.6-4.1
compat-gcc-34-g77-3.4.6-4.1

[root@rac02 /]# rpm -qa |grep compat-libstdc
compat-libstdc++-33-3.2.3-61
compat-libstdc++-296-2.96-138

備忘:其實也不必在這個地方耗費太多時間,若有相關包未安裝時,在安裝oracle前環境檢測會有提示,只要根據提示安裝好相關包即可。

  • 1
  • 2
  • 3
  • 4
  • 下一頁

聯繫我們

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