Uninstallation
Prerequisites
- No tasks are running.
- The remote server is running properly.
Procedure
- Use an SSH tool to remotely log in to the OS CLI as the DevKit installation user.
- Copy the scan report to be retained from the /opt/DevKit/workspace/user/tools/report/ directory.
/opt indicates the tool installation directory, user indicates the user name, and tools indicates the tool name. Replace the example directory with the actual one, for example, /opt/DevKit/workspace/devadmin/porting/report.
- Run the following command to uninstall the Kunpeng DevKit:
1bash /opt/DevKit/tools/uninstall.shThe following information is displayed:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
You will remove devkit from your operating system, do you want to continue? [y/N]: y get devkit config The system uses yum to manage packages. File /opt/DevKit/tools/rpc_cluster/server/storage/server/taskcontrast not exists, continue Delete /opt/DevKit/tools/rpc_cluster/server/storage/server/assistant_suggestion.db file success Delete /opt/DevKit/tools/rpc_cluster/server/storage/server/standard_common.db file success Task data deleted successfully. Delete tuner install path Delete devkit install path success Starting uninstalling DevKit for Java Stopping Service DevKit for Java if it's running. kill: sending signal to 2033870 failed: No such process unregister Service DevKit for Java. Removed /etc/systemd/system/multi-user.target.wants/java_perf.service. Start removing files under DevKit for Java's home folder WARN: No file under DevKit Home /opt/DevKit/devkitplugins is found for DevKit for Java Start removing java_perf.service files under /home/root/java_perf The uninstallation is completed. Thanks for using DevKit for Java during these times! Hope see you again! Task data deleted successfully. Delete doctor install path Delete devkit install path success delete web ssl service certificates success no crontab for root Execute uninstall success.
- If you type y and press Enter when "A task is running. Are you sure you want to uninstall DevKit?(y/n)" is displayed, the task in progress will be stopped.
- The uninstallation will completely clear the tool installation history.
Parent topic: Tool Installation