1.停止em和数据库 emctl stop dbconsole shutdown immediate 2.又一次安装DB软件 ./runInstaller 选组件的时候,选中“Oracle database vault option”
3.改动环境变量 改动ORACLE_HOME 4.改动/etc/oratab中的ORACLE_HOME 5.从原来的HOME拷贝必要文件到现有HOME [oracle@single1 admin]$ pwd /u01/app/oracle/product/11.2.0/dbhome_1/network/admin [oracle@single1 admin]$ cp tnsnames.ora /u01/app/oracle/product/11.2.0/dbhome_3/network/admin/ [oracle@single1 dbs]$ pwd /u01/app/oracle/product/11.2.0/dbhome_1/db [oracle@single1 dbs]$ cp initsingle2.ora /u01/app/oracle/product/11.2.0/dbhome_3/dbs/ [oracle@single1 dbs]$ cp orapwsingle2 /u01/app/oracle/product/11.2.0/dbhome_3/dbs/ [oracle@single1 dbs]$ cp spfilesingle1.ora /u01/app/oracle/product/11.2.0/dbhome_3/dbs/ [oracle@single1 dbs]$ cp init.ora /u01/app/oracle/product/11.2.0/dbhome_3/dbs/ 6.启动数据库 startup 7.假设有EM,需重建