搭建Openfire服务器

RPM安装方式

rpm -ivh openfire_3_7_1.rpm  

去官网看下最新的版本 免得有升级的麻烦http://www.igniterealtime.org/downloads/index.jsp#openfire

提取链接后   用wget命令下载   再用rpm命令安装   默认安装在/opt/openfire


源码安装没有提供JDK 需要大于1.5

# /etc/init.d/openfire
Usage /etc/init.d/openfire {start|stop|restart|status|condrestart|reload}
# /etc/init.d/openfire start
Starting openfire:

升级

RPM 

  1. Stop Openfire.
  2. Backup the Openfire installation directory.
  3. Backup the Openfire database. Note that the embedded database is backed up in step 2.
  4. Install the new RPM. Execute rpm -Uvf openfire-3.3.3-1.i386.rpm to update your current install
  5. Start Openfire.

注意备份   然后将下面蓝字标注的文件拷回新的openfire目录(源码安装升级)
  1. Stop Openfire.
  2. Backup the Openfire installation directory. This step is critical because the data will be overwritten with the new .tar.gz install.
  3. Backup the Openfire database. Note that the embedded database is backed up in step 2.
  4. Install the .tar.gz file (extract it over the current directory).
  5. Copy the conf directory from the backup to the installation directory.
  6. Copy the embedded-db directory from the backup to the installation directory.
  7. Copy the enterprise directory from the backup to the installation directory, if it exists.
  8. Copy the plugins directory from the backup to the installation directory except for _plugins/admin_.
  9. Copy modified files located inresources/security from the backup to the installation directory.
  10. Start Openfire
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值