导航:首页 > 操作系统 > linux开启oracle

linux开启oracle

发布时间:2022-12-28 20:13:24

linux下怎么启动oracle数据库,命令是什么

启动oracle数据库步骤:x0dx0a首先使用oracle用户登录Linux,然后在shell命令行中执行下面的命令:x0dx0a第一步:打开Oracle监听x0dx0a$ lsnrctl startx0dx0a第二步:进入sqlplusx0dx0a$ sqlplus /nologx0dx0aSQL>x0dx0a第三步:使用sysdab角色登录sqlplusx0dx0aSQL> conn /as sysdbax0dx0a第四步:启动数据库x0dx0aSQL> startupx0dx0a经过上面的四个步骤,oracle数据库就可以启动了。x0dx0a关闭数据库用 shutdown 是要等待事物结束才关闭,强制关闭用 shutdown abort。

Ⅱ 如何在Linux中设置开机自动启动oracle

对于LINUX 操作系统 有很多技术知识是我们需要学习的。这里我就给大家介绍Linux中设置oracle开机自动启动的 方法 。一起来看看吧。

Linux中设置oracle开机自动启动的方法

在terminal中切换到root用户

查看/etc/oratab文件的内容,其内容如下

[root@golonglee ~]# cat /etc/oratab | grep -v ^$

#

# This file is used by ORACLE utilities. It is created by root.sh

# and updated by the Database Configuration Assistant when creating

# a database.

# A colon, ':', is used as the field terminator. A new line terminates

# the entry. Lines beginning with a pound sign, '#', are comments.

#

# Entries are of the form:

# $ORACLE_SID:$ORACLE_HOME::

#

# The first and second fields are the system identifier and home

# directory of the database respectively. The third filed indicates

# to the dbstart utility that the database should , "Y", or should not,

# "N", be brought up at system boot time.

#

# Multiple entries with the same $ORACLE_SID are not allowed.

#

#

oel63:/home/oracle/app/oracle/proct/11.2.0/dbhome_1:N

使用命令vi /etc/oratab编辑文件/etc/oratab,在最后添加如下内容

##### what I have written is as following

oel63:/home/oracle/app/oracle/proct/11.2.0/dbhome_1:Y

#####Finished wrote in 2015-12-24

说明:/home/oracle/app/oracle/proct/11.2.0/dbhome_1为oracle的安装目录,要根据实际情况进行修改。

(注意:图中我用红色标记的N要改成Y)

找到最后的内容

oel63:/home/oracle/app/oracle/proct/11.2.0/dbhome_1:N

复制该行oel63:/home/oracle/app/oracle/proct/11.2.0/dbhome_1:N并注释掉

粘贴该行,并将该行

oel63:/home/oracle/app/oracle/proct/11.2.0/dbhome_1:N最后的N

改为Y

最后按2次ESC键,并输入:wq并按下enter保存,退出

使用命令vi /etc/rc.d/rc.local编辑rc.local文件,添加如下内容

##### what I have written is as following

su oracle -lc "/home/oracle/app/oracle/proct/11.2.0/dbhome_1/bin/lsnrctl start"

su oracle -lc /home/oracle/app/oracle/proct/11.2.0/dbhome_1/bin/dbstart

#####Finished wrote in 2015-12-24

说明:因为第一行命令中有空格所以用双引号(英文的双引号)

/home/oracle/app/oracle/proct/11.2.0/dbhome_1为oracle的安装目录,要根据实际情况进行修改。

最后按2次ESC键,并输入:wq并按下enter保存,退出,重启机器,验证成功。

是不是很简单呢~快跟着我一起学习吧!!!如果觉得这篇 文章 不错的话就给我点一个赞吧。

Ⅲ Linux下安装了Oracle怎么开启

不是express版的吧,
express是一个打包好的文件,安装完了要运行/etc/init.d/oracle-xe
configure来配置的。。。
标准版的是一个压缩
需要运行安装脚本进行安装,安装过程有很多步的,当然也包括设置密码。。。
劝你还是把问题说清楚些。
myeclipse是收费的,由于众所周知的原因,myeclipse会不时的屏蔽中国的ip,所以,要用迅雷下

Ⅳ linux开启oracle服务命令是什么

如果你的oracle安装和配置都没有问题的话:

#su - oracle

$sqlplus / as sysdba

>startup

>exit

$lsnrctl start

$ps -ef|grep oracle

Ⅳ Linux下安装了Oracle怎么开启

工具:sqlplus

  1. 打开Linux字符集界面,登录Oracle用户

  2. 启动监听:lsnrctl start

  3. sqlplus / as sysdba(注意空格)

  4. 当现实已连接时,输入startup回车

  5. select status from v$instance;查看是不是OPEN,如果是,此时说明数据库已经开启。

阅读全文

与linux开启oracle相关的资料

热点内容
企业邮箱登录收件服务器地址 浏览:556
计算机思维与算法设计的重要性 浏览:664
linux刷新磁盘命令 浏览:74
我的世界如何查看服务器种子pc 浏览:284
linuxlamp编译安装 浏览:609
枚举算法ppt 浏览:184
cmd查看进程命令 浏览:956
手机内怎么删除APP 浏览:834
鱼群和鸟群算法区别 浏览:93
pdf尺寸设置 浏览:211
android访问本地服务器 浏览:512
程序员相亲被删除微信 浏览:790
centos命令窗口 浏览:596
编译器有几个好用的 浏览:500
数据库和网站如何搭载服务器 浏览:154
网络流理论算法与应用 浏览:795
java和matlab 浏览:388
钉钉苹果怎么下app软件 浏览:832
php网站验证码不显示 浏览:859
铝膜构造柱要设置加密区吗 浏览:344