Sie sind auf Seite 1von 2

********************************* MANUAL INSTALLATION OF DATABASE : ******************************** STEP 1: ****** Login as oracle user and open the teminal [oracle@localhost

~]$ cd /u01/app/oracle/admin/ $ mkdir newdb $ mkdir adump bdump cdump dpdump pfile udump STEP 2: ****** Copy init.ora file $ CP '/U01/app/oracle/admin/oracle/pfile/init.ora.4252011152834' /u01/app/oracle /admin/newdb/pfile/ STEP 3: ****** We will make the changes in the pfile. Replace the orcl word with newdb in the c omplete file. [oracle@localhost ~]$ vi /u01/app/oracle/admin/newdb/pfile/init.ora.425201115283 4 NOTE: Replace all the old database name by newdatabase name {% s/oracledb/newdb/ g} STEP 4: ****** Inside the oradata folder i created the new folder "newdb" where all my CDR file s will be built. [oracle@localhost ~]$ cd /u01/app/oracle/oradata/ $mkdir newdb STEP 5: ****** We have just created the password file in the dbs folder. [oracle@localhost ~]$ cd /u01/app/oracle/product/10.2.0/db_1/dbs/ orapwd file=orapwnnewdb password=oracle entries=5 force=y STEP 6: ****** Now we will create the database with the create database command. $ su - oracle [oracle@localhost ~]$ export ORACLE_SID=newdb [oracle@localhost ~]$ sqlplus / as sysdba SQL> startup nomount pfile=/u01/app/oracle/admin/newdb/pfile/init.ora.4252011152 834 [Note: SQL> define _editor=vi

SQL>ed SQL>/ For run the script] SQL> create database newdb logfile group 1 ('/u01/app/oracle/oradata/newdb/redo1.log') size 100M, group 2 ('/u01/app/oracle/oradata/newdb/redo2.log') size 100M character set WE8ISO8859P1 national character set utf8 datafile '/u01/app/oracle/oradata/newdb/system.dbf' size 500M autoextend on next 10M maxsize unlimited extent management local sysaux datafile '/u01/app/oracle/oradata/newdb/sysaux.dbf' size 100M autoextend on next 10M maxsize unlimited undo tablespace undotbs1 datafile '/u01/app/oracle/oradata/newdb/undotbs1.dbf' size 100M default temporary tablespace temp tempfile '/u01/app/oracle/oradata/n ewdb/temp01.dbf' size 100M STEP 7: ****** Here the database will be created, now we will execuete the catalog and catproc scripts. @?/rdbms/admin/catalog.sql @?/rdbms/admin/catproc.sql Hence the manual installation is complete. ********************************************* HALIM KHAN (halim.jhs@gmail.com)

Das könnte Ihnen auch gefallen