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测试教程~

  • 相关阅读:
    路径
    aspx.cs调用js方法
    计算字符串中每种字母出现的次数
    [转载]获取2个集合List<T>的共同元素
    [转载]行列转换
    [转载]UNION合并查询
    [转载]Case When Then
    [转载]CAST-CONVERT两个函数进行类型转换时的异同点
    [转载]404错误页面设置
    [转载]JQ小知识
  • 原文地址:https://www.cnblogs.com/songzhenhua/p/9312740.html
Copyright © 2011-2022 走看看