fulllefty
May 1st, 2012, 09:56 AM
Hi all, what I want to do is install openfire from deb package on my ubuntu 12.04 server 64 bit. Openfire basic, with no plugin installed.
Here list of way that works for me:
1.Install java (I use sun java 6 update 32 binary package 64bit)
I'm following this article
https://github.com/flexiondotorg/oab-java6/blob/a04949f242777eb040150e53f4dbcd4a3ccb7568/README.rst
run the script, wait (if you want you can open another terminal session to know what process running)
cause in my case the first step is the longest one (downloading about 300 library package)
If the script success in creating package, then you could run apt-get
# apt-get install sun-java6-jdk
Then check the java & javac in terminal.
# java -version
java version "1.6.0_32"
Java(TM) SE Runtime Environment (build 1.6.0_32-b05)
Java HotSpot(TM) 64-Bit Server VM (build 20.7-b02, mixed mode)
# javac -version
javac 1.6.0_32
if the output looks like above (or another variant, depend on your installed java version) then java packaged installed correctly
2.Create table on mysql for openfire
# mysql -u root -p;
#mysql > CREATE DATABASE openfire;
#mysql > quit;
3.Download the openfire 3.7.1 .deb package from http://www.igniterealtime.org/downloads/index.jsp
I get the openfire_3.7.1_all.deb, put it on /opt
now when I try to install using this command:
# dpkg -i openfire_3.7.1_all.deb
I am no longer get this error:
dpkg: regarding openfire_3.7.1_all.deb containing openfire, pre-dependency problem:
openfire pre-depends on sun-java5-jre | sun-java6-jre | default-jre-headless
sun-java5-jre is not installed.
sun-java6-jre is not installed.
default-jre-headless is not installed.
dpkg: error processing openfire_3.7.1_all.deb (--install):
pre-dependency problem - not installing openfire
Errors were encountered while processing:
openfire_3.7.1_all.deb
continue the install process in browser.
all happy & running. :p
Here list of way that works for me:
1.Install java (I use sun java 6 update 32 binary package 64bit)
I'm following this article
https://github.com/flexiondotorg/oab-java6/blob/a04949f242777eb040150e53f4dbcd4a3ccb7568/README.rst
run the script, wait (if you want you can open another terminal session to know what process running)
cause in my case the first step is the longest one (downloading about 300 library package)
If the script success in creating package, then you could run apt-get
# apt-get install sun-java6-jdk
Then check the java & javac in terminal.
# java -version
java version "1.6.0_32"
Java(TM) SE Runtime Environment (build 1.6.0_32-b05)
Java HotSpot(TM) 64-Bit Server VM (build 20.7-b02, mixed mode)
# javac -version
javac 1.6.0_32
if the output looks like above (or another variant, depend on your installed java version) then java packaged installed correctly
2.Create table on mysql for openfire
# mysql -u root -p;
#mysql > CREATE DATABASE openfire;
#mysql > quit;
3.Download the openfire 3.7.1 .deb package from http://www.igniterealtime.org/downloads/index.jsp
I get the openfire_3.7.1_all.deb, put it on /opt
now when I try to install using this command:
# dpkg -i openfire_3.7.1_all.deb
I am no longer get this error:
dpkg: regarding openfire_3.7.1_all.deb containing openfire, pre-dependency problem:
openfire pre-depends on sun-java5-jre | sun-java6-jre | default-jre-headless
sun-java5-jre is not installed.
sun-java6-jre is not installed.
default-jre-headless is not installed.
dpkg: error processing openfire_3.7.1_all.deb (--install):
pre-dependency problem - not installing openfire
Errors were encountered while processing:
openfire_3.7.1_all.deb
continue the install process in browser.
all happy & running. :p