一、创建数据库
AG接口,BBIN接口,MG接口,PT接口对接平台《企娥21717 93408》
在oracle用户的图形界面终端输入dbca:
[oracle@localhost ~]$ dbca
回车弹出如下界面:
二、启动数据库
默认数据库建立后就启动了,若服务器重启,需手动启动数据库
[oracle@localhost ~]$ export ORACLE_SID=orcl #选择自己需要启动的数据库SID
[oracle@localhost ~]$ echo $ORACLE_SID #显示实例名
orcl
[oracle@localhost ~]$ sqlplus /nolog
SQL*Plus: Release 11.2.0.1.0 Production on Mon Dec 17 23:10:13 2018
Copyright (c) 1982, 2009, Oracle. All rights reserved.
SQL> connect sys as sysdba
Enter password:
Connected.
SQL> startup
ORACLE instance started.
Total System Global Area 313159680 bytes
Fixed Size 2212936 bytes
Variable Size 109054904 bytes
Database Buffers 197132288 bytes
Redo Buffers 4759552 bytes
Database mounted.
Database opened.
SQL>