1.停止oepnfire服务
[root@openfire.clvn.com.cn ~]# su - openfire
-bash-4.1$ cd /usr/local/openfire/bin
-bash-4.1$ ./openfire stop
2.找到openfire配置文件
[root@openfire.clvn.com.cn ~]# cd /usr/local/openfire/conf/
[root@openfire.clvn.com.cn conf]# ls
available-plugins.xml crowd.properties openfire.xml security.xml server-update.xml
[root@openfire.clvn.com.cn conf]# vim openfire.xml
找到
<setup>true</setup>
将其删除
3.重新启动openfire
[root@openfire.clvn.com.cn ~]# su - openfire
-bash-4.1$ cd /usr/local/openfire/bin
-bash-4.1$ ./openfire start
Starting openfire