ITPub博客

首页 > Linux操作系统 > Linux操作系统 > Oracle11gR2系统安装笔记(1)

Oracle11gR2系统安装笔记(1)

原创 Linux操作系统 作者:cow977 时间:2012-11-11 18:33:00 0 删除 编辑
在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

关闭sendmail和iptables:

[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:将链设置为政策 ACCEPT:filter [确定]

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博客 ” ,链接:https://blog.itpub.net/81227/viewspace-749499/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2011-03-02

  • 博文量
    698
  • 访问量
    893915