zoukankan      html  css  js  c++  java
  • centos6安装openfire(mysql)

    一、安装JDK
    我的系统是centos6.8x64,首先安装jdk1.7.0
    二、安装openfire
    我装的包是:openfire-3.9.3-1.i386.rpm,复制到/opt目录
    #rpm -ivh openfire-3.9.3-1.i386.rpm

    安装完成后创建openfire数据库
    进入mysql,输入
    create database openfire default charset utf8;

    退出mysql,进入/opt/openfire/resources/database
    #mysql -uroot openfire < openfire_mysql.sql

    进入/opt/openfire/bin
    #./openfire.sh
    运行成功如图,该窗口不要关闭

    打开以上网址,进入配置
    第一步选中文
    第二步默认值
    第三步 标准数据库,之后选mysql,驱动默认写好的不动
    URL:jdbc:mysql://localhost:3306/openfire?rewriteBatchedStatements=true
    其中localhost是本机IP,因为就是在本机安装,所以localhost;openfire是数据库名
    下面再填上用户名密码即可


    第四步选 初始配置
    第五步 设置EMAIL和密码

    至此安装成功

    参考:
    http://www.th7.cn/db/mysql/201406/59838.shtml
    http://blog.csdn.net/lxf20054658/article/details/41526187

    --------------------------------------------------------------------------------

    关注微信公众号(测试工程师小站)即可在手机上查阅,并可接收更多测试分享,发送【测试资料】更可获取百G测试教程~

  • 相关阅读:
    leetcode刷题总结401-450
    leetcode刷题总结351-400
    马哥博客作业第六周
    马哥教育第一阶段考试
    马哥博客作业第四周
    马哥博客作业第三周
    马哥博客作业第二周
    马哥博客作业第一周
    马哥博客预习作业第三周
    马哥博客预习作业第二周
  • 原文地址:https://www.cnblogs.com/songzhenhua/p/9312740.html
Copyright © 2011-2022 走看看