Would Someone please help me remove VirtualMin

7 posts / 0 new
Last post
#1 Fri, 02/22/2008 - 10:10
JosephV

Would Someone please help me remove VirtualMin

Hello I have installed Virtualmin and via the install.sh on Centos5

install was fine but I cannot uninstall this thing.

I ran the /bin/sh install.sh -uninstall

and it reinstalls the damn thing again instead of uninstalling it.

Could someone please help me remove this from my servers.

Thanks Joseph

Fri, 02/22/2008 - 16:16
fallendevil

Hi Joe, Try the following
Regards Fallen

#!/bin/sh
# This script performs a rudimentary uninstallation of Virtualmin Professional
# It is neither complete, nor correct, but it almost certainly won't break
# anything. It is primarily useful for cleaning up a botched install, so you
# can run the installer again.

rpm -e virtualmin-release
rpm -e virtualmin-base
rpm -e wbm-virtual-server wbm-virtualmin-htpasswd wbm-virtualmin-dav wbm-virtualmin-mailman wbm-virtualmin-awstats wbm-virtualmin-svn
rpm -e wbt-virtualmin-nuvola wbt-virtualmin-nuvola-pushup wbt-virtualmin-nuvola-green wbt-virtualmin-nuvola-dusk wbt-virtualmin-nuvola-raspberry wbt-virtualmin-nuvola-chocmint ust-virtualmin-nuvola
rpm -e webmin usermin awstats
yum clean all

Fri, 02/22/2008 - 19:55
JosephV

Hello Fallen,

Thanks a ton for the reply

Is there anything in your post that is commented out that I need to uncomment in the scripts such as this

#!/bin/sh

Should I run what is below this or uncomment this first? Like so

!/bin/sh

Thanks
Joseph

Fri, 02/22/2008 - 22:23 (Reply to #3)
fallendevil

this is the uninstall script that i have used in the past

It is run as is above

Fallen

Sat, 02/23/2008 - 03:51
JosephV

Hello Fallen,

I tried the script and Virtualmin is still installed. Looks like I am going to have to reinstall the OS. That really sucks.

Thanks a ton for your help I do appreciate it.

Joseph

Thu, 11/11/2010 - 01:58
08a4210
08a4210's picture

Did you manage to uninstall it?

Thu, 11/11/2010 - 07:09 (Reply to #6)
andreychek

Howdy,

Well, that post was from a few years ago, but it should actually be pretty straight forward to remove Virtualmin... you can use the same install.sh script you used to perform the initial installation if you're looking to remove it.

You can run:

./install.sh -u

And that will uninstall Virtualmin.

There's also a document describing that here:

http://www.virtualmin.com/documentation/installation/uninstalling