Bagaimana membuat sebuah layanan Jabber/XMPP

From SmartCommunity

Jump to: navigation, search

It’s not hard to set up a Jabber/XMPP server, but it requires some basic knowledge of UNIX management from you. Of course, it’s also possible to set up a Windows powered Jabber/XMPP server, but Windows VPS hosting usually costs much more than Linux or FreeBSD, so, we don’t describe it. First of all, you need to chose a VPS or dedicated server operator. Because Jabber/XMPP is a real-time communication technology, it is strongly recommended to use hosting operator from the same country where most of your users come from. You may chose from Indonesian local hosting operators. Otherwise, if you prefer cheaper hosting in USA or Germany, check out our list of budget VPS providers worldwide.

Chosing the right software

When we say “software”, we mean Jabber/XMPP server application. Unfortunately, the perfect Jabber/XMPP server still does not exist — each project has it’s benefits and problems. For example, ejabberd is great choice if you want to serve many domains, but it performs heavy load and requires lots of RAM to work. It’s easy to be clustered, but if you are going to use MySQL or LDAP storage, there is no benefit if you make ejabberd cluster, because your data storage becomes SPF (single-point-of-failure). Exactly the same may be said about Openfire, excepting one thing: Openfire does not support multiple virtual hosts. Openfire’s benefit is very easy web management interface. Alternative solutions are tigase, jabberd14, jabberd2 and Prosody, but we have too little experience with them and currently cannot say much about them.

Server management basics

It is expected that you already familiar with your chosen operating system at least a little. After ordering your server you’ll get an information message from the hosting operator containing IP address and root password to manage your server. Save it to any secure location or write to a sheet of paper in order not to forget these data.

You’ll need a remote management utility to access your server. The choice depends on your server’s operating system. If your server uses Windows, you should use any RDP client (for example, Windows “remote desktop connection”). Otherwise you need an ssh client application: PuTTY under Windows or OpenSSH under Linux. OpenSSH is usually included with most Linux distributions. We’ll describe server management in assertion that your server runs CentOS and your home operating system is some kind of Linux, too. Such case has no difference with the case when server runs Linux and you have Windows at home (you’ll just have to you PuTTY instead of OpenSSH ssh client).

Connect to your server using ssh program:


Where is the IP address of your server got from your hosting operator.