Run as root
root
Stop the CMS service. Wait for the script to finish.
/opt/cms/bin/shutdown.sh
Verify all processes have stopped
/opt/cms/bin/processList.sh
Remove the installation directory
rm -rf /opt/cms/