CentOS7安装openfire4.3.2

参考 https://blog.csdn.net/w690333243/article/details/83684609

遇到问题: RPM包安装出现conflicts with file from package

[root@xu ~]# rpm -ivh openfire-4.3.2-1.x86_64.rpm
Preparing...                          ################################# [100%]
	file /opt/openfire/changelog.html from install of openfire-4.3.2-1.x86_64 conflicts with file from package openfire-4.3.0-1.x86_64
	file /opt/openfire/conf/openfire.xml from install of openfire-4.3.2-1.x86_64 conflicts with file from package openfire-4.3.0-1.x86_64
	file /opt/openfire/documentation/database.html from install of openfire-4.3.2-1.x86_64 conflicts with file from package openfire-4.3.0-1.x86_64

出现这种状况的原因是因为之前安装过:
解决办法:
第一种:卸载原来的软件

rpm -e --nodeps openfire

https://www.cnblogs.com/520playboy/p/6231158.html

第二种:强制安装

rpm -ivh  --force  RPM包名

https://blog.csdn.net/lufeisan/article/details/53435155?utm_source=blogxgwz4
https://www.cnblogs.com/zqwang0929/p/3352237.html rpm 命令总结

May 06 07:20:36 xu systemd[1]: Starting SYSV: Openfire is an XMPP server, which is a server that facilitates XML ba...hat....
May 06 07:20:36 xu openfire[19247]: Could not find Openfire installation under /opt, /usr/share, or /usr/local.
May 06 07:20:36 xu openfire[19247]: Please specify the Openfire installation location as variable OPENFIRE_HOME
May 06 07:20:36 xu openfire[19247]: in /etc/sysconfig/openfire.
May 06 07:20:36 xu systemd[1]: openfire.service: control process exited, code=exited status=1
May 06 07:20:36 xu systemd[1]: Failed to start SYSV: Openfire is an XMPP server, which is a server that facilitates... chat..
May 06 07:20:36 xu systemd[1]: Unit openfire.service entered failed state.
May 06 07:20:36 xu systemd[1]: openfire.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
[root@xu ~]# vi /etc/sysconfig/openfire 

openfire 配置Mysql8.0数据库

驱动com.mysql.cj.jdbc.Driver
jdbc:mysql://localhost:3306/openfire?useUnicode=true&characterEncoding=utf8&serverTimezone=GMT%2B8&useSSL=FALSE

java.sql.SQLException: The server time zone value ‘???ú±ê×??±??’ is unrecognized or represents more
https://blog.csdn.net/weixin_40916641/article/details/80546040
https://blog.csdn.net/weixin_37577564/article/details/80329775
https://www.cnblogs.com/520playboy/p/6231158.html rpm安装和卸载软件
https://blog.csdn.net/lufeisan/article/details/53435155?utm_source=blogxgwz4 RPM包安装出现conflicts with file from package
https://blog.csdn.net/testcs_dn/article/details/39026213 CentOS安装mysql*.rpm提示conflicts with file from package的解决办法
https://www.cnblogs.com/zqwang0929/p/3352237.html RPM安装命令总结

管理控制台界面配置成功后,启动openfire.exe 无法正常启动
1、设置mysql 8.0 数据时区
https://blog.csdn.net/vkingnew/article/details/82149726

com.mysql.cj.jdbc.Driver
jdbc:mysql://127.0.0.1:3306/openfire?rewriteBatchedStatements=true  //只写这么多

更新于2019年5月8日 0:14

http://www.deepvast.com/hotarticle.asp?newsid=164 CentOS 下安装配置Openfire

更新于2.19年6月2日 1:49

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值