Uninstall instructions - Debian

From Wiki

Jump to: navigation, search

Question

How to uninstall 1H products from my server?

Answer

If you want to completely remove all 1H products, including additional packages and the local interface itself, you should follow the instructions below:

  1. for i in `/usr/local/1h/bin/get_installed.sh | grep -v 'is not installed' | awk '{print $1}'`; do echo -n "$i "; done
  2. apt-get purge <the list generated by the previous command>
  3. rm -rf /var/log/1h* /usr/local/1h/ /home/1h/ /var/cache/yum/1h/
  4. userdel 1h
  5. Remove Include "/usr/local/apache/conf/includes/1h.conf" from Apache config and delete /usr/local/apache/conf/includes/1h.conf

What this will do:

  1. Get list of all installed 1h packages
  2. Use apt-get to remove all installed 1h packages
  3. Remove 1h log file(s), 1h software files, 1h home dir and the 1h repository cache (just in case so that it does not interfere with future installs/upgrades)
  4. Remove 1h user
  5. Remove the 1h webserver configuration file and the include from the global conf.

IMPORTANT: Note that if you want to remove Hive due to problems on your server after Hive installation, it is actually NOT necessary to completely uninstall the software. You can simply disable the mod_hive module in your Apache configuration or any of the Hive components as explained here.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox