将以下内容保存为remove.sh然后sh remove.sh即可.
代码如下 | 复制代码 |
# !/bin/bash yum remove kloxomr-webmail-afterlogic -y yum remove kloxomr-webmail-squirrelmail -y yum remove kloxomr-webmail-telaen -y yum remove kloxomr-webmail-roundcube -y yum remove vpopmail -y yum remove fetchmail -y yum remove qmail -y yum remove maildrop-toaster -y rm -rf /usr/local/lxlabs/kloxo/file/qmail rm -rf /usr/local/lxlabs/kloxo/file/qmail.init rm -rf /usr/local/lxlabs/kloxo/file/formmail rf -rf /usr/local/lxlabs/kloxo/file/webmail-chooser rm -rf /usr/local/lxlabs/kloxo/file/webmail_inc.php rm -rf /etc/init.d/qmail rm -rf /var/qmail rm -rf /home/vpopmail rm -rf /var/qmail rm -rf /usr/local/lxlabs/kloxo.2014-02-01-17-19-26 rm -rf /usr/local/lxlabs/kloxo/bin/fix/fixmmail.php rm -rf /usr/local/lxlabs/kloxo/bin/fix/fix-qmail-assign.php rm -rf /usr/local/lxlabs/kloxo/bin/misc/fixvpop.php rm -rf /usr/local/lxlabs/kloxo/bin/misc/installWebmailDb.php rm -rf /script/fixmail rm -rf /script/fixmail-all rm -rf /script/fix-qmail-assign rm -rf /script/restart-mail rm -rf /script/fixwebmail sh /script/fix-all sh /script/restart-all |
因为我的服务器上不需要安装邮件系统,所以kloxo-mr自带的邮件系统是多余的,除了占用资源外没别的用处,所以决定卸载它,如果各位朋友自己有用就不要这样做了哦。
时间: 2024-11-02 07:30:49