首页 > 代码库 > CentOS 6.5安装Oracle 11.2.0.4------CentOS 6.5安装

CentOS 6.5安装Oracle 11.2.0.4------CentOS 6.5安装

规划:

IP:192.168.213.199 mask: 255.255.255.0 gateway:192.168.213.1 DNS1:202.101.172.35

磁盘分区:

磁盘总大小:25G

/u01 5*1024 5120M 数据库软件分区至少大于5G

/oradata 12*1024 12288M 数据库文件分区

/swap 1100*2M

/ 剩下

1. 插入光盘

clip_image002

2.直接回车进入下一步

clip_image004

3.选择安装时语言,这里选择简体中文

clip_image006

4.选择键盘

clip_image008

5. 选择存储设备,这里用的普通硬盘直接选择基本存储设备

clip_image010

6.设置计算机名

clip_image012

7.配置网络

clip_image014

clip_image016

8.选择时钟时区,这里很重要我们选择亚洲/上海

clip_image018

9.设置密码,尽量设置密码复杂强度

clip_image020

弱密码会有以下提示,这里测试环境不用理

clip_image022

10.创建分区

clip_image024

注意先划boot分区,可以不用划,但是划boot分区不能是lvm,大小200M以内足已

clip_image026

clip_image028

划分lvm

clip_image030

clip_image032

clip_image034

clip_image036

clip_image038

clip_image040

clip_image042

clip_image044

格式化分区

clip_image046

clip_image048

11.选择安装组件

选择Basic Server-现在自定义

clip_image050

去掉java平台及Perl支持

clip_image052

应用程序选择Emacs及互联网应用程序

clip_image054

桌面可全选

clip_image056

开始安装

clip_image058

安装完成

clip_image060

重新引导

注意设置NTP

clip_image062

添加host记录

[root@ORA11G-DG1 ~]# cat /etc/hosts

127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4

::1 localhost localhost.localdomain localhost6 localhost6.localdomain6

192.168.213.199 ORA11G-DG1

[root@ORA11G-DG1 ~]#

关闭selinux

[root@ORA11G-DG1 ~]# sed -i ‘/SELINUX/s/enforcing/disabled/‘ /etc/selinux/config

[root@ORA11G-DG1 ~]# cat /etc/sysconfig/selinux

# This file controls the state of SELinux on the system.

# SELINUX= can take one of these three values:

# enforcing - SELinux security policy is enforced.

# permissive - SELinux prints warnings instead of enforcing.

# disabled - No SELinux policy is loaded.

SELINUX=disabled

# SELINUXTYPE= can take one of these two values:

# targeted - Targeted processes are protected,

# mls - Multi Level Security protection.

SELINUXTYPE=targeted

CentOS 6.5安装Oracle 11.2.0.4------CentOS 6.5安装