[oracle@nicoa templates]$ pwd
/u01/app/oracle/product/10.2.0/db_1/assistants/dbca/templates
[oracle@nicoa templates]$ echo $ORACLE_SID
nico1
[oracle@nicoa templates]$ dbca -silent -createDatabase \
> -templatename General_Purpose.dbc \
> -gdbname nico1 -sid nico1 \
> -SysPassword oracle -SystemPassword oracle \
> -emConfiguration NONE \
> -characterSet ZHS16GBK
Copying database files
1% complete
3% complete
11% complete
18% complete
26% complete
37% complete
Creating and starting Oracle instance
40% complete
45% complete
50% complete
55% complete
56% complete
60% complete
62% complete
Completing Database Creation
66% complete
70% complete
73% complete
85% complete
96% complete
100% complete
Look at the log file "/u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/dbca/nico1/nico1.log" for further details.
[oracle@nicoa templates]$ sqlplus / as sysdba
SQL*Plus: Release 10.2.0.5.0 - Production on Sun Feb 13 15:13:12 2011
Copyright (c) 1982, 2010, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> select status from v$instance;
STATUS
------------
OPEN
SQL> select name from v$datafile;
NAME
--------------------------------------------------------------------------------
/u01/app/oracle/oradata/nico1/system01.dbf
/u01/app/oracle/oradata/nico1/undotbs01.dbf
/u01/app/oracle/oradata/nico1/sysaux01.dbf
/u01/app/oracle/oradata/nico1/users01.dbf
SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
阅读(1620) | 评论(0) | 转发(0) |