/*TimesTen卸载也是通过脚本setup.sh 来完成的,但由于最终 setup.sh 所在的目录也将被删除,所以不要将当前的工作目录设为setup.sh所在的目录*/

[tt1@west-mountain bin]$ pwd

/home/tt1/TimesTen/tt70/bin

[tt1@west-mountain bin]$ cd[tt1@west-mountain ~]$ /home/tt1/TimesTen/tt70/bin/setup.sh -uninstall

  

** WARNING **

   The uninstallation has been executed by a non-root user.

   If the TimesTen daemon startup scripts were installed,

   you must run <install_dir>/bin/setuproot -uninstall

   to remove them. If you proceed with this uninstallation, you

   will have to remove the startup scripts manually.

   Would you like to proceed with the uninstallation? [ yes ]

   Are you sure you want to completely remove the instance tt70 (TimesTen7.0.2) and all of its components? [ yes ]

  

NOTE: /home/tt1/TimesTen/tt70/info contains information related to the data

   stores that have been created with this release. If you remove

   /home/tt1/TimesTen/tt70/info

   you will no longer be able to access your data stores,

   nor would you be able to restore nor migrate your data.

 /*一般TimesTen的配置文件都在 $TimesTen_Install/info 目录下,所以这一步要小心选择是否要删除该目录下的所有文件*/

   Would you also like to remove all files in /home/tt1/TimesTen/tt70/info? [ no ]

   /home/tt1/TimesTen/tt70 Removed (retained /home/tt1/TimesTen/tt70/info)

TimesTen uninstall completed.

留言