美文网首页
openfire、mysql卸载

openfire、mysql卸载

作者: demoker | 来源:发表于2015-09-24 01:31 被阅读67次

    一、openfire卸载

    前提是停止openfire运行,然后执行下面命令行:

    1. sudo rm -rf /Library/PreferencePanes/Openfire.prefPane

    删除系统控制面板:/Library/PreferencePanes/Openfire.prefPane

    2. sudo rm -rf /usr/local/openfire

    删除/usr/local/openfire目录

    3. sudo rm -rf /Library/LaunchDaemons/org.jivesoftware.openfire.plist

    删除配置启动项:/Library/LaunchDaemons/org.jivesoftware.openfire.plist

    二、mysql卸载

    停止mysql运行,执行一下命令:

    sudorm/usr/local/mysql

    sudorm-rf/usr/local/mysql*

    sudorm-rf/Library/StartupItems/MySQLCOM

    sudorm-rf/Library/PreferencePanes/My*

    rm-rf ~/Library/PreferencePanes/My*

    sudorm-rf/Library/Receipts/mysql*

    sudorm-rf/Library/Receipts/MySQL*

    sudorm-rf/var/db/receipts/com.mysql.*

    vim /etc/hostconfig and removed the line MYSQLCOM=-YES-

    最后一句进入一个编辑界面,进入之后不做任何操作,esc+:!q强制退出,即可

    相关文章

      网友评论

          本文标题:openfire、mysql卸载

          本文链接:https://www.haomeiwen.com/subject/domicttx.html