1.Remove DB【首先删除数据库】
(1)su - db2inst1
(2)db2 list db directory
(3)db2 drop db
2.Remove Instance【删除实例】
(1)su - root
(2)cd /instance
(3)./db2ilist
(4)./db2idrop -f
3.Remove das【删除das】
(1)su - root
(2)cd /instance
(3)./daslist
(4)./dasdrop
4.Uninstall【卸载】
(1)su - root
(2)cd /install
(3)./db2_deinstall -a
5.Remove user ( db2inst1,db2fenc1,dasusr1)【删除用户和用户组】
(1)userdel -r
(2)groupdel -r
阅读(862) | 评论(0) | 转发(0) |