linux-openfire的安装(转)
2014-01-15 11:32
323 查看
转自:http://blog.sina.com.cn/s/blog_79fded950101e92a.html
一 下载安装支持 jre
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
http://www.igniterealtime.org/downloads/index.jsp
三 新建 openfire 数据库 并且倒入 /opt/openfire/resource/database/mysql。。。sql
四 rpm -ivh openfire-3.8.2-1.i386.rpm
service openfire start 开启服务
测试得时候直接访问 http://127.0.0.1:9090 流程如下图
--------------错误处理-----------------
1>如果启动不了 在/opt/openfire/logs/hub..in 文件里提示找不到 java
则 cd /opt/openfire/jre/bin/
link /usr/java/bin/java java 就可以解决
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
Problem accessing /setup/setup-profile-settings.jsp
server error
则关掉服务器 service openfire stop
然后从脚本启动 cd /opt/openfire/bin/
./openfire.sh start
重新执行安装过程 http://127.0.0.1:9090
一 下载安装支持 jre
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
http://www.igniterealtime.org/downloads/index.jsp
三 新建 openfire 数据库 并且倒入 /opt/openfire/resource/database/mysql。。。sql
四 rpm -ivh openfire-3.8.2-1.i386.rpm
service openfire start 开启服务
测试得时候直接访问 http://127.0.0.1:9090 流程如下图
--------------错误处理-----------------
1>如果启动不了 在/opt/openfire/logs/hub..in 文件里提示找不到 java
则 cd /opt/openfire/jre/bin/
link /usr/java/bin/java java 就可以解决
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
Problem accessing /setup/setup-profile-settings.jsp
server error
则关掉服务器 service openfire stop
然后从脚本启动 cd /opt/openfire/bin/
./openfire.sh start
重新执行安装过程 http://127.0.0.1:9090
相关文章推荐
- Linux下openfire安装配置
- linux 安装openfire
- Linux上安装openfire时遇到一问题:UnknownHostException
- 如何在Linux上安装OpenFire
- linux下安装openfire(转)
- ubuntu14.04(linux)字符界面下openfire安装配置
- 如何在Linux下安装openfire及解决常见的安装问题
- openfire 服务器在Linux上的安装
- Linux下安装openfire
- Linux下安装Openfire 4.2.1
- linux下的openfire安装 tomcat重启
- 如何在Linux上安装OpenFire
- Linux centOS下安装配置openfire
- linux ubuntu 下 安装openfire
- Linux上安装 GCC 编译器过程
- 64位linux 系统如何安装flashplayer
- Linux安装mysql
- Ubuntu 12.04安装交叉编译器arm-none-linux-gnueabi-gcc arm-linux-gcc
- 在Linux系统上安装配置DNS服务器的教程
- linux环境tomcat配置及hadoop 2.6伪分布模式安装配置