Linux系统轻松卸载Oracle数据库(linux卸载oracle)
随着随睗着物联网、云计算以及大数据的蓬勃发展,许多企业及大型公司都需要用到Oracle数据库作为数据库支撑,但在使用过程中,也许经常会遇到需要卸载Oracle数据库操作系统的时候,对于初次使用Oracle数据库的用户来说,不知道如何从Linux系统命令界面卸载它,下面平台和我一起来简要的介绍一下,如何从Linux系统命令界面卸载Oracle数据库。
首先,在Linux系统命令行中输入ps -ef| grep pmon来检测是否Oracle数据库已经启动,例如:
$ps -ef| grep pmon
oracle 1305 1 0 17:16 ? 00:00:00oramsPNOTSRVC_vcdb
下一步,通过输入shutdown immediate关闭Oracle数据库:
$shutdown immediate
Database closed.
接着,把相关的实例文件都删除(比如oracle文件夹和多个前缀为ora的文件夹):
rm -rf /path/to/oracle
接下来,在text文件内输入内容 /etc/oratab ,例如:
$ echo “#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 separator.A new line terminates
#the entry. Lines beginning with a pound sign, # ,are comments
#
#Entries are of the form:
#
# $ORACLE_SID:$ORACLE_HOME::
#
# where $ORACLE_SID corresponds to an SID in the oratab file
# and $ORACLE_HOME is an ORACLE_HOME directory.
# The :N sets ORACLE_SID to not mount and open
# the database on a restart inthe rc.d init system.
#
# The :Y sets ORACLE_SID to mount and open
# the database on a restart in the rc.d init system.
#
#Adding an entry to the /etc/oratab file as follows:
#oracl:ALL:N:
#will indicate to the rc.d init system that the database
# oracl should not be mounted and opened on startup.
#
#*IMPORTANT*: Change the fields below to the correct values for
#your database. See actual entries below:
#N is for no
#Y is for yes
vcdb:/u01/app/oracle/product/12.2.0.2/db_1:N
” /etc/oratab
最后,重启系统以完成卸载Oracle数据库操作:
reboot
以上就是正确地从Linux系统命令界面卸载Oracle数据库所需要的步骤和步骤,只需短短几分钟的时间,就能够把过去令人头痛的卸载Oracle数据库,变得一丝不苟,对于不擅长操作Linux系统命令行的人来说,要正确操作Oracle数据库也是同样重要的,这样可以有效避免卸载操作出现的一些问题。
我想要获取技术服务或软件
服务范围:MySQL、ORACLE、SQLSERVER、MongoDB、PostgreSQL 、程序问题
服务方式:远程服务、电话支持、现场服务,沟通指定方式服务
技术标签:数据恢复、安装配置、数据迁移、集群容灾、异常处理、其它问题
本站部分文章参考或来源于网络,如有侵权请联系站长。
数据库远程运维 Linux系统轻松卸载Oracle数据库(linux卸载oracle)
相关文章
- 数据库的重要功能利用Oracle数据库的存储过程解决复杂业务场景(存储过程是oracle)
- 细说OCI连接Oracle数据库(oci连接oracle)
- 深入探索Linux远程管理工具的魅力(linux远程管理工具)
- 处理Oracle数据库中的空值(oracle空值判断)
- 精通Oracle数据库触发器类型(oracle触发器类型)
- Linux的发展历程:从分支到领先者(linux的分支)
- 如何在Linux系统中添加网卡?(linux添加网卡)
- Oracle数据库中出现表锁怎么办?(oracle被锁的表)
- 深入了解Oracle连接原理,轻松应对数据库连接问题(oracle连接原理)
- 一步步教你在Linux下如何快速安装Ntop(linux ntop安装)
- 比较MySQL和Oracle:哪一个更适合你?(mysql和oracle)
- Oracle:旗舰数据库占据市场份额(oracle 市场份额)
- Oracle数据库中日期查询的技巧(oracle关于日期查询)
- 放弃数据库Oracle的命运(abort oracle)
- Oracle数据库中的重复计算方法(oracle中计算重复项)
- Oracle中快速安全覆盖表数据的方法(oracle中覆盖表数据)
- 对Oracle表中数据的舍小数取整处理(oracle中舍小数取整)
- Oracle PM模块实现最佳资源管理(oracle pm 模块)
- 探索Oracle CRM 改变您的业务之旅(oracle crm特点)