1.登陆linux系统切换oracle用户,
[root@Zabbix_server dbhome_1]# su oralce
2.用管理员连到接数据库,启动数据库,启动完成后退出sql命令行,
[oracle@Zabbix_server dbhome_1]$ sqlplus /nolog
SQL*Plus: Release 11.2.0.1.0 Production on Sat Dec 2 21:31:28 2017
Copyright (c) 1982, 2009, Oracle. All rights reserved.
SQL> conn / as sysdba
Connected to an idle instance.
SQL> startup;
ORACLE instance started.
Total System Global Area 830930944 bytes
Fixed Size 2217912 bytes
Variable Size 532678728 bytes
Database Buffers 289406976 bytes
Redo Buffers 6627328 bytes
Database mounted.
Database opened.
SQL> exit
3.数据库实例化,该命令需在退出sql命令行之后执行,
lsnrctl start
阅读(2266) | 评论(0) | 转发(0) |