linux - openfire得安装

标签:
linuxopenfire得安装it |
分类: linux那些事 |
一 下载安装支持 jre
service openfire start
开启服务
测试得时候直接访问
http://127.0.0.1:9090
link
/usr/java/bin/java java 就可以解决
Problem
accessing /setup/setup-profile-settings.jsp
server error
http://www.oracle.com/technetwork/java/javase/downloads/jre7-downloads-1880261.html
安装完后 java-version 显示版本信息
java version "1.6.0_38-ea"
Java(TM) SE Runtime Environment (build 1.6.0_38-ea-b04)
Java HotSpot(TM) 64-Bit Server VM (build 20.13-b02, mixed
mode)
二 下载安装 openfire
三 新建 openfire 数据库 并且倒入
/opt/openfire/resource/database/mysql。。。sql
四 rpm -ivh openfire-3.8.2-1.i386.rpm
流程如下图
http://s3/mw690/79fded95tx6Bbign0Hgc2&690- openfire得安装" TITLE="linux - openfire得安装" />
http://s14/mw690/79fded95tx6BbigEFBP8d&690-openfire得安装" TITLE="linux - openfire得安装" />
http://s8/mw690/79fded95tx6BbigWnptb7&690-openfire得安装" TITLE="linux - openfire得安装" />
http://s11/mw690/79fded95tx6Bbihbhsmda&690-openfire得安装" TITLE="linux - openfire得安装" />
http://s14/mw690/79fded95tx6BbigEFBP8d&690-
http://s8/mw690/79fded95tx6BbigWnptb7&690-
http://s11/mw690/79fded95tx6Bbihbhsmda&690-
--------------错误处理-----------------
1>如果启动不了 在/opt/openfire/logs/hub..in 文件里提示找不到
java
则 cd /opt/openfire/jre/bin/
2> 如果出现
A connection to the database could not be made. View the error
message by opening the "/logs/error.log" log file, then go back to
fix the problem.
因为本地是mysql所以选择mysql 然后[localhost] 替换成为
127.0.0.1 [database] 替换成已经建好得一个数据库 openfire
3>如果出现HTTP ERROR 500
则关掉服务器 service openfire stop
然后从脚本启动 cd /opt/openfire/bin/
./openfire.sh start
重新执行安装过程 http://127.0.0.1:9090
前一篇:Nginx-配置虚拟主机
后一篇:IOS - 调试错误