User:Ankur.verma/Ankur notes: Difference between revisions
Ankur.verma (talk | contribs) No edit summary |
Ankur.verma (talk | contribs) |
||
Line 7: | Line 7: | ||
* Apache setup |
* Apache setup |
||
Follow steps: port no. 80 |
Follow steps: port no. 80 |
||
http://httpd.apache.org/docs/2.2/install.html |
|||
* mysql server setup |
* mysql server setup |
||
http://www.debianadmin.com/mysql-database-server-installation-and-configuration-in-debian-2.html |
http://www.debianadmin.com/mysql-database-server-installation-and-configuration-in-debian-2.html |
||
http://www.howtoforge.com/forums/archive/index.php/t-2148.html |
|||
== School Server == |
== School Server == |
Revision as of 18:40, 14 July 2008
Learning is an essentially social process
- Kannel Setup:
http://forums.devshed.com/wap-programming-20/tutorial-for-kannel-newbies-in-suse-10-0-do-this-386978.html http://julmis.julmajanne.com/index.php/Kannel
- Apache setup
Follow steps: port no. 80 http://httpd.apache.org/docs/2.2/install.html
- mysql server setup
http://www.debianadmin.com/mysql-database-server-installation-and-configuration-in-debian-2.html http://www.howtoforge.com/forums/archive/index.php/t-2148.html
School Server
- application running on the school server. This app will listen for incoming phone message and then forward this message to one XO connected on the jabber server
- the main concern for now is to know all the contacts connected. If your app is connected to the jabber server using a classical jabber account then if have to be subscribed to each contacts (be friend with them)
I'm wondering if it wouldn't be best to write a server component instead
- contact are uniquely identified by their key (and their jabber ID which is a hash of the key) but they are really not human friendly so probably not convenient to be use in phone message
- nick in jabber nomenclature.
- be a external app connected to the jabber server using a jabber account (using Gabble)
or a component living in the jabber server what you want to do sounds like a XMPP gateway actually
- you can't find all the contact connected to the server using a roster account
you'll just find contacts to who you are subscribed which are all the contacts currently because of the shared roster hack but it's crack and we plan to remove it soon, so you shouldn't rely on it
- If that's an external app connected through jabber it doesn't make any difference if it's run from the server or not
XO
- For running on OLPC: OLPC you should consider to use presence-service
- presence-service is a OLPC specific component on top of Telepathy connection managers
OLPC activities are suppose to use it instead of TP API directly (in most cases) see http://wiki.laptop.org/go/Presence_Service_DBus_API (sugar has some wrapper code for easier use)
- Could you send a mail on sugar ML with olpc@collabora.co.uk in CC explaining what you want to do exactly?
While running sugar how to run Presence Service:
less presenceservice.lo gin ./sugar/default/logs ->>>for knowing Gabble/Salut running?
ps ax|grep telepathy or grep jhbuild
comm
find -type f -name sierra
rpm -ql kernel
git checkpout : updates snapshot to a specific version git clean -d: delete any extra files in snapshot
STEPS
- Connect to Server
- Get list and compare against the one in msg.
- Send XMPP message to it.
Server Side:
Server connection
Client Side:
Application (Activity?) for sending!!!...reosurce shareable over the N/W like py msg!
And on other side,!!