GBASE南大通用GBase 8s数据库-卸载

GBASE南大通用技术分享:GBase 8s数据库卸载
 

卸载GBase 8s数据库组件与数据

GBase 8s提供了一个卸载程序,用于GBase 8s数据库的卸载。

进入卸载程序的目录

[root@devsvr ~]# cd /opt/gbase/uninstall/uninstall_ids/
[root@devsvr uninstall_ids]# ls
InstallScript.iap_xml  installvariables.properties  removablesList.txt  uninstaller.jar  uninstallids  uninstallids.lax

启动卸载程序,开始卸载GBase 8s

[root@devsvr uninstall_ids]# ./uninstallids
===============================================================================
GBase Software Bundle                            (created with InstallAnywhere)
-------------------------------------------------------------------------------

Preparing CONSOLE Mode Uninstallation...



===============================================================================
Uninstall GBase Software Bundle
-------------------------------

About to uninstall GBase Software Bundle.

In this uninstall process, all GBase Software Bundle products in /opt/gbase 
will be uninstalled.
It is recommended that you first shutdown all database server instances related
to this installation prior to uninstalling the product.

PRESS <ENTER> TO CONTINUE: 

回车确认

===============================================================================
Server Uninstall Options
------------------------

Server action:

Important: Choosing to remove all databases will remove all database chunks, 
environment files, registry entries, and message log files for all database 
server instances associated with this installation.

  ->1- Retains all databases, but removes all server binaries
    2- Removes server binaries and all databases associated with them

ENTER THE NUMBER FOR YOUR CHOICE, OR PRESS <ENTER> TO ACCEPT THE DEFAULT:: 2

我们需要删除GBase 8s数据库组件和全部的数据库,输入2并回车。

卸载程序开始运行

===============================================================================
Uninstalling...
---------------

...*
*
*************************
*************************
*************************
************************
...*
*
*************************
*************************
*************************
************************
...*
*
*************************
*************************
*************************
************************
...*
*
*************************
*************************
*************************
*************************

===============================================================================
Uninstall Complete
------------------

Uninstall is complete for GBase Software Bundle.

Product uninstall status:
GBase: Successful

GBase 8s数据库卸载成功。


GBASE南大通用技术分享:清除残余的目录

由于卸载程序在GBase 8s的安装目录中,因此卸载程序并没有完成清空安装目录,需要我们手动清除。

[root@devsvr uninstall_ids]# cd /opt
[root@devsvr opt]# ls
gbase  rh
[root@devsvr opt]# rm -rf gbase

GBASE南大通用技术分享:删除gbasedbt用户

执行userdel,删除用户。

[root@devsvr ~]# userdel -r gbasedbt

检查确认用户和组是否删除。

至此,GBase 8s 卸载完成。

  • 9
    点赞
  • 10
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值