powered by Jive Software

How to setup OpenFire on EC2 Amazon Web Server?

Hi everyone.

Anyone knows how to setup (basic install) OpenFire on AWS-Linux?

I did already install OpenFire in my computer (MAC-OS) and everything works fine, now I need to install it on AWS.

I’ve been about two days researching it but I can’t find any documentation or tutorial about it.

Any clue about it will be appreciated.

Thank you.

Regards

Felipe

if you have shell access to your linux server, then it should be really straight forward. The openfire installation tutorials are fantastic and the openfire team have done an amazing job of making it really simple to setup.

The biggest challenge you may be having is how to get the openfire package onto your server, so that you can install it. Without a GUI, it’s slightly different.

I don’t know if your server is debian based or rhel based, so I’ll give basic instructions for both:

Debian Based (Ubuntu, etc):

sudo apt-get install openjdk-7-jre wget

wget http://www.igniterealtime.org/downloadServlet?filename=openfire/openfire_3.8.2_a ll.deb

sudo dpkg -i openfire_3.8.2_all.deb

RHEL Based (Red Hat Enterprise Linux, CentOS, Fedora, openSUSE kind of, etc)

sudo yum install openjdk-7-jre wget

wget http://www.igniterealtime.org/downloadServlet?filename=openfire/openfire-3.8.2-1 .i386.rpm

sudo rpm -ivh openfire-3.8.2-1.i386.rpm

Now follow the rest of this tutorial:

http://www.igniterealtime.org/builds/openfire/docs/latest/documentation/install- guide.html

**I think that’s the basic gist… good luck.

I did it.
Thank you so much, it helps me a lot.
Really straight forward instructions.

can anyone help me out I have followed the above step and my server is RHEL Based

but im not able to start openfire server.

Please help me,

Thank you.

@Prasad Gone I was facing same error. I have write some command in terminal for that

sudo chown -R ec2-user:ec2-user /opt/openfire/logs/

sudo chown -R ec2-user:ec2-user /opt/openfire/logs/nohup.out

and gave write permissions. Now I started service using this command "sudo /etc/init.d/openfire start " it shows me this message. “openfire is running” One more thing I have added “JAVA_HOME=$(readlink -f /usr/bin/java | sed “s:bin/java::”)” line in “/etc/rc.d/init.d/openfire” file

Regard,

Bhavin