<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-4315897426119112676</atom:id><lastBuildDate>Mon, 07 Oct 2024 06:57:57 +0000</lastBuildDate><category>CentOS 5</category><category>Linux</category><category>PHP</category><category>SSL</category><category>SSL warning</category><category>Wildlife</category><category>cisco router 2600 2600XM ATM &quot;ATM-T1&quot; &quot;4T1-IMA&quot;</category><category>contains unauthenticated content</category><category>firefox</category><category>https</category><category>unauthenticated content</category><title>neo220</title><description>[random factoids]</description><link>http://de0ris.blogspot.com/</link><managingEditor>noreply@blogger.com (skyMyrka)</managingEditor><generator>Blogger</generator><openSearch:totalResults>8</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4315897426119112676.post-3372733464006285296</guid><pubDate>Wed, 15 Dec 2010 02:11:00 +0000</pubDate><atom:updated>2010-12-17T11:28:48.086-05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">contains unauthenticated content</category><category domain="http://www.blogger.com/atom/ns#">firefox</category><category domain="http://www.blogger.com/atom/ns#">https</category><category domain="http://www.blogger.com/atom/ns#">SSL</category><category domain="http://www.blogger.com/atom/ns#">SSL warning</category><category domain="http://www.blogger.com/atom/ns#">unauthenticated content</category><title>SSL warning: contains unauthenticated content</title><description>One of the major annoyances of SSL is getting it to work when bouncing between http and https access with the same resources (e.g. stylesheets, images, etc).  The most common of issues is most likely to be &quot;contains unauthenticated content &quot; warning (via FF).  Some of the &quot;symptoms&quot; may include embedded content (image, flash movies, etc.) not loading.&lt;br /&gt;&lt;br /&gt;Below is a quick and dirty run-down list on how to eliminate this warning, and stop giving your potential clients cyber heart attacks when they see this huge red exclamation mark.&lt;br /&gt;&lt;br /&gt;1.  Do not use any absolute URLs in code. Period. Load files/link with relative path only.  In other words, when in https there shouldn&#39;t be any http reference in html for &lt;b&gt;any &lt;/b&gt;loads (script/image/file/etc).  Get firebug addon for firefox that will help you inspect your source code.&lt;br /&gt;&lt;br /&gt;2. modify htaccess rule to exclude .css, js, image(e.g. gif,png, jpe?g) and other types (e.g. swf) from being redirected for objects that you &quot;share&quot; between http and https.  When page loads it should grab files under correct protocol.&lt;br /&gt;&lt;br /&gt;3.  Most hosts nowadays offer some type of hotlink protection.  If you followed suggestions above and still having warning issues, turn off hotlink protection.&lt;br /&gt;&lt;br /&gt;Voilà! You have a sweet clean page with a nice lock under https.&lt;br /&gt;you&#39;re welcome.</description><link>http://de0ris.blogspot.com/2010/12/ssl-warning-contains-unauthenticated.html</link><author>noreply@blogger.com (skyMyrka)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4315897426119112676.post-657451800999760145</guid><pubDate>Wed, 07 Apr 2010 01:17:00 +0000</pubDate><atom:updated>2010-04-06T21:37:57.129-04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">cisco router 2600 2600XM ATM &quot;ATM-T1&quot; &quot;4T1-IMA&quot;</category><title>ATM-T1 4T1-IMA not recognized</title><description>Writing this one down cuz it took me &lt;b&gt;*FOREVER*&lt;/b&gt; to figure it out.  I can&#39;t be the only one working with old junk. In my case Cisco 2600XM and ATM-T1 4T1-MA network module.&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;SYMPTOM:&lt;/b&gt;&lt;br /&gt;Card is not recognized.  Unable to configure ATM and IMA interface.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Visual verify:&lt;/b&gt;&lt;br /&gt;Right after IOS load, EN light goes off -- adapter disabled.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Sys verify: &lt;/b&gt;&lt;br /&gt;Get following in &lt;b&gt;show diag&lt;/b&gt;&lt;br /&gt;Slot 1:&lt;br /&gt;    Unknown (type 188) Port adapter&lt;br /&gt;    Port adapter is disabled&lt;br /&gt;    Port adapter insertion time unknown&lt;br /&gt;    EEPROM contents at hardware discovery:&lt;br /&gt;    Hardware Revision        : 1.0&lt;br /&gt;    Top Assy. Part Number    : 800-03974-03&lt;br /&gt;    Board Revision           : D0&lt;br /&gt;    Deviation Number         : 0-0&lt;br /&gt;    Fab Version              : 05&lt;br /&gt;    PCB Serial Number        : JAD________&lt;br /&gt;   RMA Test History         : 00&lt;br /&gt;    RMA Number               : 0-0-0-0&lt;br /&gt;    RMA History              : 00&lt;br /&gt;    Product (FRU) Number     : NM-ATM-4T1=&lt;br /&gt;    EEPROM format version 4&lt;br /&gt;    EEPROM contents (hex):&lt;br /&gt;      0x00: 04 FF 40 00 BC 41 01 00 C0 46 03 20 00 0F 86 03&lt;br /&gt;      0x10: 42 44 30 80 00 00 00 00 02 05 C1 8B 4A 41 44 30&lt;br /&gt;      0x20: 37 32 37 30 34 46 31 03 00 81 00 00 00 00 04 00&lt;br /&gt;      0x30: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF&lt;br /&gt;      0x40: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF&lt;br /&gt;      0x50: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF&lt;br /&gt;      0x60: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF&lt;br /&gt;      0x70: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF&lt;br /&gt; &lt;br /&gt;&lt;b&gt;FIX:&lt;/b&gt;&lt;br /&gt;Any Cisco IOS passed version 12.2 DOES NOT support the adapter (would be helpful if documentation reflected that).  To fix go to &lt;a href=&quot;http://www.cisco.com/cisco/web/download/index.html&quot;&gt;&lt;b&gt;cisco&lt;/b&gt;&lt;/a&gt;, select router model you have (2651XM in my case) download earliest version of IOS 12.2&lt;br /&gt;&lt;br /&gt;&lt;b&gt;LOAD OLD OS HOW TO:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;1.  Your router must be connected via console and fastEthernet with IP configured.&lt;br /&gt;2.  Download &lt;a href=&quot;http://tftpd32.jounin.net/&quot;&gt;TFTPD32&lt;/a&gt; to client WS.  Extract, copy cisco IOS file to root directory.  Run program (tftpd32.exe) in server mode.&lt;br /&gt;3.  Connect client WS to console port of the router via hyperTerminal.  Switch to enable mode.&lt;br /&gt;4.  List files currently in flash: &lt;b&gt;dir flash:&lt;/b&gt;&lt;br /&gt;5.  Make back up of your current IOS (not covered here)&lt;br /&gt;6.  See if you have enough room to hold on to your original IOS by running &lt;b&gt;show file system&lt;/b&gt; command&lt;br /&gt;7.  Verify that client WS with TFTP server running has IP connectivity to the router (do ping from client to the router&#39;s ethernet adapter)&lt;br /&gt;8.  Copy downloaded older version of cisco IOS to the router.  From hyperTerminal session type in the following: &lt;b&gt;copy tftp: flash:&lt;/b&gt;&lt;br /&gt;9.  Enter address of client WS when prompted&lt;br /&gt;&lt;br /&gt;10.  Enter file name of the downloaded OS when prompted and verify as destination file.  Hit &#39;y&#39; enter to confirm copy.&lt;br /&gt;11.  If you have enough free space, select &#39;n&#39; to &#39;erase flash&#39; prompt.  If you&#39;re out of space, select &#39;y&#39;, but make sure you&#39;ve got back up of original OS.  I can&#39;t emphasize this enough.  Also, may want to do backup of &lt;b&gt;show run&lt;/b&gt; as config may change.&lt;br /&gt;12. Verify image file loaded successfully in flash: &lt;b&gt;dir flash:&lt;/b&gt;&lt;br /&gt;13. Verify file&#39;s integrity: &lt;b&gt;verify flash:IOS_FILE_NAME.bin&lt;/b&gt;&lt;br /&gt;14. Verify config register:&lt;br /&gt;&lt;b&gt;      #config terminal&lt;/b&gt;&lt;br /&gt;&lt;b&gt;      #config-register 0x2102&lt;/b&gt;&lt;br /&gt;15. Set newly loaded IOS to boot&lt;br /&gt;&lt;b&gt;       #show run | include boot&lt;/b&gt;&lt;br /&gt;&lt;b&gt;       #configure terminal&lt;/b&gt;&lt;br /&gt;&lt;b&gt;      (config)no boot system&lt;/b&gt;&lt;br /&gt;&lt;b&gt;      (config)boot system flash:IOS_FILE_NAME.bin&lt;/b&gt;&lt;br /&gt;16. Verify by running &lt;span style=&quot;font-weight: bold;&quot;&gt;show run | include boot&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;      &lt;/span&gt;Newly loaded IOS file name should show.&lt;br /&gt;17.  Commit to memory and reload&lt;br /&gt;  &lt;span style=&quot;font-weight: bold;&quot;&gt;#write memory&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;     #reload&lt;/span&gt;&lt;br /&gt;18. Upon reload run &lt;span style=&quot;font-weight: bold;&quot;&gt;#show version&lt;/span&gt;.  You should see 12.2 or something along those lines.  4T1-IMA lights should also nicely stay on to indicate that adapter has been successfully recognized.  Now you can configure your ATM interface.&lt;br /&gt;&lt;br /&gt;I&#39;m not responsible for any non-bootable routers.  It is YOUR responsibility to do back up if you choose to follow these instructions.  If your router is non-bootable, I cannot help you.  G&#39;luck.</description><link>http://de0ris.blogspot.com/2010/04/atm-t1-4t1-ima-not-recognized.html</link><author>noreply@blogger.com (skyMyrka)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4315897426119112676.post-2521951769726671309</guid><pubDate>Sun, 14 Dec 2008 22:43:00 +0000</pubDate><atom:updated>2008-12-15T22:00:57.427-05:00</atom:updated><title>&quot;Invalid Application&quot; error for Gmail on mobile phones</title><description>&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAV01-lSqIe6zzPmI16M-CmsmKvlYdks-FIcKObu_x1bM3t3ntqXR2pye6rvoedms8HqoX_dUBWQAOa6WbHns1z77QfL9tGvPXaDjy51UAEXXXQj7XURbOIMHwP26R7I1oLDPBju_R2ss_/s1600-h/gmail.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAV01-lSqIe6zzPmI16M-CmsmKvlYdks-FIcKObu_x1bM3t3ntqXR2pye6rvoedms8HqoX_dUBWQAOa6WbHns1z77QfL9tGvPXaDjy51UAEXXXQj7XURbOIMHwP26R7I1oLDPBju_R2ss_/s320/gmail.jpg&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;Unless u&#39;ve been living under a rock and don&#39;t use a smartphone or a blackberry, you already know about all the bells and whistles of Gmail 2 for mobile.  Yay to google (: Yet another reason to fall in luv.  Read up more &lt;b&gt;&lt;a href=&quot;http://googlemobile.blogspot.com/2008/10/introducing-gmail-for-mobile-20.html&quot;&gt;here&lt;/a&gt;&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;However, with some of the mobile phones (Sony Ericsson  C905 in my case), when attempting to install mobile gmail app, &quot;&lt;b&gt;Invalid Application&lt;/b&gt;&quot; error is received.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;To work around this problem, download the jar file &lt;a href=&quot;http://m.google.com/app/v2.0.6/L1/gmail-g.jar&quot;&gt;here&lt;/a&gt; to your PC and transfer it to your phone or type (case sensitive) &lt;b&gt;&lt;a href=&quot;http://m.google.com/app/v2.0.6/L1/gmail-g.jar&quot;&gt;m.google.com/app/v2.0.6/L1/gmail-g.jar&lt;/a&gt;&lt;/b&gt; in your mobile browser, and install gmail in your mobile applications directory when prompted.&lt;/div&gt;&lt;br /&gt;If you have an older phone which does not meet memory requirement for the new version, you can download 1.x version of the app here: &lt;a href=&quot;http://m.google.com/app/v1.1.0/L1/gmail-g.jar&quot;&gt;m.google.com/app/v1.1.0/L1/gmail-g.jar&lt;/a&gt; or here: &lt;a href=&quot;http://m.google.com/app/v1.5.0/L1/gmail-g.jar&quot;&gt;m.google.com/app/v1.5.0/L1/gmail-g.jar&lt;/a&gt;</description><link>http://de0ris.blogspot.com/2008/12/invalid-application-error-for-gmail-20.html</link><author>noreply@blogger.com (skyMyrka)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAV01-lSqIe6zzPmI16M-CmsmKvlYdks-FIcKObu_x1bM3t3ntqXR2pye6rvoedms8HqoX_dUBWQAOa6WbHns1z77QfL9tGvPXaDjy51UAEXXXQj7XURbOIMHwP26R7I1oLDPBju_R2ss_/s72-c/gmail.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4315897426119112676.post-2547044763831951239</guid><pubDate>Tue, 26 Aug 2008 21:04:00 +0000</pubDate><atom:updated>2008-11-06T13:17:45.111-05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">CentOS 5</category><category domain="http://www.blogger.com/atom/ns#">Linux</category><title>Installing Tomcat 6.x on CentOS 5</title><description>&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQqTaVADf4iyvz3dlJjAPyXBEPi_8OBMS6iNVnPUKBMj8NO0cFg-6kghGuBR9DBoyodRiMeXc09w0AzpLPeMQ7zChKF_7I3h79_-JON8pPvgnSBoz_1UJ0EHmShP5pAWZqRZMzFS-gqlOv/s1600-h/tomcat.gif&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5238984515741561282&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQqTaVADf4iyvz3dlJjAPyXBEPi_8OBMS6iNVnPUKBMj8NO0cFg-6kghGuBR9DBoyodRiMeXc09w0AzpLPeMQ7zChKF_7I3h79_-JON8pPvgnSBoz_1UJ0EHmShP5pAWZqRZMzFS-gqlOv/s400/tomcat.gif&quot; style=&quot;margin: 0pt 0pt 10px 10px; cursor: pointer; float: right;&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;span style=&quot;;font-family:courier new;font-size:100%;&quot;  &gt;&lt;b&gt;&lt;span style=&quot;background-color: black;color:white;&quot; &gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;b style=&quot;background-color: black; color: white;&quot;&gt;UPDATE: This post was revised to work with java6u10 and now includes instructions for automated startup config.&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(102, 102, 102);font-size:85%;&quot; &gt;FYI: if you used this post before 11/06, there have been some major changes to the start up script.  This new version is the most basic and easiest. ty.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;This is a quick and dirty guide for installing Apache Tomcat 6.0.18 on CentOS5. It is based on detailed instructions for CentOS 4 and tomcat 6.0.13 &lt;a href=&quot;http://www.centos.org/modules/newbb/viewtopic.php?topic_id=9623&quot; style=&quot;font-weight: bold;&quot;&gt;here&lt;/a&gt;. If you get no luck, please check out this link for comprehensive explanation and adopt it to your platform.&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;b style=&quot;color: rgb(153, 0, 0);&quot;&gt;Install pre-requisite&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;b style=&quot;color: rgb(153, 0, 0);&quot;&gt;1.&lt;/b&gt; Download java JDK 6 Update 10 and Java Runtime Environment (JRE) 6 Update 10 bin (&lt;b&gt;NOT RPM&lt;/b&gt;)&lt;br /&gt;&lt;br /&gt;&lt;b style=&quot;color: rgb(153, 0, 0);&quot;&gt;2. &lt;/b&gt;Open terminal, su to root and move downloaded files to /root directory&lt;/div&gt;&lt;div  style=&quot;background-color: rgb(255, 242, 204); color: rgb(56, 118, 29);font-family:&amp;quot;;&quot;&gt;$ su root&lt;br /&gt;Password:&lt;br /&gt;# mv [.....]&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: rgb(153, 0, 0);&quot;&gt;3.&lt;/span&gt;&lt;/b&gt; Create java environment&lt;/div&gt;&lt;div  style=&quot;background-color: rgb(255, 242, 204); color: rgb(56, 118, 29);font-family:&amp;quot;;&quot;&gt;# mkdir /usr/java&lt;br /&gt;# cd /usr/java&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;b style=&quot;color: rgb(153, 0, 0);&quot;&gt;4.&lt;/b&gt; Execute downloaded jdk and jre bins.&lt;/div&gt;&lt;div  style=&quot;background-color: rgb(255, 242, 204); color: rgb(56, 118, 29);font-family:&amp;quot;;&quot;&gt;# sh /root/jre-6u10-linux-i586.bin&lt;br /&gt;# sh /root/jdk-6u10-linux-i586.bin&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;b style=&quot;color: rgb(153, 0, 0);&quot;&gt;5.&lt;/b&gt; verify install&lt;/div&gt;&lt;div  style=&quot;background-color: rgb(255, 242, 204); color: rgb(56, 118, 29);font-family:&amp;quot;;&quot;&gt;# ls&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;you should see that your /usr/java directory now contains &lt;b&gt;jdk1.6.0_10&lt;/b&gt; and &lt;b&gt;jre1.6.0_10&lt;/b&gt; directories&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;b style=&quot;color: rgb(153, 0, 0);&quot;&gt;Install overview&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;b style=&quot;color: rgb(153, 0, 0);&quot;&gt;1.&lt;/b&gt; Download and extract Apache Ant (&lt;b&gt;apache-ant-1.7.1-bin.tar.gz&lt;/b&gt;) to /usr/share&lt;/div&gt;&lt;div  style=&quot;background-color: rgb(255, 242, 204); color: rgb(56, 118, 29);font-family:&amp;quot;;&quot;&gt;# cd /usr/share&lt;br /&gt;# tar -xzf apache-ant-1.7.1-bin.tar.gz&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;b style=&quot;color: rgb(153, 0, 0);&quot;&gt;2.&lt;/b&gt; Download and extract Apache Tomcat (apache-tomcat-6.0.18.tar.gz) to /usr/share&lt;/div&gt;&lt;div  style=&quot;background-color: rgb(255, 242, 204); color: rgb(56, 118, 29);font-family:&amp;quot;;&quot;&gt;# tar -xzf apache-tomcat-6.0.18.tar.gz&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: rgb(153, 0, 0);&quot;&gt;3. &lt;/span&gt;&lt;/b&gt;Enable ant link&lt;/div&gt;&lt;div  style=&quot;background-color: rgb(255, 242, 204); color: rgb(56, 118, 29);font-family:&amp;quot;;&quot;&gt;# ln -s /usr/share/apache-ant-1.7.1/bin/ant /usr/bin&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;b style=&quot;color: rgb(153, 0, 0);&quot;&gt;4.&lt;/b&gt; Set up JAVA_HOME $env in catalina.sh&lt;/div&gt;&lt;div  style=&quot;background-color: rgb(255, 242, 204); color: rgb(56, 118, 29);font-family:&amp;quot;;&quot;&gt;# cd /usr/share/apache-tomcat-6.0.18/bin&lt;br /&gt;# vi catalina.sh&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;b style=&quot;color: rgb(153, 0, 0);&quot;&gt;5. &lt;/b&gt;After the first line, add following&lt;/div&gt;&lt;div  style=&quot;background-color: rgb(255, 242, 204); color: rgb(56, 118, 29);font-family:&amp;quot;;&quot;&gt;JAVA_HOME=/usr/java/jdk1.6.0_10&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;b style=&quot;color: rgb(153, 0, 0);&quot;&gt;6.&lt;/b&gt; Test config with Tomcat&lt;/div&gt;&lt;div  style=&quot;background-color: rgb(255, 242, 204); color: rgb(56, 118, 29);font-family:&amp;quot;;&quot;&gt;# cd /usr/share/apache-tomcat-6.0.18/bin&lt;br /&gt;# ./startup.sh&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;b style=&quot;color: rgb(153, 0, 0);&quot;&gt;7.&lt;/b&gt; Check logs for errors&lt;/div&gt;&lt;div  style=&quot;background-color: rgb(255, 242, 204); color: rgb(56, 118, 29);font-family:&amp;quot;;&quot;&gt;# less /usr/share/apache-tomcat-6.0.18/logs/catalina.out&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;b style=&quot;color: rgb(153, 0, 0);&quot;&gt;8.&lt;/b&gt; Fix errors if any. Go to &lt;b&gt;http://localhost:8080&lt;/b&gt; for Tomcat&#39;s web interface.&lt;/div&gt;&lt;div style=&quot;color: rgb(153, 0, 0); margin-bottom: 0in; text-align: center;&quot;&gt;&lt;b&gt;Automate start up&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;/div&gt;1. Create script in /etc/init.d for automated start up/shutdown &lt;br /&gt;&lt;div style=&quot;background-color: rgb(255, 242, 204); color: rgb(56, 118, 29); font-family: &amp;quot;;&amp;quot;;&quot;&gt;# cd /etc/init.d&lt;/div&gt;&lt;div style=&quot;background-color: rgb(255, 242, 204); color: rgb(56, 118, 29); font-family: &amp;quot;;&amp;quot;;&quot;&gt;# vi tomcat&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;2. Place following in the file&lt;/div&gt;&lt;div style=&quot;background-color: rgb(255, 242, 204); color: rgb(56, 118, 29); font-family: &amp;quot;;&amp;quot;;&quot;&gt;&lt;span style=&quot;font-size:x-small;&quot;&gt;#!/bin/bash&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: rgb(255, 242, 204); color: rgb(56, 118, 29); font-family: &amp;quot;;&amp;quot;;&quot;&gt;&lt;span style=&quot;font-size:x-small;&quot;&gt;# chkconfig: 234 20 80&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: rgb(255, 242, 204); color: rgb(56, 118, 29); font-family: &amp;quot;;&amp;quot;;&quot;&gt;&lt;span style=&quot;font-size:x-small;&quot;&gt;# description: Tomcat Server basic start/shutdown script&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: rgb(255, 242, 204); color: rgb(56, 118, 29); font-family: &amp;quot;;&amp;quot;;&quot;&gt;&lt;span style=&quot;font-size:x-small;&quot;&gt;# processname: tomcat&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: rgb(255, 242, 204); color: rgb(56, 118, 29); font-family: &amp;quot;;&amp;quot;;&quot;&gt;&lt;span style=&quot;font-size:x-small;&quot;&gt;JAVA_HOME=/usr/java/jdk1.6.0_10&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: rgb(255, 242, 204); color: rgb(56, 118, 29); font-family: &amp;quot;;&amp;quot;;&quot;&gt;&lt;span style=&quot;font-size:x-small;&quot;&gt;export JAVA_HOME&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: rgb(255, 242, 204); color: rgb(56, 118, 29); font-family: &amp;quot;;&amp;quot;;&quot;&gt;&lt;span style=&quot;font-size:x-small;&quot;&gt;TOMCAT_HOME=/usr/share/apache-tomcat-6.0.18/bin&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: rgb(255, 242, 204); color: rgb(56, 118, 29); font-family: &amp;quot;;&amp;quot;;&quot;&gt;&lt;span style=&quot;font-size:x-small;&quot;&gt;START_TOMCAT=/usr/share/apache-tomcat-6.0.18/bin/startup.sh&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: rgb(255, 242, 204); color: rgb(56, 118, 29); font-family: &amp;quot;;&amp;quot;;&quot;&gt;&lt;span style=&quot;font-size:x-small;&quot;&gt;STOP_TOMCAT=/usr/share/apache-tomcat-6.0.18/bin/shutdown.sh&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: rgb(255, 242, 204); color: rgb(56, 118, 29); font-family: &amp;quot;;&amp;quot;;&quot;&gt;&lt;span style=&quot;font-size:x-small;&quot;&gt;start() {&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: rgb(255, 242, 204); color: rgb(56, 118, 29); font-family: &amp;quot;;&amp;quot;;&quot;&gt;&lt;span style=&quot;font-size:x-small;&quot;&gt;         echo -n &quot;Starting tomcat: &quot;&lt;/span&gt;&lt;/div&gt;&lt;div  style=&quot;background-color: rgb(255, 242, 204); color: rgb(56, 118, 29);font-family:&amp;quot;;&quot;&gt;&lt;span style=&quot;font-size:x-small;&quot;&gt;         cd $TOMCAT_HOME&lt;/span&gt;&lt;/div&gt;&lt;div  style=&quot;background-color: rgb(255, 242, 204); color: rgb(56, 118, 29);font-family:&amp;quot;;&quot;&gt;&lt;span style=&quot;font-size:x-small;&quot;&gt;         ${START_TOMCAT}&lt;/span&gt;&lt;/div&gt;&lt;div  style=&quot;background-color: rgb(255, 242, 204); color: rgb(56, 118, 29);font-family:&amp;quot;;&quot;&gt;&lt;span style=&quot;font-size:x-small;&quot;&gt;         echo &quot;done.&quot;&lt;/span&gt;&lt;/div&gt;&lt;div  style=&quot;background-color: rgb(255, 242, 204); color: rgb(56, 118, 29);font-family:&amp;quot;;&quot;&gt;&lt;span style=&quot;font-size:x-small;&quot;&gt;}        &lt;/span&gt;&lt;/div&gt;&lt;div  style=&quot;background-color: rgb(255, 242, 204); color: rgb(56, 118, 29);font-family:&amp;quot;;&quot;&gt;&lt;span style=&quot;font-size:x-small;&quot;&gt;stop() {&lt;/span&gt;&lt;/div&gt;&lt;div  style=&quot;background-color: rgb(255, 242, 204); color: rgb(56, 118, 29);font-family:&amp;quot;;&quot;&gt;&lt;span style=&quot;font-size:x-small;&quot;&gt;        echo -n &quot;Shutting down tomcat: &quot;&lt;/span&gt;&lt;/div&gt;&lt;div  style=&quot;background-color: rgb(255, 242, 204); color: rgb(56, 118, 29);font-family:&amp;quot;;&quot;&gt;&lt;span style=&quot;font-size:x-small;&quot;&gt;        cd $TOMCAT_HOME&lt;/span&gt;&lt;/div&gt;&lt;div  style=&quot;background-color: rgb(255, 242, 204); color: rgb(56, 118, 29);font-family:&amp;quot;;&quot;&gt;&lt;span style=&quot;font-size:x-small;&quot;&gt;        ${STOP_TOMCAT}&lt;/span&gt;&lt;/div&gt;&lt;div  style=&quot;background-color: rgb(255, 242, 204); color: rgb(56, 118, 29);font-family:&amp;quot;;&quot;&gt;&lt;span style=&quot;font-size:x-small;&quot;&gt;        echo &quot;done.&quot;&lt;/span&gt;&lt;/div&gt;&lt;div  style=&quot;background-color: rgb(255, 242, 204); color: rgb(56, 118, 29);font-family:&amp;quot;;&quot;&gt;&lt;span style=&quot;font-size:x-small;&quot;&gt;       }&lt;/span&gt;&lt;/div&gt;&lt;div  style=&quot;background-color: rgb(255, 242, 204); color: rgb(56, 118, 29);font-family:&amp;quot;;&quot;&gt;&lt;span style=&quot;font-size:x-small;&quot;&gt;case &quot;$1&quot; in&lt;/span&gt;&lt;/div&gt;&lt;div  style=&quot;background-color: rgb(255, 242, 204); color: rgb(56, 118, 29);font-family:&amp;quot;;&quot;&gt;&lt;span style=&quot;font-size:x-small;&quot;&gt;start)&lt;/span&gt;&lt;/div&gt;&lt;div  style=&quot;background-color: rgb(255, 242, 204); color: rgb(56, 118, 29);font-family:&amp;quot;;&quot;&gt;&lt;span style=&quot;font-size:x-small;&quot;&gt;    start&lt;/span&gt;&lt;/div&gt;&lt;div  style=&quot;background-color: rgb(255, 242, 204); color: rgb(56, 118, 29);font-family:&amp;quot;;&quot;&gt;&lt;span style=&quot;font-size:x-small;&quot;&gt;    ;;&lt;/span&gt;&lt;/div&gt;&lt;div  style=&quot;background-color: rgb(255, 242, 204); color: rgb(56, 118, 29);font-family:&amp;quot;;&quot;&gt;&lt;span style=&quot;font-size:x-small;&quot;&gt;stop)&lt;/span&gt;&lt;/div&gt;&lt;div face=&quot;&amp;quot;&quot; style=&quot;background-color: rgb(255, 242, 204); color: rgb(56, 118, 29);&quot;&gt;&lt;span style=&quot;font-size:x-small;&quot;&gt;    stop&lt;/span&gt;&lt;/div&gt;&lt;div face=&quot;&amp;quot;&quot; style=&quot;background-color: rgb(255, 242, 204); color: rgb(56, 118, 29);&quot;&gt;&lt;span style=&quot;font-size:x-small;&quot;&gt;    ;;&lt;/span&gt;&lt;/div&gt;&lt;div face=&quot;&amp;quot;&quot; style=&quot;background-color: rgb(255, 242, 204); color: rgb(56, 118, 29);&quot;&gt;&lt;span style=&quot;font-size:x-small;&quot;&gt;restart)&lt;/span&gt;&lt;/div&gt;&lt;div face=&quot;&amp;quot;&quot; style=&quot;background-color: rgb(255, 242, 204); color: rgb(56, 118, 29);&quot;&gt;&lt;span style=&quot;font-size:x-small;&quot;&gt;    stop&lt;/span&gt;&lt;/div&gt;&lt;div face=&quot;&amp;quot;&quot; style=&quot;background-color: rgb(255, 242, 204); color: rgb(56, 118, 29);&quot;&gt;&lt;span style=&quot;font-size:x-small;&quot;&gt;    sleep 10&lt;/span&gt;&lt;/div&gt;&lt;div face=&quot;&amp;quot;&quot; style=&quot;background-color: rgb(255, 242, 204); color: rgb(56, 118, 29);&quot;&gt;&lt;span style=&quot;font-size:x-small;&quot;&gt;    start&lt;/span&gt;&lt;/div&gt;&lt;div face=&quot;&amp;quot;&quot; style=&quot;background-color: rgb(255, 242, 204); color: rgb(56, 118, 29);&quot;&gt;&lt;span style=&quot;font-size:x-small;&quot;&gt;    ;;&lt;/span&gt;&lt;/div&gt;&lt;div face=&quot;&amp;quot;&quot; style=&quot;background-color: rgb(255, 242, 204); color: rgb(56, 118, 29);&quot;&gt;&lt;span style=&quot;font-size:x-small;&quot;&gt;*)     &lt;/span&gt;&lt;/div&gt;&lt;div face=&quot;&amp;quot;&quot; style=&quot;background-color: rgb(255, 242, 204); color: rgb(56, 118, 29);&quot;&gt;&lt;span style=&quot;font-size:x-small;&quot;&gt;echo &quot;Usage: $0 {start|stop|restart}&quot;&lt;/span&gt;&lt;/div&gt;&lt;div face=&quot;&amp;quot;&quot; style=&quot;background-color: rgb(255, 242, 204); color: rgb(56, 118, 29);&quot;&gt;&lt;span style=&quot;font-size:x-small;&quot;&gt;esac&lt;/span&gt;&lt;/div&gt;&lt;div face=&quot;&amp;quot;&quot; style=&quot;background-color: rgb(255, 242, 204); color: rgb(56, 118, 29);&quot;&gt;&lt;span style=&quot;font-size:x-small;&quot;&gt;exit 0&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;b style=&quot;color: rgb(153, 0, 0);&quot;&gt;2.&lt;/b&gt; Change permissions&lt;br /&gt;&lt;div style=&quot;background-color: rgb(255, 242, 204); color: rgb(56, 118, 29); font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;# chmod 755 tomcat&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;b style=&quot;color: rgb(153, 0, 0);&quot;&gt;3. &lt;/b&gt;Add script to system services&lt;/div&gt;&lt;div style=&quot;background-color: rgb(255, 242, 204); color: rgb(56, 118, 29); font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0in;&quot;&gt;# chkconfig --add tomcat  &lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;b style=&quot;color: rgb(153, 0, 0);&quot;&gt;4.&lt;/b&gt; Verify modifications (this script uses levels 2-4)&lt;/div&gt;&lt;div style=&quot;background-color: rgb(255, 242, 204); color: rgb(56, 118, 29); font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0in;&quot;&gt;# chkconfig --level 234 tomcat on&lt;br /&gt;# chkconfig --list tomcat&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;you should see that service using levels 2, 3 and 4:&lt;br /&gt;tomcat 0:off 1:off 2:on 3:on 4:on 5:off 6:off&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;b style=&quot;color: rgb(153, 0, 0);&quot;&gt;5.&lt;/b&gt; Test script start up/shutdown  &lt;/div&gt;&lt;div style=&quot;background-color: rgb(255, 242, 204); color: rgb(56, 118, 29); font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0in;&quot;&gt;# service tomcat start&lt;/div&gt;&lt;div style=&quot;background-color: rgb(255, 242, 204); color: rgb(56, 118, 29); font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin-bottom: 0in;&quot;&gt;# service tomcat stop&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;So, at this point, tomcat service will start automatically upon reboot. G&#39;luck (:&lt;/div&gt;</description><link>http://de0ris.blogspot.com/2008/08/installing-tomcat-6x-on-centos-5.html</link><author>noreply@blogger.com (skyMyrka)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQqTaVADf4iyvz3dlJjAPyXBEPi_8OBMS6iNVnPUKBMj8NO0cFg-6kghGuBR9DBoyodRiMeXc09w0AzpLPeMQ7zChKF_7I3h79_-JON8pPvgnSBoz_1UJ0EHmShP5pAWZqRZMzFS-gqlOv/s72-c/tomcat.gif" height="72" width="72"/><thr:total>62</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4315897426119112676.post-5108829485216103397</guid><pubDate>Tue, 26 Aug 2008 02:29:00 +0000</pubDate><atom:updated>2008-10-09T09:31:48.614-04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">CentOS 5</category><title>Installing Java (Sun JDK 1.6.0) on CentOS 5</title><description>&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: georgia; font-size: 100%;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivOFHTuGXH_01UmKULCUZOopQuYnMvzy3F-M96bPAK7x-EopvfynpMFg-cHbEkVOfIeNTdzKkt0EaKBHo1S-ktnxDna0qoBGEgQf7VzrVyci_up83nv6Ygpqiyd707vqNOKQGCu-ovT5q8/s1600-h/centoslogo-200.png&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5238649921482853106&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivOFHTuGXH_01UmKULCUZOopQuYnMvzy3F-M96bPAK7x-EopvfynpMFg-cHbEkVOfIeNTdzKkt0EaKBHo1S-ktnxDna0qoBGEgQf7VzrVyci_up83nv6Ygpqiyd707vqNOKQGCu-ovT5q8/s400/centoslogo-200.png&quot; style=&quot;cursor: pointer; float: left; height: 77px; margin: 0pt 10px 10px 0pt; width: 77px;&quot; /&gt;&lt;/a&gt;This is a quick and dirty guide to installing java on CentOS5.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: georgia; font-size: 85%; font-style: italic;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;NOTE:&lt;/span&gt; do not log in as root to perform this installation, but you will need credentials with &lt;a href=&quot;http://www.tech-geeks.org/contrib/mdrone/LinuxWorkshop/newbie-linux-manual/sections/su.html&quot;&gt;su&lt;/a&gt; command.  During install, substitute &#39;user_name&#39; with your login handle.&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: georgia; font-size: 100%;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: #993300; font-family: georgia; font-size: 100%; font-weight: bold;&quot;&gt;STEP I: SYS PREP&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: georgia; font-size: 100%;&quot;&gt;&lt;span style=&quot;color: #993300; font-weight: bold;&quot;&gt;1.&lt;/span&gt; Open terminal&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #993300; font-weight: bold;&quot;&gt;2.&lt;/span&gt; Set up working directories (in this example it&#39;s ~/rpmbuild)&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;span style=&quot;color: #003300;&quot;&gt;&lt;span style=&quot;color: #006600;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #fff2cc;&quot;&gt;&lt;span style=&quot;color: #003300;&quot;&gt;&lt;span style=&quot;color: #006600;&quot;&gt; &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;$ mkdir -p ~/rpmbuild/{SOURCES,SRPMS,SPECS,RPMS,tmp,BUILD}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: georgia; font-size: 100%;&quot;&gt;&lt;span style=&quot;color: #003300;&quot;&gt;&lt;span style=&quot;color: #006600;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #993300; font-weight: bold;&quot;&gt;3.&lt;/span&gt; Create ~/.rpmmacros &lt;span style=&quot;background-color: #fff2cc; color: #006600; font-family: courier new;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;span style=&quot;color: #003300;&quot;&gt;&lt;span style=&quot;color: #006600;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: 100%;&quot;&gt;&lt;span style=&quot;color: #006600;&quot;&gt;  $ echo &quot;%_topdir /home/user_name/rpmbuild&quot; &amp;gt;&amp;gt; .rpmmacros&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #fff2cc; font-family: courier new; font-size: 100%;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: courier new; font-size: 100%;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; color: #006600;&quot;&gt;$ echo &quot;%_tmppath %{_topdir}/tmp&quot; &amp;gt;&amp;gt; .rpmmacros&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: georgia; font-size: 100%;&quot;&gt;&lt;span style=&quot;color: #003300;&quot;&gt;&lt;span style=&quot;color: #006600;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: georgia; font-size: 100%;&quot;&gt;&lt;span style=&quot;color: #993300; font-weight: bold;&quot;&gt;4. &lt;/span&gt; Log in as root and use YUM to install following packages&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: #fff2cc;&quot;&gt;&lt;span style=&quot;font-family: georgia; font-size: 100%;&quot;&gt; &lt;/span&gt;    &lt;span style=&quot;background-color: #fff2cc; font-family: &amp;quot;; font-size: 100%;&quot;&gt;&lt;span style=&quot;color: #006600;&quot;&gt;$ su root&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;span style=&quot;color: #003300;&quot;&gt;&lt;span style=&quot;color: #006600;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: 100%;&quot;&gt;&lt;span style=&quot;color: #003300;&quot;&gt;&lt;span style=&quot;color: #006600;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: 100%;&quot;&gt;&lt;span style=&quot;color: #003300;&quot;&gt;&lt;span style=&quot;color: #006600;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: 100%;&quot;&gt;&lt;span style=&quot;color: #006600;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc;&quot;&gt;Pa&lt;/span&gt;ssword:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;span style=&quot;color: #003300;&quot;&gt;&lt;span style=&quot;color: #006600;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: 100%;&quot;&gt;&lt;span style=&quot;color: #003300;&quot;&gt;&lt;span style=&quot;color: #006600;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #fff2cc; color: #006600;&quot;&gt;# &lt;/span&gt;&lt;span style=&quot;background-color: #fff2cc; color: #006600;&quot;&gt;yum install -y rpm-build gcc gcc-c++ redhat-rpm-config&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;color: #006600;&quot;&gt;  # yum -y install jpackage-utils&lt;/span&gt;&lt;span style=&quot;background-color: #fff2cc; color: #006600;&quot;&gt; &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: 100%;&quot;&gt;&lt;span style=&quot;color: #006600;&quot;&gt;  # su user_name&lt;/span&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: 100%;&quot;&gt;&lt;span style=&quot;color: #006600;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: 100%;&quot;&gt;&lt;span style=&quot;color: #006600;&quot;&gt;        &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; color: #006600;&quot;&gt;$&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: georgia; font-size: 100%;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: #993300; font-family: georgia; font-size: 100%; font-weight: bold;&quot;&gt;STEP II: INSTALL JAVA&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: georgia; font-size: 100%;&quot;&gt;&lt;span style=&quot;color: #993300; font-weight: bold;&quot;&gt;1.&lt;/span&gt; &lt;a href=&quot;https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=jdk-6u7-oth-JPR@CDS-CDS_Developer&quot;&gt;Download&lt;/a&gt; JDK 1.6 update 7 self-extracting RPM version (&lt;/span&gt;jdk-6u7-linux-i586.bin&lt;a href=&quot;http://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/VerifyItem-Start/jdk-6u7-linux-i586.bin?BundledLineItemUUID=X0BIBe.lPbEAAAEcCxBEI9l9&amp;amp;OrderID=_pBIBe.lgbMAAAEc_Q9EI9l9&amp;amp;ProductID=XzBIBe.oxM4AAAEaVJcGcbZW&amp;amp;FileName=/jdk-6u7-linux-i586.bin&quot; onclick=&quot;s_linkType=&#39;d&#39;;s_linkName=&#39;cds:jdk-6u7-linux-i586.bin&#39;;s_linkTrackVars=&#39;events,products,eVar3,eVar8&#39;;s_linkTrackEvents=&#39;event7&#39;;s_events=&#39;event7&#39;;s_products=&#39;Download Products;Java SE Development Kit 6u7  &#39;;s_eVar3=&#39;cds&#39;;s_eVar8=&#39;jdk-6u7-linux-i586.bin&#39;;s_lnk=s_co(this);s_gs(s_account);&quot;&gt;&lt;/a&gt;) &lt;span style=&quot;font-family: georgia; font-size: 100%;&quot;&gt;from Sun to ~/rpmbuild/SOURCES/&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;color: #006600; font-family: georgia; font-size: 100%;&quot;&gt;&lt;span style=&quot;color: #006600;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #006600;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: georgia; font-size: 100%;&quot;&gt;&lt;span style=&quot;color: #993300; font-weight: bold;&quot;&gt;2.&lt;/span&gt; Download and build java-1.6.0-sun-1.6.0.7-1jpp.nosrc.rpm package&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: 100%;&quot;&gt;&lt;span style=&quot;color: #006600;&quot;&gt;$ cd ~/rpmbuild&lt;/span&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: 100%;&quot;&gt;&lt;span style=&quot;color: #006600;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: 100%;&quot;&gt;&lt;span style=&quot;color: #006600;&quot;&gt;        &lt;/span&gt;&lt;/span&gt;  &lt;span style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: 100%;&quot;&gt;&lt;span style=&quot;color: #006600;&quot;&gt;$ curl -L -O  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: 100%;&quot;&gt;&lt;span style=&quot;color: #006600;&quot;&gt;http://mirrors.dotsrc.org/jpackage/1.7/generic/SRPMS.non-free/java-1.6.0-sun-1.6.0.7-1jpp.nosrc.rpm&lt;/span&gt;&lt;br /&gt;
&lt;/span&gt;  &lt;span style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: 100%;&quot;&gt;&lt;span style=&quot;color: #006600;&quot;&gt;$ rpmbuild --rebuild &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: 100%;&quot;&gt;&lt;span style=&quot;color: #006600;&quot;&gt;java-1.6.0-sun-1.6.0.7-1jpp.nosrc.rpm&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: 100%;&quot;&gt;&lt;span style=&quot;color: #006600;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: 100%;&quot;&gt;&lt;span style=&quot;color: #006600;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: georgia; font-size: 100%;&quot;&gt; &lt;span style=&quot;font-style: italic;&quot;&gt;don&#39;t get freaked out by the errors or that it could take a little while, it&#39;s ok.  Verify that RPMS directory in rpmbuild contains i586 directory with rpms.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #993300; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-weight: bold;&quot;&gt;3.&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt; su to root and migrate rpms to local yum repository&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;;&quot;&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;span style=&quot;color: #006600;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #fff2cc; color: #006600;&quot;&gt;# yum localinstall ~user_name/rpmbuild/RPMS/i586/java-1.6.0-sun-1.6.0.7-1jpp.i586.rpm&lt;/span&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #d9ead3;&quot;&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;NOTE&lt;/span&gt;:&lt;/span&gt; &lt;/span&gt;if you get &quot;&lt;b style=&quot;color: black;&quot;&gt;NOT SIGNED&lt;/b&gt;&quot; issue (and most likely you will), resolve by the following work-around &lt;span style=&quot;background-color: #d9ead3;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: georgia; font-size: 100%;&quot;&gt;&lt;span style=&quot;background-color: #d9ead3;&quot;&gt;- install X11 library to resolve libXP.so.6 dependency&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #d9ead3; color: #38761d; font-family: georgia; font-size: 100%;&quot;&gt; &lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #d9ead3;&quot;&gt;&lt;div style=&quot;color: #38761d; font-family: &amp;quot;;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;background-color: #d9ead3; font-family: courier new;&quot;&gt;# yum install libXp-devel.i386&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Georgia,&amp;quot;;&quot;&gt;&lt;span style=&quot;font-family: Georgia,&amp;quot;;&quot;&gt;- &lt;/span&gt;then plain old rpm &lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #d9ead3; color: #38761d; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;# rpm -Uvh &lt;span style=&quot;font-size: 100%;&quot;&gt;~user_name/rpmbuild/RPMS/i586/java-1.6.0-sun-1.6.0.7-1jpp.i586.rpm&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: georgia; font-size: 100%;&quot;&gt;&lt;span style=&quot;color: #993300; font-weight: bold;&quot;&gt;4.&lt;/span&gt; Login as root to configure alternatives system to use new JDK&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;span style=&quot;color: #006600;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #fff2cc; font-family: courier new; font-size: 100%;&quot;&gt;&lt;span style=&quot;color: #006600;&quot;&gt;[root@blah]# alternatives --config java&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: courier new; font-size: 100%;&quot;&gt;&lt;span style=&quot;color: #993300; font-weight: bold;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: 100%;&quot;&gt;&lt;span style=&quot;color: #006600;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;span style=&quot;color: #993300;&quot;&gt;5.&lt;/span&gt;  Verify install&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;span style=&quot;color: #006600;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #fff2cc;&quot;&gt;&lt;span style=&quot;color: #003300;&quot;&gt;&lt;span style=&quot;color: #006600;&quot;&gt;$&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #006600;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc;&quot;&gt; java -version&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;background-color: #fff2cc; font-family: georgia; font-size: 100%;&quot;&gt;&lt;span style=&quot;color: #006600;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #fff2cc;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;;&quot;&gt;it should display  java version &quot;1.6.0_07 .....&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: georgia; font-size: 100%;&quot;&gt;&lt;span style=&quot;color: #006600;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;</description><link>http://de0ris.blogspot.com/2008/08/installing-java-sun-jdk-160-on-centos5.html</link><author>noreply@blogger.com (skyMyrka)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivOFHTuGXH_01UmKULCUZOopQuYnMvzy3F-M96bPAK7x-EopvfynpMFg-cHbEkVOfIeNTdzKkt0EaKBHo1S-ktnxDna0qoBGEgQf7VzrVyci_up83nv6Ygpqiyd707vqNOKQGCu-ovT5q8/s72-c/centoslogo-200.png" height="72" width="72"/><thr:total>8</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4315897426119112676.post-242130891139551919</guid><pubDate>Wed, 13 Aug 2008 19:37:00 +0000</pubDate><atom:updated>2008-09-22T08:15:36.118-04:00</atom:updated><title>A gift of a gift makes a perfect... gift</title><description>&lt;div style=&quot;text-align: justify;&quot;&gt;Whether it be a birthday, wedding or a holiday, gifting can present itself to be a serious dilemma.  In some ways, it is a formality or an obligation, but also challenges creativity.    Below are some ideas on how to get that perfect little something in lieu of a traditional                    gift.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
My favorite source for all my gifts is &lt;a href=&quot;http://www.globalgiving.com/index.html&quot;&gt;globalgiving.org network&lt;/a&gt;.  The company itself is admirable &lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFhwV3WG_5qpphkcsZ4hWutc8SCpnwNoDkdIL-PTwSD9h_XMMe9DTrQN6sX_kxikgXKikR5gi0CIVbONicQchXsxnhahnC5AY2gb5sqSUBXAHpIxsDXMCrUxTY-dGiOsK-APp-sRitTOFV/s1600-h/globalGiving.jpg&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5234465541672454562&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFhwV3WG_5qpphkcsZ4hWutc8SCpnwNoDkdIL-PTwSD9h_XMMe9DTrQN6sX_kxikgXKikR5gi0CIVbONicQchXsxnhahnC5AY2gb5sqSUBXAHpIxsDXMCrUxTY-dGiOsK-APp-sRitTOFV/s400/globalGiving.jpg&quot; style=&quot;cursor: pointer; float: left; margin: 0pt 10px 10px 0pt;&quot; /&gt;&lt;/a&gt;as their objective is to put collected donations to a good use, whether it be helping a community in crisis or having a positive effect on a challenged economy of the country in whole.  No project is too big or small, and the best part is GlobalGiving gift card is &lt;a href=&quot;http://www.globalgiving.com/gifts/index.html&quot;&gt;&lt;b&gt;100% biodegradable. 100% tax-deductible. 100% guaranteed&lt;/b&gt;&lt;/a&gt;.  Chances are they have a project that is a perfect fit.  It can be selected either via topic (such as disaster recovery, health, environment, etc).  Or simply search for a cause by the region.  Even project selection wizard is available to allow you to make the most fitting choice.&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjz73OwlyaJhQ46NgxJ4wQjTe-eHIylhX-bcuG_bgDYqHJ8ANgShjI6WFSfyB9asOgC5DYg5XEdLuyg01RZPY1QEpMOTOkRnSM0GftmoIyinTTZ_dd1-UE9xmntkLEfP5rs4RdTsiLu1Hpv/s1600-h/justGive.jpg&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5234468897562789698&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjz73OwlyaJhQ46NgxJ4wQjTe-eHIylhX-bcuG_bgDYqHJ8ANgShjI6WFSfyB9asOgC5DYg5XEdLuyg01RZPY1QEpMOTOkRnSM0GftmoIyinTTZ_dd1-UE9xmntkLEfP5rs4RdTsiLu1Hpv/s400/justGive.jpg&quot; style=&quot;cursor: pointer; float: right; margin: 0pt 0pt 10px 10px;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.justgive.org/html/giftcenter/&quot;&gt;Justgive.org&lt;/a&gt; is another creative way to find a perfect gift. Their directory serves as a hub for reputable donation organizations.   The company offers a tad stronger focus on domestic and local charities and non-profit organizations, which allows for a more comprehensive selection of a project in your area.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgg3U12FdhmImKwWudyoSCk16oNRWAoQ92lcaYeZA1i4P2884xAhbDWMvVsVdb6JTDVOM5LFiCDvjawa_ZZPj6lfuFgf-lNo_M1QmhOOT8zcfE7cJ_onQnBTE0rd3DP3vqmU_fa7NUItB8K/s1600-h/hifer.gif&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5234470818048508578&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgg3U12FdhmImKwWudyoSCk16oNRWAoQ92lcaYeZA1i4P2884xAhbDWMvVsVdb6JTDVOM5LFiCDvjawa_ZZPj6lfuFgf-lNo_M1QmhOOT8zcfE7cJ_onQnBTE0rd3DP3vqmU_fa7NUItB8K/s400/hifer.gif&quot; style=&quot;cursor: pointer; float: left; margin: 0pt 10px 10px 0pt;&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://www.heifer.org/site/c.edJRKQNiFiG/b.195980/&quot;&gt;Heifer International&lt;/a&gt; has a program that is catching attention world wide.  As a donor you can extend your support, but not in a traditional way that one would expect.  In their effort to fight hunger and poverty as well as improve the environment, the company provides actual live stock and resources to improve life style in the challenged areas.  Their catalog includes items such as &lt;a href=&quot;http://www.heifer.org/site/c.edJRKQNiFiG/b.2663295/&quot;&gt;heifer&lt;/a&gt;, &lt;a href=&quot;http://www.heifer.org/site/c.edJRKQNiFiG/b.2667525/&quot;&gt;chicks&lt;/a&gt;, &lt;a href=&quot;http://www.heifer.org/site/c.edJRKQNiFiG/b.2698711/&quot;&gt;trees&lt;/a&gt; and &lt;a href=&quot;http://www.heifer.org/site/c.edJRKQNiFiG/b.2668675/&quot;&gt;honeybees&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
I&#39;ve used these companies in a past and gift recipients have always been both: surprised and pleased.  Most important, it empowered us both to make a difference in the world.    There are many other charity/donation hubs available with similar services, but I thought that I would highlight these three.   Also, giving works both ways, and these portals can be used to create wish lists for yourself or those that you know.&lt;br /&gt;
&lt;br /&gt;
Meaningful giving does not always translate to the gift certificates. For example, you can purchase a Christmas tree in a pot and replant it after the holidays.   Planting a tree for an event or a person or simply supporting volunteering project in their honor will also be much appreciated.&lt;br /&gt;
&lt;br /&gt;
Happy giving.&lt;/div&gt;</description><link>http://de0ris.blogspot.com/2008/08/gift-of-gift-makes-perfect-gift.html</link><author>noreply@blogger.com (skyMyrka)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFhwV3WG_5qpphkcsZ4hWutc8SCpnwNoDkdIL-PTwSD9h_XMMe9DTrQN6sX_kxikgXKikR5gi0CIVbONicQchXsxnhahnC5AY2gb5sqSUBXAHpIxsDXMCrUxTY-dGiOsK-APp-sRitTOFV/s72-c/globalGiving.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4315897426119112676.post-5316631222091606639</guid><pubDate>Tue, 24 Jun 2008 17:12:00 +0000</pubDate><atom:updated>2008-08-12T10:40:59.934-04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Wildlife</category><title>How to help a baby bird that fallen out of the nest</title><description>&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxqwa3YyC6ZDobLFAkpoVgp9XMpPaY9V8683lByVdGGCuu6klfLPOpZ96ij96zH2QCqhsEh8p4IUZzfHNFTVy5slPFnmFLKshjcDeHFoRJ-w9FOOIt_MI1lY2s3iYylXE0fy9GIgAIZBIZ/s1600-h/nest.jpg&quot;&gt;&lt;img style=&quot;margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 76px; height: 72px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxqwa3YyC6ZDobLFAkpoVgp9XMpPaY9V8683lByVdGGCuu6klfLPOpZ96ij96zH2QCqhsEh8p4IUZzfHNFTVy5slPFnmFLKshjcDeHFoRJ-w9FOOIt_MI1lY2s3iYylXE0fy9GIgAIZBIZ/s400/nest.jpg&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5215520081530974434&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;In the spring and early summer many birds have little babies.  Sometimes things can go wrong and baby birds can fall out of their nest.  What to do if you had found one?  Most people don&#39;t have it in their hearts to walk passed a helpless little creature without even &lt;span style=&quot;font-weight: bold;&quot;&gt;trying&lt;/span&gt; to save its life.  If you had found yourself in this situation there are some serious decisions to be made and little guy&#39;s life depends on it.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;First and foremost, before getting to benevolence part, be aware that there are only 3 species of birds in US that are not protected by law:&lt;br /&gt;&lt;ul style=&quot;text-align: justify;&quot;&gt;&lt;li&gt;Common city pigeon (aka rock dove)&lt;/li&gt;&lt;li&gt; European starling&lt;/li&gt;&lt;li&gt; House sparrow (aka English sparrow)&lt;/li&gt;&lt;/ul&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;That still does not mean that you can keep them as pets.  Further legal information can be found &lt;a href=&quot;http://www.fws.gov/migratorybirds/intrnltr/treatlaw.html&quot;&gt;here&lt;/a&gt;.  State, county and town laws may impose additional restrictions.  So, the general rule of thumb is: if you didn&#39;t get it via proper retail channels, you should &lt;span style=&quot;font-weight: bold;&quot;&gt;not&lt;/span&gt; keep it.  Most people are simply not equipped to give the round the clock care to wild baby birds.  Chances of its survival are minimal if you are unexperienced.  Also understand that birds raised in captivity lack survival skills only learned in the wild, so releasing them eventually is simply not an option.&lt;br /&gt;&lt;br /&gt;You must figure out a course of action and you must be quick about it.  Avoid contact with the bird unless necessary.   Keep everyone, especially children and pets away.&lt;br /&gt;&lt;br /&gt;Confirm that baby bird is indeed in need of help.  It is possible that it is a fledgling.  These babies have developed feathers, and still in care of their parents, just on the ground not in their nest until they learn how to fly .  If such is the case, secure the area from disturbance the best you know how, and just let it be.  The nature will take its course.  However, if the baby is a nestling it will need help.  Nestling have underdeveloped, or very few if any feathers and tend to have a lot of yellow on the corners of their beaks.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Check if the bird is injured: &lt;/span&gt;&lt;br /&gt;If injury is serious the humane course of action will be euthanasia.  Contact animal control or animal hospital immediately.   Each circumstance is different, so not everyone should take matters into their own hands.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;If nestling&#39;s injuries are very minor or none proceed with the following course of action:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;ul style=&quot;text-align: justify;&quot;&gt;&lt;li&gt;Do not call the police, fire department or animal control.  Abandoned baby bird is an emergency, but not the kind those departments take care of.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul style=&quot;text-align: justify;&quot;&gt;&lt;li&gt;Wild bird parents will accept the young back in their nest with human scent on it.  Further, most parent birds will &quot;adopt&quot; the young, as long as they&#39;re from the same species.  Your first course of action should be to locate the nest the bird fell out of.  Be mindful and leave nothing but footprints when looking for the nest.  By disturbing the environment you may risk scarring off the parent birds.   If you had found the nest, be quick about putting the baby back.  If you located it, but can&#39;t reach it, improvise by making your own basket nest (make sure it has drainage for accumulating water) and hang it as close as possible to the nest.  Parents will find their baby.  &lt;span style=&quot;font-weight: bold;&quot;&gt;DO NOT&lt;/span&gt; hang around as it will scare off the parents.   Observe from a far distance and be discreet.  If bird is abandoned for more than 5-7 hours, proceed on to the instruction below.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul style=&quot;text-align: justify;&quot;&gt;&lt;li&gt;If you&#39;re unable to locate the nest or bird has been abandoned, you have to temporarily house the baby bird until you find the placement.  They have to be kept in a secure warm and quiet place with no bright light.  Place a towel in a box and line it with tissues or cotton balls.  Baby birds are surprisingly mobile, so make sure they cannot crawl out of the &quot;nest&quot; for their own safety.&lt;/li&gt;&lt;/ul&gt;&lt;ul style=&quot;text-align: justify;&quot;&gt;&lt;li&gt;Avoid disturbing the bird, but you&#39;ll have to feed it every couple of hours.  Do not feed it &lt;span style=&quot;font-style: italic;&quot;&gt;pure&lt;/span&gt; water, fruit or any other processed foods such as bread.  Take dry cat or dog food (hard boiled egg works too), soak it in a water, roll it into tiny pieces and carefully feed it to the bird.  Worms, maggots or tiny bugs are ideal of course, but do not feed it things such as canned pet food as it will upset the bird&#39;s stomach.  Mixing water with food will keep the baby bird hydrated.&lt;/li&gt;&lt;/ul&gt;&lt;ul style=&quot;text-align: justify;&quot;&gt;&lt;li&gt;Once the bird is stabilized your next step is to find placement.  &lt;span style=&quot;font-weight: bold;&quot;&gt;The only appropriate place for a wild baby bird is wildlife rehabilitation center.&lt;/span&gt;  If you&#39;re unsure if there&#39;s one in your area, call your local animal hospital, &lt;a style=&quot;font-weight: bold;&quot; href=&quot;http://www.hsus.org/contact_us/your_regional_office.html&quot;&gt;HSUS local center&lt;/a&gt; or your &lt;a style=&quot;font-weight: bold;&quot; href=&quot;http://www.fws.gov/offices/statelinks.html&quot;&gt;State Wildlife Agency&lt;/a&gt; for a reference.  You can also locate a rehabilitation center in online directory &lt;a style=&quot;font-weight: bold;&quot; href=&quot;http://www.dmoz.org/Recreation/Outdoors/Wildlife/Rehabilitation/&quot;&gt;here&lt;/a&gt; or&lt;span style=&quot;font-weight: bold;&quot;&gt;  &lt;/span&gt;&lt;a style=&quot;font-weight: bold;&quot; href=&quot;http://www.tc.umn.edu/%7Edevo0028/contact.htm&quot;&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul style=&quot;text-align: justify;&quot;&gt;&lt;li&gt;Admit the baby bird to the rehabilitation center as soon as possible.  The sooner you will do it, the greater chances it has for survival.  Please make a donation to the center when giving the bird.  Your support ensures that they help the little guy and many others like him.&lt;/li&gt;&lt;/ul&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-weight: bold; color: rgb(153, 51, 0);&quot;&gt;Starling the lucky&lt;/span&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIN8O_EZayVkApcQeTtvdEdY_RhbM6PyArmlmWa1UbkeL0qSfzsNLTSH9F1rs8sp9_g6ORtjO7KH7ULX5E6aQ_LjDsXGfFJBqusW8_pkSEFsv7T-zlZN4zTYV6XXENXwIIrVtoUqMwPeVZ/s1600-h/luckyStarling.jpg&quot;&gt;&lt;img style=&quot;margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 319px; height: 241px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIN8O_EZayVkApcQeTtvdEdY_RhbM6PyArmlmWa1UbkeL0qSfzsNLTSH9F1rs8sp9_g6ORtjO7KH7ULX5E6aQ_LjDsXGfFJBqusW8_pkSEFsv7T-zlZN4zTYV6XXENXwIIrVtoUqMwPeVZ/s400/luckyStarling.jpg&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5215520189112631778&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;It&#39;s 1:30AM and I&#39;m awoken by the high-pitched noise I hardly think I&#39;ve heard before. Looking out of my window I see one of the street cats hanging over something.  Flashlight, bath robe and 5 minutes later I hold a baby-starling-bird that could have been cat&#39;s dinner.  As pissed off cat gives me the death glares, I carry the bird inside for overnight stay.&lt;br /&gt;&lt;br /&gt;At the break of dawn all attempts were made to find the nest.  There was no luck.  Starling baby ate really well and rested before the long drive to the new home in the morning.  I&#39;m happy to report that now he&#39;s joined other orphan birds in &lt;a style=&quot;font-weight: bold;&quot; href=&quot;http://www.theraptortrust.org/&quot;&gt;Raptor Trust Rehabilitation Center&lt;/a&gt;.  Please check out their website, and if possible visit or extend donation support.  These people are truly wonderful and do so much to preserve precious wildlife resources in New Jersey area.&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;</description><link>http://de0ris.blogspot.com/2008/06/how-to-help-baby-bird-that-fallen-out.html</link><author>noreply@blogger.com (skyMyrka)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxqwa3YyC6ZDobLFAkpoVgp9XMpPaY9V8683lByVdGGCuu6klfLPOpZ96ij96zH2QCqhsEh8p4IUZzfHNFTVy5slPFnmFLKshjcDeHFoRJ-w9FOOIt_MI1lY2s3iYylXE0fy9GIgAIZBIZ/s72-c/nest.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4315897426119112676.post-2253272176894037432</guid><pubDate>Thu, 12 Jun 2008 02:52:00 +0000</pubDate><atom:updated>2008-08-12T01:31:38.349-04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">PHP</category><title>NCBI PubMed information retreival via PHP</title><description>A while back I had to use NCBI&#39;s entrez system to collect and process publication and genome records.  While the system is designed to support Perl and Java api with ease, very little if any documentation is available for PHP api.&lt;br /&gt;&lt;br /&gt;Below is the code that I&#39;ve created to connect and collect data via Entez Utilities.   Generally, this bit is designed based on user&#39;s query to retrieve a set of matching PIDs (Pubmed record IDs), and then utilizes Entrez Fetch to pull the actual records in xml format.  The code is easily modified to suit any searching/retrieval needs.  Utility and Parameter documentation can be found here: &lt;a href=&quot;http://www.ncbi.nlm.nih.gov/entrez/query/static/eutils_help.html&quot;&gt;Entrez Utilities&lt;/a&gt;.  While it is designed for Perl programmers, the parameter specifications are identical for PHP.&lt;br /&gt;&lt;br /&gt;PHP5 code:&lt;br /&gt;&lt;textarea rows=&quot;3&quot; name=&quot;pubMed&quot; cols=&quot;75&quot;&gt;$query = &#39;&#39;; //your query term&lt;br /&gt;$dnum = 100; // total number of documents here it&#39;s set to 100&lt;br /&gt;$pids = &#39;&#39;; // PubMED record ID&#39;s from e-search initialize to NULL&lt;br /&gt;$term = 360; // time interval of when documents were published - this one is one year=360days&lt;br /&gt;//retreive PID&#39;s of all articles published withing past year that contain query term&lt;br /&gt;$esearch = &quot;http://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=pubmed&amp;amp;term=$query&amp;amp;reldate=$term&amp;amp;datetype=edat&amp;amp;retmax=100&amp;amp;usehistory=y&quot;;&lt;br /&gt;$handle = fopen($esearch, &quot;r&quot;);&lt;br /&gt;$rettype = &quot;abstract&quot;; //retreives abstract of the record, rather than full record&lt;br /&gt;$retmode = &quot;xml&quot;;&lt;br /&gt;$utils = &quot;http://www.ncbi.nlm.nih.gov/entrez/eutils&quot;;&lt;br /&gt;if (!$handle) {die();}&lt;br /&gt;//collect returned pubmed PID&#39;s&lt;br /&gt;while (!feof ($handle))&lt;br /&gt;$pids .= fgets($handle, 4096);&lt;br /&gt;fclose($handle);&lt;br /&gt;//Get query string from eSearch&lt;br /&gt;preg_match(&quot;/(\w+)&lt;\/QueryKey&gt;/i&quot;,$pids,$match);&lt;br /&gt;$queryKey = $match[1];&lt;br /&gt;//get webenv&lt;br /&gt;preg_match(&quot;/(\S+)&lt;\/WebEnv&gt;/i&quot;,$pids,$match);&lt;br /&gt;$webEnv = $match[1];&lt;br /&gt;$retstart = 0;&lt;br /&gt;//fetch xml docs from PUBMED for returned PID&#39;s&lt;br /&gt;$efetch = &quot;$utils/efetch.fcgi?rettype=$rettype&amp;amp;retmode=$retmode&amp;amp;retstart=$retstart&amp;amp;retmax=$dnum&amp;amp;db=pubmed&amp;amp;query_key=$queryKey&amp;amp;WebEnv=$webEnv&amp;amp;email=abc@xyz.com&quot;;&lt;br /&gt;$pids = &#39;&#39;;&lt;br /&gt;$handle = fopen($efetch, &quot;r&quot;);&lt;br /&gt;if(!$handle) { die(); }&lt;br /&gt;while (!feof ($handle))&lt;br /&gt;$pids .= fgets($handle, 4096);&lt;br /&gt;fclose($handle);&lt;br /&gt;&lt;/textarea&gt;&lt;p&gt;&lt;/p&gt;</description><link>http://de0ris.blogspot.com/2008/06/ncbi-pubmed-information-retreival-via.html</link><author>noreply@blogger.com (skyMyrka)</author><thr:total>11</thr:total></item></channel></rss>