zoukankan      html  css  js  c++  java
  • openfire 安装部署


    1. openfire安装和配置


    本文介绍openfire 在linux上安装部署过程


    linux上有两种安装方式,一个是RPM包方式。还有一个是tar.gz压缩包方式,
    官方推荐採用RPM包方式,会默认安装成服务,同一时候不须要自己安装jdk。
    採用tar.gz包安装方式时须要自己安装jre环境
    本文採用tar.gz 方式


    下载openfire linux 安装包到/opt文件夹


    cd /opt
    wget http://download.igniterealtime.org/openfire/openfire_3_9_3.tar.gz


    tar xzvf  openfire_3_9_3.tar.gz


    启动 openfire
    bin/openfire start


    默认安装文件夹结构:


    drwxr-xr-x 3 root root   4096 5月   7 02:59 bin
    -rw-r--r-- 1 root root 175122 5月   7 02:58 changelog.html
    drwxr-xr-x 2 root root   4096 7月   7 14:26 conf
    drwxr-xr-x 4 root root   4096 5月   7 02:59 documentation
    drwxr-xr-x 2 root root   4096 7月   7 14:25 embedded-db
    drwxr-xr-x 2 root root   4096 7月   7 14:19 lib
    -rw-r--r-- 1 root root  10871 5月   7 02:58 LICENSE.html
    drwxr-xr-x 2 root root   4096 7月   7 14:19 logs
    drwxr-xr-x 4 root root   4096 7月   7 14:19 plugins
    -rw-r--r-- 1 root root   5332 5月   7 02:58 README.html
    drwxr-xr-x 7 root root   4096 5月   7 02:59 resources


    bin文件夹存放openfire可运行程序及其它脚本文件
    conf文件夹为openfire配置文件,可设置监听port,地址,管理台port。与外部数据库连接时的设置信息等。


    documentation 为openfire个各种文档


    embedded-db文件夹是系统启动后生成的保存数据库相关的内容


    lib文件夹是执行openfire须要的一些库文件。
    log文件夹保存openfire的log信息,文件按级别保存,可用于调试
    plugins文件夹保存openfire的插件jar包,可二次开发插件扩展openfire。
    resources文件夹包含一些资源文件,如各种类型数据库表,升级脚本。国际化等




    执行成功后,
    浏览器输入
    http://ip:9090


    进入管理台,初始化环境


    xmpp监听port为5222
    管理台监听port为9090


  • 相关阅读:
    spring boot + swagger2
    itext7 html转pdf实现
    shell脚本学习
    观察者模式
    sql mode 问题及解决 错误代码:1055 this is incompatible with sql_mode=only_full_group_by
    学生报数算法实现
    git reset 版本回退操作
    struts2方法无法映射问题:There is no Action mapped for namespace [/] and action name [m_hi] associated with context path []
    Vue日历组件的功能
    vue-router 在新窗口打开页面的功能
  • 原文地址:https://www.cnblogs.com/yangykaifa/p/6956430.html
Copyright © 2011-2022 走看看