Last active
May 22, 2016 05:35
-
-
Save huberflores/4735608 to your computer and use it in GitHub Desktop.
Installation and Configuration of Openfire 3.7.1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* author Huber Flores | |
*/ | |
# Openfire guide for Ubuntu 12.04 - 64 bits | |
# Dowload Openfire tar.gz version (openfire_3_7_1.tar.gz) (http://www.igniterealtime.org/downloads/index.jsp) | |
# Dowload Oracle JDK 6 SE and install | |
$ sudo aptitude update | |
$ sudo aptitude dist-upgrade | |
$ sudo apt-get install mysql-server mysql-client | |
$ mysql -u root -p | |
enter password:********* | |
mysql> create database openfire; | |
mysql> quit | |
# Install Openfire | |
$ tar xvfz openfire_3_7_1.tar.gz | |
$ mv openfire /opt | |
$ cd /opt/openfire/bin | |
### This has to be done if you have problems with your $JAVA_HOME | |
$ nano openfire | |
### Uncomment and modify the following line at the beginning of "/opt/openfire/bin/openfire" script to override "JAVA_HOME": | |
### INSTALL4J_JAVA_HOME_OVERRIDE=/usr/lib/jvm/jdk1.6.0_39 | |
# Otherwise, just start the server | |
$ ./openfire start | |
Starting openfire | |
$ ./openfire status | |
The daemon is running. | |
# Open your browser and configure your new XMPP server | |
(e.g. http://localhost:9090/setup/index.jsp) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment