본문 바로가기
Infra & Server Dev

[리눅스]CentOS6.4에 Openfire(오픈파이어) 3.9.3 설치

by 필팔청춘 2014. 8. 5.



Openfire 다운로드 

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


Openfire 설치

# rpm -ivh openfire-3.9.3-1.i386.rpm


Openfire DB 설정(Mysql버전)

전제조건 1 mysql이 깔려있다.

전제조건 2 openfire라는 Database가 만들어져있다.

mysql -u root -p openfire/opt/openfire/resources/database/openfire_mysql.sql

전제조건 3 java 경로를 맞춰줘라

# cd /opt/openfire/jre/bin

# mv java java.back

ln -s /usr/local/java/bin/java java


Openfire 실행

service openfire start


Openfire 실행이안된다면!!!

cannot run command `/opt/openfire/jre/bin/java': No such file or directory
cd /opt/openfire/jre/bin
cp java java.bak
rm java
ln -s /usr/bin/java java
service openfire start



Openfire 세부 설정

웹사이트에서 접속

포트는 9090

http://(ip 혹은 도메인):9090









다시 호스트:9090접속


admin 입력하고

아까 입력했던 password 입력~




참고 

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

http://stackoverflow.com/questions/849199/why-cant-i-get-openfire-to-start

http://linuxrealtime.blogspot.kr/2013/08/open-fire-installation-on-cent-os-63.html

http://solutionsatexperts.com/openfire-server-installation-and-configuration/