Report this

What is the reason for this report?

How to integrate ubuntu server with gcm(google cloud messaging)

Posted on July 1, 2014

Hello, great minds, I have question about the server cloud server(because I still am a bit confused about cloud computing) before I actually purchase cloud server.

So I am trying to develop a Android chatting application (lot like weChat and other good messaging apps) which uses Google Cloud Messaging that is featured by google. The problem is I am very bad at these stuffs, so help me out please

So this is my initial plan,

rent Ubuntu server with LAMP, use either ejabbered or openfire (or anything else) to establish xmpp server with mySQL database, At least that is my plane. my questions are

  1. Does cloud servers work the same way with gcm like they would for traditional private servers

  2. which Ubuntu version would work the best for me

3)other possible options/routes that i can take?

and lastly, is there any flaws with my “plan”

Thank you



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
  1. Does cloud servers work the same way with gcm like they would for traditional private servers

Yes, we offer KVM VPS’s and give you full root access to them so you can install whatever software you want.

  1. which Ubuntu version would work the best for me

I would recommend going with the latest version: 14.04.

3)other possible options/routes that i can take?

I’m not sure you need Apache for an XMPP server so you might not want to install it if it’s not needed and save some RAM.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.