zoukankan      html  css  js  c++  java
  • linux 5下启动oracle的完整步骤(前提:环境变量都已配置完毕)

    [root@sherlock /]# su - oracle(必须在oracle用户下,注意空格)
    [oracle@sherlock /]$ . home/oracle/.bash_profile
    [oracle@sherlock ~]$ sqlplus / as sysdba

    SQL*Plus: Release 11.2.0.1.0 Production on 星期二 12月 25 21:04:16 2012

    Copyright (c) 1982, 2009, Oracle. All rights reserved.

    已连接到空闲例程。

    SQL> startup
    ORACLE 例程已经启动。

    Total System Global Area 535662592 bytes
    Fixed Size 1337720 bytes
    Variable Size 360711816 bytes
    Database Buffers 167772160 bytes
    Redo Buffers 5840896 bytes
    数据库装载完毕。
    数据库已经打开。
    SQL> select * from v$version;

    BANNER
    --------------------------------------------------------------------------------
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE 11.2.0.1.0 Production
    TNS for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production

    SQL> shutdown immediate
    数据库已经关闭。
    已经卸载数据库。
    ORACLE 例程已经关闭。
    SQL> exit
    从 Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options 断开
    [oracle@sherlock /]$

  • 相关阅读:
    9.20 kali中的Metasploit生成木马控制windows 以及http协议相关
    9.19 接上一篇,jss
    9.18 DNS服务安装
    9.17 ubuntu安装LAMP服务
    线程的安全问题
    java实现多线程(上)
    异常处理
    抽象方法和接口、内部类
    面向对象的一些关键字和方法
    Object类和包装类的一些方法
  • 原文地址:https://www.cnblogs.com/sherlockhomles/p/3089224.html
Copyright © 2011-2022 走看看