Blog

How to uninstall HyperVM

Tags: hypervmreinstallUnintsall

Published on: November 23, 2012 by George K.

How to uninstall HyperVM

Scenario:

We are here discussing the steps to completely uninstall HyperVM.For this, you have to  run these commands on the server. Please note that there is no coming back. So do it safe and secure.

Let’s remove the HyperVM startup script first.

service hypervm stop
/etc/init.d/hypervm stop
chkconfig hypervm off
chkconfig –del hypervm
rm -f /etc/init.d/hypervm

Resetting the MySQL root password, so that we can delete the HyperVM DB later on. Please note that this php script can be used to reset the MySQL root password anywhere on any Linux box. Do note that password of hypervm db user can be found at /usr/local/lxlabs/hypervm/etc/conf/hypervm.pass and it could match with root password.

cd  /usr/local/lxlabs/hypervm/bin/common/misc/
php reset-mysql-root-password.phps

Removing the files associated with the installation.

rpm -e lxphp lxzend lxlighttpd
rm -rf /usr/local/lxlabs/
rm -rf /home/hypervm/
rm -rf /etc/xen/hypervm
rm -rf /etc/rc.d/init.d/hypervm
rm -rf /var/cache/hypervm
rm -rf /home/lxlabs
rm -rf /root/.etc/xxwin/gtk/lxlabs
rm -rf /usr/sbin/lxrestart
rm -rf /usr/bin/lxxen
rm -rf /usr/bin/lxopenvz
rm -rf /etc/yum.repos.d/lxlabs.repo
rm -rf /root/.etc/misc/lxlabs.repo
rm -rf /boot/lxxen-initrd.img
rm -rf /var/log/lxint*
rm -rf /var/cache/yum/lxlabsupdate
rm -rf /var/cache/yum/lxlabslxupdate

Also, you would need to remove the HyperVM DB as well. For that connect to the MySQL server and drop the database as well.

Credits : Umbrahosting – http://www.webhostingtalk.com/showthread.php?t=867927

Category : Howtos, Linux, VPS

George K.

George K.

George started his career in web hosting and Linux technical support in the year 2004 and is with SupportSages since 2009. He has keen interest in server optimizations, custom security solutions, hacked server recovery, cyber forensic and high availability fail over system design and implementation. George loves long drives and is passionate about art and literature.

You may also read:

Comments

Add new commentSIGN IN

Let's Connect

Categories

Your Cart

Cart is empty.

Subtotal
₹0.00
APPLY
0
Send this to a friend