Mango, open source Machine to Machine on Ubuntu

I just share my experience about installing Mango on Ubuntu 9.10. This article is only copying from various sources.


BE AWARE: My experience is very limited. I am not sure these codes are perfect. I just want say that they work for me. Thanks



Graphic Views



Watch List


http://www.java.com/en/download/help/linux_install.xml#selfextracting

Download java jre-6u20-linux-i586.bin from http://javadl.sun.com/webapps/download/AutoDL?BundleId=39485

To install the Linux (self-extracting) file
Follow these instructions:
1. Change the permission of the file you downloaded to be executable. Type:
chmod a+x jre-6u20-linux-i586.bin
2. Verify that you have permission to execute the file. Type:
ls -l



3. Change to the directory in which you want to install. Type:
cd
For example, to install the software in the /usr/java/ directory, Type:
cd /usr/java/

Note about root access: To install Java in a system-wide location such as /usr/local, you must login as the root user to gain the necessary permissions. If you do not have root access, install the Java in your home directory or a subdirectory for which you have write permissions.

4. Run the self-extracting binary Type:
./jre-6u20-linux-i586.bin

The license agreement is displayed. Review the agreement. Press the spacebar to display the next page. At the end, enter yes to proceed with the installation.

5. Java is installed into its own directory. In this example, it is installed in the /usr/java/jre1.6.0_20 directory. When the installation has completed, you will see the word Done.



6. Verify that the jre1.6.0_20 sub-directory is listed under the current directory. Type:
ls



Enable and Configure
Firefox or Mozilla

1. Create a symbolic link to the libjavaplugin.so file in the browser plugins directory
* Go to the plugins sub-directory under the Firefox installation directory
cd /plugins

* Create the symbolic link
ln -s /plugin/i386/
ns7/libjavaplugin_oji.so

In the ln command line above, use ns7-gcc29 if Firefox was compiled with gcc2.9.

If you install Firefox 1.5 or later, you can enable the Java Console menu item in the Tools menu. Change directories to the Firefox extensions directory, then unzip ffjcext.zip there.

cd /usr/lib/firefox-1.4/extensions
unzip /usr/java/jre1.6.0/lib/deploy/ffjcext.zip

Example
* If Firefox is installed at this directory:
/usr/lib/firefox-1.4/
* And if the Java is installed at this directory:
/usr/java/jre1.6.0_20
* Then type in the terminal window to go to the browser plug-in directory:
cd /usr/lib/firefox-1.4/plugins
* Enter the following command to create a symbolic link to the Java Plug-in for the Mozilla browser.
ln -s /usr/java/jre1.6.0_20/plugin/i386/ns7/libjavaplugin_oji.so

2. Start the Firefox browser, or restart it if it is already up.

In Firefox, type about:plugins in the Location bar to confirm that the Java Plugin is loaded. If the version is Firefox 1.5 or later, click the Tools menu to confirm that Java Console is there


http://ubuntuforums.org/showthread.php?p=226828

Download Tomcat from http://mango.serotoninsoftware.com/downloads/apache-tomcat-6.0.20.tar.gz

Add tomcat
Place the uncompressed package in:
/usr/tomcat/

Step 1 – Set JAVA_HOME and CLASSPATH

You need to point out where you installed Java SDK. You will have to edit the file '.bashrc'. Backup this file first!

In terminal type:

Code:

gedit ~/.bashrc

Add the following lines to the file:

Code:

#Stuff we added to make tomcat go
export JAVA_HOME=/usr/java/jre1.6.0_20/
export CLASSPATH=/usr/tomcat/apache-tomcat-6.0.20/lib/jsp-api.jar:/usr/tomcat/apache-tomcat-6.0.20/lib.jar
#endStuff we added to make tomcat go

N.B. remember to change the word tomcat to the name of the package you placed in /usr/tomcat

Step 2 – Start tomcat

Tomcat should now be ready to run.

In terminal type:

Code:

sh /usr/tomcat/apache-tomcat-6.0.20/bin/startup.sh

If everything is working fine, you will see the following lines:

Code:

Using CATALINA_BASE: /usr/tomcat/apache-tomcat-6.0.20
Using CATALINA_HOME: /usr/tomcat/apache-tomcat-6.0.20
Using CATALINA_TMPDIR: /usr/tomcat//apache-tomcat-6.0.20/temp
Using JRE_HOME: /usr/lib/j2sdk1.5-sun/

In your browser head to http://localhost/ and test if it is serving. If you didn't change the port number it was serving on, head to http://localhost:8080/

If Tomcat started successfully, you should see a Tomcat welcome page when you direct your browser to http://localhost:8080/ (if you did not change the port in server.xml).

Shut down Tomcat before continuing with the installation. Either close the Tomcat window, or execute either /bin/shutdown.bat (Windows) or /bin/shutdown.sh (*nix), depending on your host system type.

To stop tomcat type:

Code:

sh /usr/tomcat/apache-tomcat-6.0.20/bin/shutdown.sh


http://mango.serotoninsoftware.com/download.jsp

Download Mango http://mango.serotoninsoftware.com/downloads/mango-1.8.2.tar.gz

These instructions assume that you will be installing Mango as the root application within Tomcat. Mango can also be installed in an application path if desired, but such an installation is not described here.

You may optionally clear out the applications that are shipped with Tomcat, as they are not required. To do so, delete all directories under /webapps. Then, recreate the ROOT subdirectory.

Unzip the Mango binary archive into the /webapps/ROOT directory. When you start Tomcat next (see above), Mango will be started as well. Depending on the speed of your system it could take a few minutes to create the database tables. Tomcat (and Mango) will have completed starting up when the Tomcat console displays the message "INFO: Server startup in xxx ms" (where "xxx" is the number of milliseconds it took to start up). When you direct your browser to your Tomcat installation, you should now see the Mango login page.

Upon installation, Mango creates a single login account with username "admin" and password "admin". Once you log in, you are strongly encouraged to change at least the password for this account on the "Users" page (). Also, you can set various system properties on the "System settings" page ().

Congratulations! Mango is now ready to use!

About this entry

  1. Nice tips, thanks.. :)

  2. makasih kang infonya.. :)

  3. sekarang sih saya masih tergantung sama produknya bill gates itu..

  4. wow mantap....

  5. I am trying to convert a SWF file into a Java plug in for my website?Please suggest me some simple tips.

  6. I tried setting up my Zoom 3095 56K USB external modem with Ubuntu 9.10, but the pppconfig will only list the COM ports for dial up configurations, no USB ports are in that list. Can anyone figure out how to do this with my USB modem?

  7. other one here that is:Every day of thy life is a leaf in thy history. A Proverbs wiht great sense,i hope everyone would learn something from it.

  8. It is puzzling to me now, but in general, the usefulness and importance is overwhelming. Very much thanks again and good luck!

  9. That is some inspirational stuff. Never knew that opinions could be this varied.

  10. I discovered this web site by on a fluke when I was looking on Google then I went on your website. I must say your site is really cool

  11. Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic. If possible, as you gain expertise, would you mind updating your blog with extra information? It is extremely helpful for me.

  12. Your website link and short ad each time you send or post something. This acts like your little billboard that gets seen any moment you interact with others.

  13. Nice post... but i never use Ubuntu... :p

  14. i will try it, but i dont know this program..
    what for this mango?

  15. yes i will try, great share. thank you have a great day.

  16. oke thanks for the information,,,,,
    sangat bermanfaat sekali..

  17. hmm sipp dech info yang sangat menarik buat di coba nich....
    thanks ya

  18. I found your site on technorati and read a few of your other posts. Keep up the good work. more info please visit the web for b2c iphone etc.

  19. thanks for share info with us.it will help me.

  20. Wow I was about to try this. Lucky to have found your tutorial!

  21. I like your post very much.It will help all people.Thanks for share such a nice information.Keep it up.

  22. ok tuh gan scrifnya ,semoga bermanfaat gan

  23. tutorialnya bagus bangt nih gan, sangat bermanfaat sekali bagi saya

  24. This is really an excellent post. The photos you included are also very helpful. They made the tutorial easier. Thanks!

  25. it's nice that there is someone who really takes his effort to share such important post. I know this will be a lot of help.

  26. Thanks for posting this. I guess I will need this sometime soon. Everybody should have valuable information to help those who are just starting.

  27. The post is very nicely written and it contains many useful facts. I am happy to find your distinguished way of writing the post. Now you make it easy for me to understand and implement. Thanks for sharing with us.

  28. makasi banyak kang atas infonya,..!!

  29. makasih buat share info'a

  30. thanks buat sharenya.. sangt bermnfaat sekli buat saya...

  31. makasih banget share info'a

  32. nice share, thanks for share..

  33. postingan yang mnarik juga nih,,
    emz boleh di coba, mkzh ya bwt share'y

  34. oke juga nie postingan nya sangat bagus nie ,dan makasih info nya ....

  35. Thanks for sharing such useful info us!Great info.

  36. Terrific! I overwhelmed it. I have not adequate words in gratitude. Pretty useful and helpful too, thanks for letting me know about this.

  37. nice share, thanks for share...

  38. sip nich informasinya..

  39. This is great.
    Hail to Indonesian engineers :)

  40. Thank you for great share. it helps a lot.

  41. Nice blog.. i like education blog... Thanks

  42. wah pake root juga ,..
    kelaitannya oke nih,... makasih informasi nya,..

  43. kaka, ini ada kontes seo terbaru, mumpung pesertanya masih sedikit! http://arie-triyadi.blogspot.com/2011/10/bisnis-online-daftar-gratis-bonus.html gimana sich biar seo blog bisa bagus, kaya blog ini?

  44. Mau nanya soal SEO donk..

  45. Nice Post gan..

  46. Bisa donk k di ajarin..hhe

  47. aduuh infonya bagus banget gan..
    bisa minta di ajarin gan..

  48. thanks for informasion!!! good luck bro

  49. Nice information,,,

    Thanks

  50. You raise a lot of questions in my head; you wrote an excellent post, but this post is also mind provoking, and I will have to think about it a bit more; I will return soon.

  51. penting banget, tapi kayaknya perlu mentor buat mempelajarinya. Gak bisa sendiri..

  52. nice infoo....

    ,akasih atas infonya..

  53. thanks your information....

  54. This is really an excellent post. The photos you included are also very helpful. They made the tutorial easier. Thanks!

  55. Thank you for such a fantastic blog. Where else could anyone get that kind of info written in such a perfect way? Keep updating the blog, looking forward for more contents. Great job, keep it up.

  56. A Data Communication Protocol for Building Automation and Control Networks - see bacnet.org. BACnet is a standard data communication protocol for Building Automation and Control Networks.

  57. how to install fine day yes
    allowed to try it
    mterima you for the info

  58. how to install fine day yes
    allowed to try it
    mterima you for the info

  59. This guide page papers quickly the mango-lassi command-line options. mango-lassi let us you to share rabbit and suggestion with other pcs using Avahi.

  60. This post was very useful to me it contains all information that was needed to Clarify all confusions regarding the subject. I express my appreciation to you for this post.

  61. makasih untuk infonya gan

  62. It's inspiring. I did not know this view can be varied.

  63. I am trying to turn a SWF submit into a Coffee put in for my website?Please recommend me some easy guidelines.

  64. makai banayak gan atas infonya sangat bermangfaat,.!!!!

  65. Great post about this. I'm surprised to see someone so educated in the matter. I am sure my visitors will find that very useful.

  66. Great site really.Terrific! I overwhelmed it. I have not adequate words in gratitude. Pretty useful and helpful too, thanks for letting me know about this.Nice share.

  67. very nice blog thanks

  68. waaah mantap nih langkap banget pembahasannya :D

  69. This information is very interesting, I really enjoyed, I would like get more information about this, because is very beautiful, thanks for sharing !

  70. I’ve been analyzing your website all along, I merely do not have the conditions. I just preferred you to know that I’m connected to your website so much.

  71. This site really great because here post so good and

    interesting.Thank you very much for this post.

  72. infonya menarik...

  73. mantap agn infonya...

  74. thank for all information....

  75. infonya menarik untuk di siomak... thank...

  76. thanks atas sharenya gan, dapet ilmu baru..

  77. Interesting post. It is however very helpful and I am sure it has helped a lot of people who were interested in installing this.

  78. Hey there, BIG thanks for this nice list! This is what I’ve been looking for. For me as a new programmer, this will help much. Greets, Alex

  79. artikel yg menarik. sukses slalu

  80. info nya sangat menarik..
    izin baca bca deh

  81. infone mantab kang..tentang mango

  82. Køb bolig i ThailandThis is beautiful, thank you so much. Mobilkraner

  83. Thankyou. And thanks again for your reply in the other community.

  84. I’ve been analyzing your website all along, I merely do not have the conditions. I just preferred you to know that I’m connected to your website so much.

  85. goood article

  86. I precisely wanted to thank you so much once more. I am not sure the things that I could possibly have carried out without the type of techniques revealed by you directly on my subject matter. Previously it was an absolute alarming matter for me, nevertheless taking note of your well-written manner you managed it forced me to jump for happiness. I’m just happier for this support and as well, have high hopes you realize what a powerful job you are always undertaking teaching the mediocre ones using your web page. Most likely you've never got to know all of us.

  87. I really loved this post. You write about this topic very well. I really like your blog and I will definitely
    bookmark it!
    cialis

  88. The license agreement is displayed. Review the agreement. Press the spacebar to show ensuing page. At the end, enter yes to proceed with the installation.

  89. Nice elaboration brother, detail & interesting! Keep posting!

  90. I am glad capture idea out of your article. It has information I have been seeking a long time. This looks absolutely perfect. Each one of these tiny information and facts are made with lot of background knowledge. I love it a good deal.

  91. Happy to see your blog as it is just what I’ve looking for and excited to read all the posts. I am looking forward to another great article from you.

  92. This is often a amazing blog, would you be interested in doing an interview regarding just how you created it? If so e-mail me and my friends!

  93. Anonymous said...

    You seem to know a lot about this, like you created the distribution in it or something. I think that you can do with some pictures to take a trip the idea home a bit, but other than that, this is awesome website.
    viagra en ligne

  94. Very interesting many thanks, I presume your readers would likely want more reviews along these lines continue the great effort.

  95. I’ve been analyzing your website all along, I merely do not have the conditions. I just preferred you to know that I’m connected to your website so much.

  96. Anonymous said...

    Thanks for the nice blog. It was very useful for me. I'm happy I found this blog. Thank you for sharing with us,I too always learn something new from your post.
    Tampa Loan Modification

  97. Anonymous said...

    Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic. If possible, as you gain expertise, would you mind updating your blog with more information? It is extremely helpful for me.
    dc photo booth rental

  98. Hi! I was surfing and found your blog post… nice! I love your blog. Cheers!

  99. The post is very nicely written and it contains many useful facts. I am happy to find your distinguished way of writing the post. Now you make it easy for me to understand and implement. Thanks for sharing with us.

  100. Incredible information. thanks for the information

  101. Who would have thought to make a unique decoration out of the coconut tree? genius! The only thing i can say is that if ever i will be using this coconut husk, i would probably use this in a restaurant or disco houses where lights are sparkling, glitters and all that.

  102. thenks for share information.

  103. Hey there, BIG thanks for this nice list! This is what I’ve been looking for. For me as a new programmer, this will help much. Greets

  104. I am speechless after seeing these pictures! I love them all! I teach kindergarten and I'm going to make a theme, and photographs have given me so many ideas! You are so talented! Thanks!

    Towing in dallas

  105. hey that's really a great post and i like this and thanks for sharing it with us!I have read a few of the articles on your website now because I was looking for information aboutgames App. and I really like your style of blogging.

  106. Quite possibly the most succinct and current info I came across about this subject. Sure pleased that I discovered that site by accident. I’ll probably be subscribing for your feed so that I will get the most current updates. Like the information here.

  107. This is often a amazing blog, would you be interested in doing an interview regarding just how you created it? If so e-mail me and my friends!

  108. It’s hard to find knowledgeable people on this topic, but you sound like you know what you’re talking about! Thanks

  109. that's good info and look easy to understand, but that is to bad i am not familiar with ubuntu or linux, so that very complex for me

  110. wht is the function of this open source software?

  111. Excellent stuff from you, man I’ve read your things before and you are just too awesome. I adore what you have got right here. You make it entertaining and you still manage to keep it smart. This is truly a great blog thanks for sharing…

  112. i very like ubuntu, cauese they are opensource, thanks

  113. thx... lengkap tutorialnya...dicoba ah....

  114. That is some inspirational stuff. If possible, as you gain expertise, would you mind updating your blog with extra information? It is extremely helpful for me.Very much thanks again and good luck!

  115. Incredible information. thanks for the information

  116. thank buat infonya gan engineer

  117. It is puzzling to me now, but in general, the usefulness and importance is overwhelming.

  118. Thanks for the nice blog. It was very useful for me. I'm happy I found this blog. Thank you for sharing with us

  119. It is puzzling to me now, but in general, the usefulness and importance is overwhelming. Very much thanks again and good luck!

  120. Prettу nіcе pοst.
    Ι just stumbled uрon yоuг blog
    and wished to say that I havе reаlly enjoyed surfіng аrounԁ your weblog pоѕts.

  121. Thanks for the nice blog. It was very useful for me. I'm happy I found this blog. Thank you for sharing with us,I too always learn something new from your post.

  122. i will try it, but i dont know this program..
    what for this mango?

  123. This is a good posting, I was wondering if I could use this write-up on my website, I will link it back to your website though. If this is a problem please let me know and I will take it down right away.

  124. other one here that is:Every day of thy life is a leaf in thy history. A Proverbs wiht great sense,i hope everyone would learn something from it.

  125. sekarang sih saya masih tergantung sama produknya bill gates itu..

  126. Thanks for share such a nice information.Keep it up.

  127. tapi kayaknya perlu mentor buat mempelajarinya. Gak bisa sendiri..

  128. A Proverbs wiht great sense,i hope everyone would learn something from it

  129. I love it a good deal.

  130. These instructions assume that you will be installing Mango as the root application within Tomcat

  131. yes i will try, great share. thank you have a great day.

  132. This acts like your little billboard that gets seen any moment you interact with others.

  133. Thank you for sharing with us.....

  134. Congratulations! Mango is now ready to use!

  135. Keep up the good work. more info please visit the web for b2c iphone etc.

  136. thank's nice article, and i like this site

  137. greeting smile
    thanks for writing may be useful for all of us who read it. if you have time please visit my website. thanks

  138. thanks for this post, actually I just know about Mango open source.

  139. This is a good site to spent time on .I just stumbled upon your informative blog and wanted to say that I have really enjoyed reading your blog posts. I will be your frequent visitor, that’s for sure.

  140. Just do what you want to do! I love your documentation.

  141. Mango OS so simple it's very good for ubuntu. Thanks for post

  142. This acts like your little billboard that gets seen any moment you interact with others.

  143. hehehe..ubuntu ya, aku masih pake windows hee..salam sukses aja dari onpaparazzi.blogspot.com

  144. terima kasih banyak untuk menulis dan posting, mudah-mudahan sangat berguna bagi kita semua pembaca, keinginan terbaik dari saya

  145. tiada kata yang terucap untuk mengungkapkan perasaan dari hati yang paling dalam selain mengucapkan.. thans mas..

  146. erimakasih atas postingnya, semoga bermanfaat bagi yang membaca, dan silahkan kunjungi web kami Pulau Tidung

  147. terimakasih atas infonya semoga bermanfaat

  148. thank boss

  149. Fist visit and I was really impressed to read your blog quality contents

  150. nfonya semoga bermanfaatGuess watches

  151. thank's infonya,. sangat menarik

    kata bijak super terbaru 2013

  152. I do get as avowedly with all the ideas you've offered to your communication. They're truly disenchanting and give definitely operate. Still, the posts are really stubby for novices. Could you please utilize them a minuscule from consequent second? Thanks for the communicating. scottsdale custom drapery | scottsdale interior design

  153. its a great articles, thanks for sharing :)
    Info Unik Artis

  154. its a great articles, thanks for sharing :) Tips Cepat Hamil

  155. Anonymous said...

    thank you for sharing, very useful article.
    Sewa Mobil Di Bali

  156. yes i will try, great share. thank you have a great day.
    Tour in Bali

  157. nyimak aja gan

    http://obattradisional22.com/

  158. Nice and useful step to set up:
    http://www.flamingochillers.com/airconAircooledScrew.htm

  159. Awesome you have protected technological details here i experience one of the best factor is that we obtain any application if u don't do rush we must adhere to all given actions. http://www.uslumberbrokers.com/

  160. MESO-Rx est la source officielle de renseignements sur les stéroïdes et les sources de stéroïdes. Experts compétents répondre à vos questions stéroïdes.
    Casino Services

  161. Mantap bro lanjutkan terus

  162. lieur euy broo bacanya
    resep sop buntut hotel borobudur

  163. This is a very helpful and informative post. Thanks it to share keeps it up.

    Visit My Profile

  164. Hemzzz... Tidak dengan bahasa Indonesia.. But.. ini menarik..

    terimakasih atas informasinya..


    nurdiana.web.id

  165. Its a neat and clear explanation. thanks for sharing..Keep sharing...

    Linux Training in Chennai | Linux Training in Chennai

Post a Comment

 

About me | My Blog | Supported by Alifahru | Designed by Subagya | Powered By Blogspot | © Copyright  2008