This assumes IBM Installation Manager is still installed, as Installation Manager would have been used to install IHS.
ps -ef | grep httpd
List the installed packages. In this example, IHS is installed in the /opt/IBM/IHS directory.
~]# /opt/IBM/InstallationManager/eclipse/tools/imcl listInstalledPackages -long /opt/IBM/IHS : com.ibm.websphere.IHS.v90_220.127.116.1160526_1854
Create a compressed archive of the directory, so that you can restore IHS if needed.
tar -zcvf IHS.tar.gz /opt/IBM/IHS
Uninstall IHS. Instead of -showVerboseProgress, the -silent option can be used to not display any output during the uninstall.
/opt/IBM/InstallationManager/eclipse/tools/imcl uninstall com.ibm.websphere.IHS.v90_18.104.22.16860526_1854 -installationDirectory /opt/IBM/IHS -showVerboseProgress
Upon completion of the uninstall, the following text should be displayed.
Uninstalled com.ibm.websphere.IHS.v90_22.214.171.12460526_1854 from the /opt/IBM/IHS directory
After the uninstall, there may still be some files and directories left over. Removed the left over files and directories.
rm -rf /opt/IBM/IHS