centos 安装 openfire
来源:互联网 发布:db2查询数据库里 的表 编辑:程序博客网 时间:2024/06/01 11:19
操作系统 Centos 6.3 JDK 1.7 openfire 3.9.3
一. 下载 openfire 安装包
官方下载地址:http://www.igniterealtime.org/downloads/index.jsp
二. 确定JDK一切正常(包括环境变量配置)
三. 安装
1.解压安装包
tar -zxf openfire_3_9_3.tar.gz2.移动 openfire 文件夹到自己的工作目录下
mv openfire /home/3.进入 openfire 的 bin 目录执行开启服务命令
./openfire start4.因为需要使用外部数据库,所以先要在数据库中创建 openfire 使用的数据库
mysql -u 用户名 -p // 输入密码 create database my_openfire;5.打开浏览器访问 http://服务器ip:9090
6.根据提示配置数据库,并设置初始化管理账号密码
注意:如果服务器 9090 断开,则需要先打开9090端口
/sbin/iptables -I INPUT -p tcp --dport 9090 -j ACCEPT #为指定端口9090 /etc/rc.d/init.d/iptables save #将更改进行保存 /etc/init.d/iptables restart #重启防火墙以便改动生效7.添加环境变量
vi /etc/profile //在最后添加下面语句 export PATH=/home/openfire/bin:$PATH //保存退出,这种添加环境变量的方法对系统所有用户有效
source /etc/profile //即刻生效环境变量8.添加开机自启动
echo "/home/openfire/bin/openfire start" >> /etc/rc.loacl
OK!完成!
0 0
- openfire centos 上安装
- centos安装openfire
- CentOS安装Openfire服务
- centos 安装 openfire
- centos 安装openfire
- CentOS安装Openfire
- CentOS 64位 安装openfire
- Centos下Openfire详细安装过程
- openfire在centos下的安装
- CentOS 64位 安装openfire 3_10_3
- Linux centOS下安装配置openfire
- centos下安装openfire以及mySQL配置(默认安装)
- 解决在centos x64 上安装openfire出现的错误
- centos下Openfire安装+集群+Hazelcast插件+Haproxy
- 安装Openfire
- 安装openfire
- openfire安装
- Openfire安装
- C#常见面试题
- 批量修改中文文件名
- The Importance of the End to End Automation Testing Tool
- Android SDK更新 Connection to http://dl-ssl.google.com refused 解决方法
- 在Windows下搭建Android开发环境
- centos 安装 openfire
- [水题][第一阶段-英文题试水][HDOJ-2104]hide handkerchief
- [leetcode] Recover Binary Search Tree
- 让你的WordPress简单实现全站Ajax
- 大理高铁站订票热线电话是多少
- java轻量级IOC框架Guice
- 简单理解算法篇--摊还分析
- Java集合之HashMap源码实现分析
- JBoss部署Spring 4的问题