root@192.168.1.50's password:
[root@welsfargo12c ~]# mount /dev/sdb1 /data
[root@welsfargo12c ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 16G 11G 4.3G 71% /
tmpfs 1.3G 0 1.3G 0% /dev/shm
none 1.3G 40K 1.3G 1% /var/lib/xenstored
/dev/sdb1 40G 13G 25G 35% /data
[root@welsfargo12c ~]# su - oracle
[oracle@welsfargo12c ~]$ export ORACLE_BASE=/data/oracle
[oracle@welsfargo12c ~]$ export ORACLE_HOME=/data/oracle/product/12.1.0.2/db_1
[oracle@welsfargo12c ~]$ export ORACLE_SID=CDBTES
[oracle@welsfargo12c ~]$ sqlplus / as sysdba
SQL*Plus: Release 12.1.0.2.0 Production on Mon Sep 7 10:07:13 2015
Copyright (c) 1982, 2014, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup;
ORACLE instance started.
Total System Global Area 1048576000 bytes
Fixed Size 2932336 bytes
Variable Size 654311824 bytes
Database Buffers 385875968 bytes
Redo Buffers 5455872 bytes
Database mounted.
Database opened.
SQL>
No comments:
Post a Comment