close

這應該是通用的,如果我有發現有不一樣的地方,我再補上來

Stop DB2 with db2inst1 authority
#su - db2inst1
#db2stop
  • Stop DB2 admin server
    #db2admin stop
  • Drop DB2 instance with root authority
    #./db2install_path/instance/db2idrop db2inst1

    if you don't know the instance name issue the following command to query
    #./db2ilist
  • Drop DB2 admin server with root authority
    #./db2install_path/instance/dasdrop dasuser1

    if you don't know the das name issue the following command to query
    #./daslist

  • Uninstall DB2, switch to db2install_path/install and issue the following command
    #./db2_deinstall -a
  • delete all DB2 user and group issue the following command
    #userdel -r username

    username in unix shoud be db2inst1 dasusr1 db2fenc1
  • Remove all DB2 ports in /etc/services
  • arrow
    arrow
      全站熱搜

      飛小豬 發表在 痞客邦 留言(0) 人氣()