HPUnix上oracle10g安装与卸载简记(一)

2014-11-24 16:08:21 · 作者: · 浏览: 0
说明:

为节省篇幅,只对安装过程做一个梳理,具体安装的图形化界面同LINUX系统下一样,可以参看相关文章,此处不一一贴图了。

SWAP空间

[root@hp171log]#swapinfo -a --检查swap空间

Kb Kb Kb PCT START/ Kb

TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME

dev 2097152 0 2097152 0% 0 - 1 /dev/vg00/lvol2

reserve - 160492 -160492

memory 581384 106360 475024 18%

[root@hp175:/dev]#swapinfo

Kb Kb Kb PCT START/ Kb

TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME

dev 2097152 96560 2000592 5% 0 - 1 /dev/vg00/lvol2

reserve - 602972 -602972

memory 593576 107636 485940 18%

[root@hp171log]#date 0625141614 --同步系统时间

WedJun 25 14:16:00 MDT 2014

配置内核

# sam

\

此例,选择可配置的参数:

\

--shmmax参数:定义内存块中最大可以分配多少个内存

\

调整shmmax参数,按空格选中,按Tab转换选择

\

\

\

观察shmmax状态,变成了Dynamic

\

--PendingValue 未决的值,如果和Current Value值相同代表修改已经生效

--通过以上方式,便可以完成在安装如oracle相关软件时,根据文档去改变相关内核参数了

查看已安装的软件包

\

\

查看到已安装的软件,如下:

\

确认oracle所需软件包是否安装

\

\

安装oracle软件所需补丁包

1、网站下载补丁包(GOLDQPK11i_B.11.11.0812.479.depot),将补丁包上传至服务器

2、安装补丁包

[root@hp171/db]#swinstall -s /db/GOLDQPK11i_B.11.11.0812.479.depot

--s是source的意思,之后指明安装包的绝对路径

NOTE: The interactive UI was invoked, since nosoftware was

specified.

Startingthe terminal version of swinstall...

Tomove around in swinstall:

-use the "Tab" key to move between screen elements

-use the arrow keys to move within screen elements

-use "Ctrl-F" for context-sensitive help anywhere in swinstall

Onscreens with a menubar at the top like this:

------------------------------------------------------

|File View Options Actions Help|

| ---- ---- ------- ----------------------------------|

-use "Tab" to move from the list to the menubar

-use the arrow keys to move around

-use "Return" to pull down a menu or select a menu item

-use "Tab" to move from the menubar to the list without selecting amenu item

-use the spacebar to select an item in the list

Onany screen, press "CTRL-K" for more information on how to use thekeyboard.

Press"Return" to continue...

\

--按空格选中两个补丁包

\

\

\

使用X-manager远程调取图形化界面

\

# xhost + --配置后可通过xclock验证,如下图

\

$ exportDISPLAY=192.168.8.145:0.0

--$source .profile

$./runInstaller --运行安装程序,此处弹出错误如下

错误现象1

\

报错显示,/tmp文件空间不足,至少要69M空间

[root@hp171 /]#bdf --查看/tmp发现空间剩余94%

Filesystem kbytes used avail %used Mounted on

/dev/vg00/lvol3 204800 204800 0 100% /

/dev/vg00/lvol1 298928 65760 203272 24% /stand

/dev/vg00/lvol8 2613248 1374824 1230296 53% /var

/dev/vg00/lvol7 2334720 1614672 714456 69% /usr

/dev/vg00/lvol4 819200 768448 50440 94% /tmp

/dev/vg00/lvol6 3506176 2437328 1060520 70% /opt

/dev/vg00/lvol5 24576 2408 22000 10% /home

/dev/vg00/lv_db 23642112 5322484 18033764 23% /db

[root@hp171 /tmp]#rm -rf * --清空/tmp文件

[root@hp171 /tmp]#ls

.AgentSockets .dcs.37dd79 .dcs.trc1 .dcs.utillock

.VRTSisisshmem .dcs.dcgtlock .dcs.trc2 .oracle

[root@hp171 /tmp]#bdf --查看磁盘使用率

Filesystem kbytes used avail %used Mounted on

/dev/vg00/lvol3 204800 204800 0 100% /

/dev/vg00/lvol1 298928 65760 203272 24% /stand

/dev/vg00/lvol8 2613248 1374832 1230288 53% /