`
king520
  • 浏览: 167367 次
  • 性别: Icon_minigender_1
  • 来自: 合肥
文章分类
社区版块
存档分类
最新评论

step by step,start oracle in linux

阅读更多

remember this command:

su - oracle
export ORACLE_SID=ahyd 
sqlplus /nolog
conn /as sysdba
startup
lsnrctl start


其中重点注意export命令:

 Linux export命令

功能说明:设置或显示环境变量

 语 法:export [-fnp][变量名称]=[变量设置值]

 补充说明:在shell中执行程序时,shell会提供一组环境变量。export可新增,修改或删除环境变量,供后续执行的程序使用。export的效力仅及于该次登录操作。

 参 数:

  -f 代表[变量名称]中为函数名称。

  -n 删除指定的变量。变量实际上并未删除,只是不会输出到后续指令的执行环境中。

  -p 列出所有的shell赋予程序的环境变量。

分享到:
评论

相关推荐

    Learning Linux Shell Scripting 2nd Edition pdf

    You'll then take a step ahead and learn new and advanced topics in Shell scripting, such as decision making, starting up a system, and customizing a Linux environment. You will also learn about grep,...

    Oracle Business Intelligence Enterprise Edition 12c - Second Edition

    This book will take you from one feature to another in a step-by-step manner and will teach how you can create effective business intelligence using Oracle Business Intelligence Enterprise Edition....

    Instant.Oracle.Database.and.PowerShell.How-to

    Filled with practical, step-by-step instructions and clear explanations for the most important and useful tasks. Get the job done and learn as you go. This How-To guide is full of hands-on examples to...

    最全的oracle常用命令大全.txt

    SQL>START test SQL>@test 常用SQL*Plus语句 a、表的创建、修改、删除 创建表的命令格式如下: create table 表名 (列说明列表); 为基表增加新列命令如下: ALTER TABLE 表名 ADD (列说明列表) 例:为test表...

    Expert Oracle Database Architecture 2nd Edition

    I first met the Oracle RDBMS some time in 1988, or possibly 1987, when my manager dumped a small box on my desk and said something like: “There’s this new product called Oracle just coming into the...

    ORACLE OSB开发指南

    ORACLE OSB开发指南,英文版。 目录: Part I IDE Help for Oracle ...Consuming Oracle Service Bus Proxy Services in Oracle JDeveloper with WSIL ................ 2-15 Editing Proxy Services.....................

    Oracle P/L SQL实现发送Email、浏览网页等网络操作功能

    Execute Immediate 'Create Sequence SYS_RAND_ID minvalue 1 maxValue 99999999999999999 Start With 1 increment by 1 cache 5 cycle order'; End; / --1、创建类型 Create Or Replace Type Strcat_type As ...

    Oracle 自增(auto increment) 或 标识字段的建立方法

    建立 SEQUENCE CREATE [ OR REPLACE ] SEQUENCE sequence_identity START WITH initial seed INCREMENT BY step MAXVALUE upper bound [NOMAXVALUE] NOCYCLE [empty] 2. 建立 TRIGGER CREATE [ OR REPLACE ] ...

    plsqldev13.0.0.1882x32主程序+ v12中文包+keygen

    You can manually enter the filter [removed]such as "owner, name" above, to show all columns with these 2 words in the name), or you can build a column filter by pressing the [...] button: A "Compare ...

    Citrix_XenApp5

    • often be deployed in scenarios where machines are older, slower, or not in need of additional configuration options such as the Start menu and desktop shortcuts • Program Neighborhood • Oldest ...

    Delphi7.1 Update

    If you encounter an empty Help Index tab after installing this update, open the d7.ohi file in the Delphi7Help folder and comment out one or more of the index entries by changing the colon in column ...

Global site tag (gtag.js) - Google Analytics