Oracle11gR2系統安裝筆記(1)

cow977發表於2012-11-11
在VM ESXi 5.0虛擬機器上安裝OLE6.1

最小化安裝作業系統。

Hostname=Ora11g203

 

配置網路:system-config-network

網路:ETH0è192.168.107.46/24 閘道器:192.168.107.3

配置完後,要重啟網路:ifdown eth0; ifup eth0

 

以下,可以用SSH登入伺服器。

 

開始Oracle的安裝。

SecureCRT中文亂碼的解決:因伺服器LANG設定為“zh_CN.UTF-8,所以設定會話選項 => 終端 => 外觀 => 字元編碼為“UTF-8

[root@ORA11g203 ~]# fdisk -l

 

Disk /dev/sda: 85.9 GB, 85899345920 bytes

255 heads, 63 sectors/track, 10443 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk identifier: 0x0005d71b

 

   Device Boot      Start         End      Blocks   Id  System

/dev/sda1   *           1          64      512000   83  Linux

Partition 1 does not end on cylinder boundary.

/dev/sda2              64       10444    83373056   8e  Linux LVM

 

Disk /dev/mapper/vg_ora11g203-lv_root: 53.7 GB, 53687091200 bytes

255 heads, 63 sectors/track, 6527 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk identifier: 0x00000000

 

Disk /dev/mapper/vg_ora11g203-lv_root doesn't contain a valid partition table

 

Disk /dev/mapper/vg_ora11g203-lv_swap: 4227 MB, 4227858432 bytes

255 heads, 63 sectors/track, 514 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk identifier: 0x00000000

 

Disk /dev/mapper/vg_ora11g203-lv_swap doesn't contain a valid partition table

 

Disk /dev/mapper/vg_ora11g203-lv_home: 27.5 GB, 27455913984 bytes

255 heads, 63 sectors/track, 3337 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk identifier: 0x00000000

 

Disk /dev/mapper/vg_ora11g203-lv_home doesn't contain a valid partition table

[root@ORA11g203 ~]# lvdisplay

  --- Logical volume ---

  LV Name                /dev/vg_ora11g203/lv_root

  VG Name                vg_ora11g203

  LV UUID                SKL2Ai-ejLX-h3mk-m86Q-Xk0f-yjb5-9PvLrm

  LV Write Access        read/write

  LV Status              available

  # open                 1

  LV Size                50.00 GiB

  Current LE             12800

  Segments               1

  Allocation             inherit

  Read ahead sectors     auto

  - currently set to     256

  Block device           253:0

 

  --- Logical volume ---

  LV Name                /dev/vg_ora11g203/lv_home

  VG Name                vg_ora11g203

  LV UUID                23VYuZ-oe6w-ZOKY-KBem-uYwz-tK7b-TU2e0P

  LV Write Access        read/write

  LV Status              available

  # open                 1

  LV Size                25.57 GiB

  Current LE             6546

  Segments               1

  Allocation             inherit

  Read ahead sectors     auto

  - currently set to     256

  Block device           253:2

 

  --- Logical volume ---

  LV Name                /dev/vg_ora11g203/lv_swap

  VG Name                vg_ora11g203

  LV UUID                TVW62d-yMJK-xQaV-sYLH-OYvz-EFjL-lVCDld

  LV Write Access        read/write

  LV Status              available

  # open                 1

  LV Size                3.94 GiB

  Current LE             1008

  Segments               1

  Allocation             inherit

  Read ahead sectors     auto

  - currently set to     256

  Block device           253:1

[root@ORA11g203 ~]# df -k

檔案系統                 1K-      已用      可用 已用% 掛載點

/dev/mapper/vg_ora11g203-lv_root

                      51606140   2030100  46954600   5% /

tmpfs                  1025360         0   1025360   0% /dev/shm

/dev/sda1               495844     50348    419896  11% /boot

/dev/mapper/vg_ora11g203-lv_home

                      26391624    176064  24874940   1% /home

關閉sendmailiptables

[root@ORA11g203 ~]# chkconfig --list iptables

iptables        0:關閉  1:關閉  2:啟用  3:啟用  4:啟用  5:啟用  6:關閉

[root@ORA11g203 ~]# chkconfig iptables off

[root@ORA11g203 ~]# chkconfig --list iptables

iptables        0:關閉  1:關閉  2:關閉  3:關閉  4:關閉  5:關閉  6:關閉

[root@ORA11g203 ~]# service iptables stop

iptables:清除防火牆規則:[確定]

iptables:將鏈設定為政策 ACCEPTfilter [確定]

iptables:正在解除安裝模組:[確定]

[root@ORA11g203 yum.repos.d]# chkconfig --list ip6tables

ip6tables       0:關閉  1:關閉  2:啟用  3:啟用  4:啟用  5:啟用  6:關閉

[root@ORA11g203 yum.repos.d]# chkconfig ip6tables off

[root@ORA11g203 yum.repos.d]# chkconfig --list ip6tables

ip6tables       0:關閉  1:關閉  2:關閉  3:關閉  4:關閉  5:關閉  6:關閉

[root@ORA11g203 yum.repos.d]# service ip6tables stop

ip6tables清除防火牆規則[確定]

ip6tables chains 設定為 ACCEPT 策略filter [確定]

ip6tables正在解除安裝模組[確定]

[root@ORA11g203 ~]# chkconfig --list sendmail

sendmail 服務中讀取資訊時出錯:沒有那個檔案或目錄

 

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/81227/viewspace-749499/,如需轉載,請註明出處,否則將追究法律責任。

相關文章