標籤:style blog http io ar os sp for java
規劃:
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. 插入光碟片
2.直接斷行符號進入下一步
3.選擇安裝時語言,這裡選擇簡體中文
4.選擇鍵盤
5. 選擇存放裝置,這裡用的普通硬碟直接選擇基本存放裝置裝置
6.設定電腦名稱
7.配置網路
8.選擇時鐘時區,這裡很重要我們選擇亞洲/上海
9.設定密碼,盡量設定密碼複雜強度
弱密碼會有以下提示,這裡測試環境不用理
10.建立分區
注意先劃boot分區,可以不用劃,但是劃boot分區不能是lvm,大小200M以內足已
劃分lvm
格式化分區
11.選擇安裝組件
選擇Basic Server-現在自訂
去掉java平台及Perl支援
應用程式選擇Emacs及互連網應用程式
案頭可全選
開始安裝
安裝完成
重新引導
注意設定NTP
添加host記錄
[[email protected] ~]# 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
[[email protected] ~]#
關閉selinux
[[email protected] ~]# sed -i ‘/SELINUX/s/enforcing/disabled/‘ /etc/selinux/config
[[email protected] ~]# 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安裝