openfire、mysql卸载

一、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卸载)