4)通过oui安装gc
Unzip gc_102011_linux.zip
如果之前已安装过GC,需要编辑/etc/oratab文件,删除和gc相关的条目,并删除$ORACLE_BASE/oraInventory下内容。
$ runInstaller
图形界面中,GC安装目录选择$ORACLE_BASE /product/10.2.0/gc_1
设置现有数据库信息,及omr要使用的两个管理表空间的存储路径
点Next:
可能会碰到“the value of sgatarget is {0}, it must be equal to or greater than 268435456”错误,
这是因为sga_target<260M,需要对sga_max_size、sga_target参数进行修改。建议在安装gc前,调整这两个参数的大小。
还可能会碰到“the dbms_shared_pool package is not executed on the existing database”,
这是因为dbms_shared_pool包没安装,检查包安装情况:
Select count(*) from dba_objects where OWNER = 'SYS' AND object_name = 'DBMS_SHARED_POOL' AND object_type IN ( 'PACKAGE','PACKAGE BODY') ;
COUNT(*)
----------
0
安装dbms_shared_pool包:
$ORACLE_HOME/rdbms/admin/dbmspool.sql
这步也最好是安装gc前完成。
根据需要,决定是否配置metalink、proxy server。
设置oms、oma之间的通信密码,及sysman密码。
完成安装需要大致2G的磁盘空间,oms、omr占用1.6G,agent占用0.4G。
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/56630/viewspace-1037650/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/56630/viewspace-1037650/