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
- Stop Openfire.
- Backup the Openfire installation directory.
- Backup the Openfire database. Note that the embedded database is backed up in step 2.
- Install the new RPM. Execute rpm -Uvf openfire-3.3.3-1.i386.rpm to update your current install
- Start Openfire.
- Stop Openfire.
- Backup the Openfire installation directory. This step is critical because the data will be overwritten with the new .tar.gz install.
- Backup the Openfire database. Note that the embedded database is backed up in step 2.
- Install the .tar.gz file (extract it over the current directory).
- Copy the conf directory from the backup to the installation directory.
- Copy the embedded-db directory from the backup to the installation directory.
- Copy the enterprise directory from the backup to the installation directory, if it exists.
- Copy the plugins directory from the backup to the installation directory except for _plugins/admin_.
- Copy modified files located inresources/security from the backup to the installation directory.
- Start Openfire