Server chat openfire di LAN

16 Jul

Server chat openfire di LAN

a. pastikan mysql sudah diinstall
[root@linux34 mysql]# rpm -qa | grep mysql
mysql-5.0.45-7.el5
mysql-server-5.0.45-7.el5

b. start service mysql
[root@linux34 mysql]# service mysqld start
[root@linux34 mysql]# chkconfig mysqld on

c. Membuat password root di mysql database
[root@linux34 mysql]# mysqladmin -u root password mysql0
atau
[root@linux34 mysql]# mysqladmin -h linux34 -u root password mysql0

d. pastikan http start
[root@linux34 mysql]# service httpd status
httpd (pid 8742 8741 8740 8739 8738 8737 8736 8735 5390) is running…

jika belum aktif, aktifkan
[root@linux34 mysql]# service httpd start

e. test http
[root@linux34 mysql]# elinks http://172.20.140.33/

f. download openfire

http://download.igniterealtime.org/openfire/openfire-3.6.4-1.i386.rpm

g. install openfire
[root@linux34 mysql]# rpm -ivh openfire-3.6.4-1.i386.rpm
Preparing…                ########################################### [100%]
1:openfire               ########################################### [100%]

h. buat database untuk openfire
[root@linux34 mysql]# su – ubs
[ubs@linux34 ~]$ mysql -u root -p
Enter password:
mysql> create database openfire;
mysql> quit

i. lakukan copy data mysql kedalam database mysql
[ubs@linux34 ~]$ cd /opt/openfire/resources/database
[ubs@linux34 ~]$ cat openfire_mysql.sql | mysql -u root -p openfire

j. start service openfire
[root@linux34 mysql]# service openfire start
Starting openfire:
[root@linux34 mysql]# service openfire status
openfire is running

k. buka web dengan alamat http://localhost:9090
atau http://172.20.140.33:9090

Advertisement

Tags: , , , ,

2 Responses to “Server chat openfire di LAN”

  1. rezzafri July 22, 2010 at 12:56 am #

    trims bro, kalo uda punya kantor sendiri pasti berguna… he he,.. btw sy belum tahu banyak tentang openfire.. kalo clientnya bisa pake empathy ato pidgin gak?

  2. setijoagus July 23, 2010 at 7:00 am #

    aku clientnya pakai pidgin dan bisa

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.