Created
December 30, 2010 15:43
-
-
Save yiquncode/759912 to your computer and use it in GitHub Desktop.
Uninstall directadmin in centos5.5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#i got some paths info from http://www.directadmin.com/paths.html and http://www.directadmin.com/forum/showthread.php?threadid=3365 | |
#welcome to join and add more for uninstall them | |
#Notice:You have to shutdown some service setup by directadmin before you restart the server. | |
#http://www.zhangyiqun.net | |
rm -rf /etc/cron.d/directadmin_cron | |
rm -rf /usr/local/directadmin | |
rm -rf /etc/virtual | |
cd /home | |
chattr -i aquota.user | |
rm -rf aquota.group | |
rm -rf ftp | |
updatedb | |
for i in `locate mysql | grep -v jean`; do echo $i; done | |
for i in `locate named | grep -v jean`; do rm -rf $i; done | |
for i in `locate dovecot | grep -v jean`; do rm -rf $i; done | |
for i in `locate proftp | grep -v jean`; do rm -rf $i; done | |
for i in `locate exim | grep -v jean`; do rm -rf $i; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
玩DA值得一看的站点
http://baiqiuyi.com/
http://icodex.org/2010/05/directadmin-nginx-automated-installer/