Chinaunix首页 | 论坛 | 博客
  • 博客访问: 256021
  • 博文数量: 37
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 378
  • 用 户 组: 普通用户
  • 注册时间: 2015-12-19 22:03
文章分类
文章存档

2018年(9)

2017年(11)

2016年(17)

我的朋友

分类: LINUX

2017-12-09 11:07:59

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
阅读(2209) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~