<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-735619702553682490</id><updated>2011-11-28T07:42:08.228+08:00</updated><category term='Linux Tweak'/><category term='Scripting'/><category term='Google Adsense - Traffic Exchange'/><category term='web scraping'/><category term='MySQL'/><category term='Ruby on Rails'/><category term='Installations'/><category term='Radiator Radius'/><category term='CLI Basics'/><category term='News'/><title type='text'>Linux Nuggetz</title><subtitle type='html'>--Random installation, tutorial, tips, &amp;amp; news in OSS</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://linuxnuggetz.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/735619702553682490/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://linuxnuggetz.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>George Obed</name><uri>http://www.blogger.com/profile/12249902572874631730</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://1.bp.blogspot.com/_TwnL31td0dA/SdGrjLox6XI/AAAAAAAAABQ/v1_ZAL_BIfo/S220/george.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>21</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-735619702553682490.post-7384049131805004711</id><published>2010-08-26T16:51:00.004+08:00</published><updated>2010-08-26T16:57:59.579+08:00</updated><title type='text'>How to enable clustering in Openfire Enterprise?</title><content type='html'>What is clustering?&lt;br /&gt;&lt;br /&gt;A cluster is when you have several servers hosting the same domain. Before Openfire 3.4.0 it was possible to only have one machine hosting a domain. Even though a single machine can scale to very big numbers (e.g. more than 100K concurrent users) there is still a limit in the number of users you can scale. Moreover, if that machine suffers a problem and the server stops then all users will be affected.&lt;br /&gt;&lt;br /&gt;When using clustering you avoid those two problems. You will be naturally distributing the load among several machines thus even if one of them goes down the entire service will still continue to respond. The users that were connected to the machine that went down will just reconnect to any of the remaining machines.&lt;br /&gt;&lt;br /&gt;How do I use clustering in Openfire?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Clustering is a commercial feature that is available in the Openfire Enterprise 3.4.0 or later. That means that you need to get Openfire Enterprise to be able to use clustering. If you have an existing Openfire Enterprise license you will need to update it since the max number of members that could be part of the cluster is kept in the license. If you don't have an enterprise license and would like to try the clustering feature you can get an evaluation license for 30 days.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Follow these steps to install Openfire Enterprise with clustering:&lt;br /&gt;&lt;br /&gt;1. Identify the machines where you are going to install the server. Any machine with at least 512MB of RAM is fine. Of course you need to have more than one machine to have a cluster running.&lt;br /&gt;&lt;br /&gt;2. Download Openfire from here&lt;br /&gt;&lt;br /&gt;     http://www.igniterealtime.org/downloads/&lt;br /&gt;&lt;br /&gt;3. Run the installer to install Openfire in each of the machines. Follow the installation guide for more help.&lt;br /&gt;&lt;br /&gt;     http://www.igniterealtime.org/builds/openfire/docs/latest/documentation/install-guide.html&lt;br /&gt;&lt;br /&gt;4. Start the server and complete the setup wizard in each machine. Make sure to use the same XMPP domain, an external database and that all servers are using the same database.&lt;br /&gt;&lt;br /&gt;5. Download the Openfire Enterprise plugin from here&lt;br /&gt;&lt;br /&gt;     http://www.igniterealtime.org/projects/openfire/plugins.jsp&lt;br /&gt;&lt;br /&gt;6. Log into the admin console and go to the Plugins page. Upload the enterprise.jar file from that page. Run this step for each machine.&lt;br /&gt;&lt;br /&gt;7. Go to the Enterprise tab to enter a valid license for Openfire Enterprise.&lt;br /&gt;&lt;br /&gt;At this point you have several machines running Openfire Enterprise. The last step is to enable clustering and see how the machines meet each other. Follow these steps to enable clustering:&lt;br /&gt;&lt;br /&gt;1.Go to the clustering page in the admin console.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_TwnL31td0dA/THYrZsEpXgI/AAAAAAAAALA/tHwTTmLfZAA/s1600/enable_cluster.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 200px; height: 63px;" src="http://4.bp.blogspot.com/_TwnL31td0dA/THYrZsEpXgI/AAAAAAAAALA/tHwTTmLfZAA/s200/enable_cluster.jpg" alt="" id="BLOGGER_PHOTO_ID_5509638914461752834" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;2. Click on Enabled clustering and save the settings. It will take a few seconds for the first machine to start the cluster. Enabling cluster in the other machines will be faster. As each node joins the cluster you will see in the clustering page the nodes that conform the cluster.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_TwnL31td0dA/THYsfsdPnaI/AAAAAAAAALQ/IDjZi1uLsFc/s1600/cluster_enabled.JPG"&gt;&lt;img style="cursor: pointer; width: 200px; height: 118px;" src="http://2.bp.blogspot.com/_TwnL31td0dA/THYsfsdPnaI/AAAAAAAAALQ/IDjZi1uLsFc/s200/cluster_enabled.JPG" alt="" id="BLOGGER_PHOTO_ID_5509640117155765666" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;What's next?&lt;br /&gt;&lt;br /&gt;You may want to use a load balancer to distribute load between active servers. The load balancer does not need to support sticky sessions since XMPP connections are longed lived.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/735619702553682490-7384049131805004711?l=linuxnuggetz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxnuggetz.blogspot.com/feeds/7384049131805004711/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linuxnuggetz.blogspot.com/2010/08/how-to-enable-clustering-in-openfire.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/735619702553682490/posts/default/7384049131805004711'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/735619702553682490/posts/default/7384049131805004711'/><link rel='alternate' type='text/html' href='http://linuxnuggetz.blogspot.com/2010/08/how-to-enable-clustering-in-openfire.html' title='How to enable clustering in Openfire Enterprise?'/><author><name>George Obed</name><uri>http://www.blogger.com/profile/12249902572874631730</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://1.bp.blogspot.com/_TwnL31td0dA/SdGrjLox6XI/AAAAAAAAABQ/v1_ZAL_BIfo/S220/george.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_TwnL31td0dA/THYrZsEpXgI/AAAAAAAAALA/tHwTTmLfZAA/s72-c/enable_cluster.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-735619702553682490.post-2893124524129788010</id><published>2010-01-29T10:20:00.003+08:00</published><updated>2010-01-29T10:25:57.144+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='web scraping'/><title type='text'>Scraping an Entire Website using LINUX</title><content type='html'>&lt;div style="text-align: justify;"&gt;Web scraping (also called Web harvesting or Web data extraction) is a computer software technique of extracting information from websites. Usually, such software programs simulate human exploration of the Web by either implementing low-level Hypertext Transfer Protocol (HTTP), or embedding certain full-fledged Web browsers, such as the Internet Explorer (IE) and the Mozilla Web browser. Web scraping is closely related to Web indexing, which indexes Web content using a bot and is a universal technique adopted by most search engines. In contrast, Web scraping focuses more on the transformation of unstructured Web content, typically in HTML format, into structured data that can be stored and analyzed in a central local database or spreadsheet. Web scraping is also related to Web automation, which simulates human Web browsing using computer software. Exemplary uses of Web scraping include online price comparison, weather data monitoring, website change detection, Web research, Web content mashup and Web data integration. [&lt;a href="http://en.wikipedia.org/wiki/Web_scraping"&gt;wikipedia&lt;/a&gt;]&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Scarping a website using wget command in Linux.&lt;br /&gt;&lt;br /&gt;$ wget -m --tries=7 "http://www.linuxnuggetz.blogspot.com"&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Spoofing the browser that you are using.&lt;br /&gt;&lt;br /&gt;$ wget --user-agent="Mozilla 2.0" -m http://www.linuxnuggetz.blogspot.com&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/735619702553682490-2893124524129788010?l=linuxnuggetz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxnuggetz.blogspot.com/feeds/2893124524129788010/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linuxnuggetz.blogspot.com/2010/01/scraping-entire-website-using-linux.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/735619702553682490/posts/default/2893124524129788010'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/735619702553682490/posts/default/2893124524129788010'/><link rel='alternate' type='text/html' href='http://linuxnuggetz.blogspot.com/2010/01/scraping-entire-website-using-linux.html' title='Scraping an Entire Website using LINUX'/><author><name>George Obed</name><uri>http://www.blogger.com/profile/12249902572874631730</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://1.bp.blogspot.com/_TwnL31td0dA/SdGrjLox6XI/AAAAAAAAABQ/v1_ZAL_BIfo/S220/george.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-735619702553682490.post-637185364949366014</id><published>2009-11-28T14:39:00.002+08:00</published><updated>2009-11-28T14:42:07.037+08:00</updated><title type='text'>Changing Date and Time in Linux</title><content type='html'>Syntex:&lt;br /&gt;1. date -s "DD Mon YYYY hh:mm:ss"&lt;br /&gt;&lt;br /&gt;2. date set="DD Mon YYYY hh:mm:ss"&lt;br /&gt;&lt;br /&gt;3. date MMDDhhmmYYYY.ss&lt;br /&gt;&lt;br /&gt;Example:&lt;br /&gt;1. date -s "28 NOV 2008 13:45:00"&lt;br /&gt;&lt;br /&gt;2. date set="28 NOV 2008 13:45:00"&lt;br /&gt;&lt;br /&gt;3. date 112813452009&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;Setting Time in Linux&lt;br /&gt;&lt;br /&gt;Syntex:&lt;br /&gt;date +%T -s "hh:mm:ss"&lt;br /&gt;&lt;br /&gt;Example:&lt;br /&gt;date +%T -s "10:13:13"&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/735619702553682490-637185364949366014?l=linuxnuggetz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxnuggetz.blogspot.com/feeds/637185364949366014/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linuxnuggetz.blogspot.com/2009/11/changing-date-and-time-in-linux.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/735619702553682490/posts/default/637185364949366014'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/735619702553682490/posts/default/637185364949366014'/><link rel='alternate' type='text/html' href='http://linuxnuggetz.blogspot.com/2009/11/changing-date-and-time-in-linux.html' title='Changing Date and Time in Linux'/><author><name>George Obed</name><uri>http://www.blogger.com/profile/12249902572874631730</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://1.bp.blogspot.com/_TwnL31td0dA/SdGrjLox6XI/AAAAAAAAABQ/v1_ZAL_BIfo/S220/george.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-735619702553682490.post-2356597940837394725</id><published>2009-11-04T11:41:00.007+08:00</published><updated>2009-11-28T14:38:55.609+08:00</updated><title type='text'>Deleting Files/Folders based on OWNERSHIP</title><content type='html'>1. List the files and directories.&lt;br /&gt;&lt;br /&gt;$ ls -lah&lt;br /&gt;&lt;br /&gt;total 52K&lt;br /&gt;drwxrwxrwt 11 root   root   4.0K Nov  4 03:52 .&lt;br /&gt;drwxr-xr-x 25 root   root   4.0K Oct  6 03:54 ..&lt;br /&gt;srwxr-xr-x  1 george george    0 Oct  8 00:47 .dguardianipc&lt;br /&gt;srwxr-xr-x  1 george george    0 Oct  8 00:47 .dguardianurlipc&lt;br /&gt;-rw-r--r--  1 root   root      0 Nov  4 03:52 file1&lt;br /&gt;-rw-r--r--  1 gopher gopher    0 Nov  4 03:52 file2&lt;br /&gt;-rw-r--r--  1 gopher gopher    0 Nov  4 03:52 file3&lt;br /&gt;-rw-r--r--  1 gopher gopher    0 Nov  4 03:52 file4&lt;br /&gt;-rw-r--r--  1 gopher gopher    0 Nov  4 03:52 file5&lt;br /&gt;-rw-r--r--  1 root   root      0 Nov  4 03:52 file6&lt;br /&gt;-rw-r--r--  1 root   root      0 Nov  4 03:52 file7&lt;br /&gt;drwxrwxrwt  2 root   root   4.0K Oct  1 07:55 .font-unix&lt;br /&gt;drwxrwxrwt  2 root   root   4.0K Oct  1 07:55 .ICE-unix&lt;span class="fullpost"&gt;&lt;br /&gt;drwxr-xr-x  2 root   root   4.0K Nov  4 03:43 test1&lt;br /&gt;drwxr-xr-x  2 root   root   4.0K Nov  4 03:51 test2&lt;br /&gt;drwxr-xr-x  2 root   root   4.0K Nov  4 03:43 test[2-7]&lt;br /&gt;drwxr-xr-x  2 root   root   4.0K Nov  4 03:43 test2-7&lt;br /&gt;drwxr-xr-x  2 george george 4.0K Nov  4 03:51 test3&lt;br /&gt;drwxr-xr-x  2 george george 4.0K Nov  4 03:51 test4&lt;br /&gt;drwxr-xr-x  2 george george 4.0K Nov  4 03:51 test5&lt;br /&gt;&lt;br /&gt;2. Let's try deleting the files with an owner 'gopher'&lt;br /&gt;&lt;br /&gt;List the files with gopher owner.&lt;br /&gt;&lt;br /&gt;$ ls -lah | grep gopher&lt;br /&gt;&lt;br /&gt;output:&lt;br /&gt;-rw-r--r--  1 gopher gopher    0 Nov  4 03:52 file2&lt;br /&gt;-rw-r--r--  1 gopher gopher    0 Nov  4 03:52 file3&lt;br /&gt;-rw-r--r--  1 gopher gopher    0 Nov  4 03:52 file4&lt;br /&gt;-rw-r--r--  1 gopher gopher    0 Nov  4 03:52 file5&lt;br /&gt;&lt;br /&gt;The output are from file2 to file5, next task is to list the exact filenames using awk.&lt;br /&gt;&lt;br /&gt;$ ls -lah | gopher | awk '{print $9}&lt;br /&gt;&lt;br /&gt;Output:&lt;br /&gt;file2&lt;br /&gt;file3&lt;br /&gt;file4&lt;br /&gt;file5&lt;br /&gt;&lt;br /&gt;Now that the output list only filenames, we can now delete the files.&lt;br /&gt;&lt;br /&gt;$ rm -fv `ls -lah | grep gopher | awk '{print $9}'`&lt;br /&gt;&lt;br /&gt;Output:&lt;br /&gt;removed `file2'&lt;br /&gt;removed `file3'&lt;br /&gt;removed `file4'&lt;br /&gt;removed `file5'&lt;br /&gt;&lt;br /&gt;If its a directory you can issue this pattern:&lt;br /&gt;&lt;br /&gt;$ rm -fvR `ls -lah | grep george | awk '{print $9}'`&lt;br /&gt;&lt;br /&gt;Output:&lt;br /&gt;removed directory: `test3'&lt;br /&gt;removed directory: `test4'&lt;br /&gt;removed directory: `test5'&lt;br /&gt;&lt;br /&gt;Note: be sure to replace the 'grep &lt;owner&gt;(owner)' with the specified owner/user.&lt;br /&gt;&lt;/owner&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/735619702553682490-2356597940837394725?l=linuxnuggetz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxnuggetz.blogspot.com/feeds/2356597940837394725/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linuxnuggetz.blogspot.com/2009/11/deleting-filesfolders-based-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/735619702553682490/posts/default/2356597940837394725'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/735619702553682490/posts/default/2356597940837394725'/><link rel='alternate' type='text/html' href='http://linuxnuggetz.blogspot.com/2009/11/deleting-filesfolders-based-on.html' title='Deleting Files/Folders based on OWNERSHIP'/><author><name>George Obed</name><uri>http://www.blogger.com/profile/12249902572874631730</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://1.bp.blogspot.com/_TwnL31td0dA/SdGrjLox6XI/AAAAAAAAABQ/v1_ZAL_BIfo/S220/george.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-735619702553682490.post-7183697383325722336</id><published>2009-10-28T10:09:00.008+08:00</published><updated>2009-10-28T10:30:22.311+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CLI Basics'/><title type='text'>Easy way to extract Logs on a Date/Line Range in LINUX</title><content type='html'>Example: range of date to be extracted in the /var/log/message. Oct 26-27&lt;br /&gt;                         our x will be Oct 26, y will be Oct 27&lt;br /&gt;&lt;br /&gt;1. Get the first line number which will be our x reference (x - Oct 26).&lt;br /&gt;&lt;br /&gt;  $ grep  -n  'Oct 26' /var/log/messages | head&lt;br /&gt;&lt;br /&gt;The initial reference of x = 29933&lt;br /&gt;&lt;br /&gt;Sample Output:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;29933:Oct 26 00:00:00 postfix nagios: LOG ROTATION: DAILY&lt;br /&gt;29934:Oct 26 00:00:00 postfix nagios: LOG VERSION: 2.0&lt;br /&gt;29935:Oct 26 00:00:00 postfix nagios: CURRENT HOST STATE: localhost;UP;HARD;1;PING OK - Packet loss = 0%&lt;br /&gt;29936:Oct 26 00:00:00 postfix nagios: CURRENT SERVICE STATE: localhost;Current Load;OK;HARD;1;OK&lt;br /&gt;29937:Oct 26 00:00:00 postfix nagios: CURRENT SERVICE STATE: localhost;Current Users;OK;HARD;1&lt;br /&gt;29938:Oct 26 00:00:00 postfix nagios: CURRENT SERVICE STATE: localhost;HTTP;WARNING&lt;br /&gt;29939:Oct 26 00:00:00 postfix nagios: CURRENT SERVICE STATE: localhost;PING;OK;HARD;1;PING OK - Packet loss = 0%&lt;br /&gt;29940:Oct 26 00:00:00 postfix nagios: CURRENT SERVICE STATE: localhost;Root Partition;OK;HARD;1;DISK OK - free space&lt;br /&gt;29941:Oct 26 00:00:00 postfix nagios: CURRENT SERVICE STATE: localhost;SSH;OK;HARD;1;SSH OK&lt;br /&gt;29942:Oct 26 00:00:00 postfix nagios: CURRENT SERVICE STATE: localhost;Swap Usage;OK;HARD;1;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="fullpost"&gt;2. Get the last line number which will be our y reference (x - Oct 27).&lt;br /&gt;&lt;br /&gt;   $ grep  -n  'Oct 27' /var/log/messages | tail&lt;br /&gt;&lt;br /&gt;The last reference of y = 89712&lt;br /&gt;&lt;br /&gt;Sample Output:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt; 89703:Oct 27 23:59:14 postfix snmpd[18448]:     -- IF-MIB::ifPhysAddress.1&lt;br /&gt;89704:Oct 27 23:59:16 postfix snmpd[18448]: Connection from UDP: [192.168.0.x]:1055&lt;br /&gt;89705:Oct 27 23:59:26 postfix last message repeated 15 times&lt;br /&gt;89706:Oct 27 23:59:36 postfix snmpd[18448]: Connection from UDP: [192.168.0.131]:4118&lt;br /&gt;89707:Oct 27 23:59:36 postfix snmpd[18448]: Received SNMP packet(s) from UDP: [192.168.0.x]:4118&lt;br /&gt;89708:Oct 27 23:59:36 postfix snmpd[18448]: send response: Failure in sendto&lt;br /&gt;89709:Oct 27 23:59:36 postfix snmpd[18448]:     -- SNMPv2-MIB::sysObjectID.0&lt;br /&gt;89710:Oct 27 23:59:36 postfix snmpd[18448]:     -- IF-MIB::ifPhysAddress.1&lt;br /&gt;89711:Oct 27 23:59:36 postfix snmpd[18448]: Connection from UDP: [192.168.0.x]:1055&lt;br /&gt;89712:Oct 27 23:59:56 postfix last message repeated 23 times&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;3. Use the x,y reference to extract the file : x = 29933, y =89712&lt;br /&gt;&lt;br /&gt;   $ sed -n '29933,89712p' /var/log/messages &lt;/span&gt;&lt;span class="fullpost"&gt;&amp;gt;&lt;/span&gt;&lt;span class="fullpost"&gt; newfilename&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/735619702553682490-7183697383325722336?l=linuxnuggetz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxnuggetz.blogspot.com/feeds/7183697383325722336/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linuxnuggetz.blogspot.com/2009/10/easy-way-to-extract-logs-on-date-range.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/735619702553682490/posts/default/7183697383325722336'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/735619702553682490/posts/default/7183697383325722336'/><link rel='alternate' type='text/html' href='http://linuxnuggetz.blogspot.com/2009/10/easy-way-to-extract-logs-on-date-range.html' title='Easy way to extract Logs on a Date/Line Range in LINUX'/><author><name>George Obed</name><uri>http://www.blogger.com/profile/12249902572874631730</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://1.bp.blogspot.com/_TwnL31td0dA/SdGrjLox6XI/AAAAAAAAABQ/v1_ZAL_BIfo/S220/george.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-735619702553682490.post-6801867235880595052</id><published>2009-09-06T20:35:00.005+08:00</published><updated>2009-09-10T17:57:14.157+08:00</updated><title type='text'>Google Sitemap Generator Installation in a CentOS Platform</title><content type='html'>1. Download Google Site Map Generator:&lt;br /&gt;&lt;br /&gt;  &lt;a href="http://code.google.com/p/googlesitemapgenerator/downloads/list"&gt;http://code.google.com/p/googlesitemapgenerator/downloads/list&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;2. Unpack the downloaded file&lt;br /&gt;&lt;br /&gt;  $ tar –zxvf sitemap_linux-i386-beta1-20090225.tar.gz&lt;br /&gt;&lt;br /&gt;3. Run the installation script&lt;br /&gt;&lt;br /&gt;  $ cd sitemap-install/&lt;br /&gt;  $ ./install.sh -t /usr/sbin/apachectl -g apache&lt;br /&gt;&lt;br /&gt;Other options:&lt;br /&gt;* -h displays help about these command line options.&lt;br /&gt;* -d directory specifies a non-default installation directory.&lt;br /&gt;* -a Apache-binary-filename specifies the path to the Apache binary file (httpd).&lt;br /&gt;          Alternatively, you can specify this value during installation.&lt;br /&gt;* -c Apache-config-filename specifies the Apache root configuration file.&lt;br /&gt;* -g Apache-group specifies the user group name under which Apache is running.&lt;br /&gt;* -t Apache-control-filename specifies the Apache control script (apache ctl).&lt;br /&gt;              If you specify this value, the installer lets you choose to automatically&lt;br /&gt;                restart Apache at the end of the installation.&lt;br /&gt;              If you omit this option, you'll need to restart Apache manually.&lt;br /&gt;&lt;br /&gt;Just simply follow the installation, everything is interactive.&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;4. By default you can access the sitemap generator via port 8181&lt;br /&gt;&lt;br /&gt;  e.g.  http://&lt;this-server-address&gt;yourserver:8181/&lt;br /&gt;&lt;br /&gt;5. Initialy you will be denied accessing it remotely. Run this in the terminal to enable remote access.&lt;br /&gt;&lt;br /&gt;     $ /usr/local/google-sitemap-generator/bin/sitemap-daemon remote_admin enable&lt;br /&gt;&lt;br /&gt;6. Install SSL requirements.&lt;br /&gt;&lt;br /&gt;     $ yum install mod_ssl openssl&lt;br /&gt;&lt;br /&gt;7. Generate a self-signed certificate&lt;br /&gt;&lt;br /&gt;    Generate private key&lt;br /&gt;     $ openssl genrsa -out ca.key 1024&lt;br /&gt;&lt;br /&gt;    Generate CSR&lt;br /&gt;     $ openssl req -new -key ca.key -out ca.csr&lt;br /&gt;&lt;br /&gt;    Generate Self Signed Key&lt;br /&gt;     $ openssl x509 -req -days 365 -in ca.csr -signkey ca.key -out ca.crt&lt;br /&gt;&lt;br /&gt;    Move the files to the correct locations&lt;br /&gt;     $ mv ca.crt /etc/pki/tls/certs&lt;br /&gt;     $ mv ca.key /etc/pki/tls/private/ca.key&lt;br /&gt;   $ mv ca.csr /etc/pki/tls/private/ca.csr&lt;br /&gt;&lt;br /&gt;8. Then update the Apache SSL configuration file&lt;br /&gt;&lt;br /&gt;    $ vi +/SSLCertificateFile /etc/httpd/conf.d/ssl.conf&lt;br /&gt;&lt;br /&gt;    Comment the existing and add the following:&lt;br /&gt;&lt;br /&gt;      SSLCertificateFile /etc/pki/tls/certs/ca.crt&lt;br /&gt;      SSLCertificateKeyFile /etc/pki/tls/private/ca.key&lt;br /&gt;&lt;br /&gt;    Restart the apache server&lt;br /&gt;&lt;br /&gt;    $ /etc/init.d/httpd restart&lt;br /&gt;&lt;br /&gt;9. Edit the sitemap generator httpd configuration.&lt;br /&gt;&lt;br /&gt;    $ vi /usr/local/google-sitemap-generator/conf/httpd.conf&lt;br /&gt;&lt;br /&gt;Add the SSL lines, or you can simply paste the code below&lt;br /&gt;&lt;br /&gt;&lt;virtualhost 8181=""&gt;   Listen 8181&lt;br /&gt; NameVirtualHost *:8181&lt;br /&gt; &amp;lt;VirtualHost *:8181&amp;gt;&lt;br /&gt;   SSLEngine on&lt;br /&gt;   SSLCertificateFile /etc/pki/tls/certs/ca.crt&lt;br /&gt;   SSLCertificateKeyFile /etc/pki/tls/private/ca.key&lt;br /&gt;   DocumentRoot "/usr/local/google-sitemap-generator/admin-console"&lt;br /&gt;   ScriptAlias /cgi-bin/ "/usr/local/google-sitemap-generator/admin-console/cgi-bin/"&lt;br /&gt;&lt;br /&gt;  &amp;lt;Directory "/usr/local/google-sitemap-generator/admin-console" &amp;gt;&lt;br /&gt;   # Allow from all&lt;br /&gt;   AllowOverride All&lt;br /&gt;   Options ExecCGI&lt;br /&gt;   DirectoryIndex index.html&lt;br /&gt;  &amp;lt;/Directory&amp;gt;&lt;br /&gt; &amp;lt;/VirtualHost&amp;gt;&lt;/virtualhost&gt;&lt;br /&gt;&lt;br /&gt;LoadModule google_sitemap_generator_module "/usr/local/google-sitemap-generator/lib/mod_sitemap.so"&lt;br /&gt;&lt;br /&gt;10. Restart Apache and that's It.&lt;br /&gt;&lt;br /&gt;$ /etc/init.d/httpd restart&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Starting and Stopping Google Sitemap Deamon &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;$ /usr/local/google-sitemap-generator/bin/sitemap-daemon service start&lt;br /&gt;$ /usr/local/google-sitemap-generator/bin/sitemap-daemon service stop&lt;br /&gt;$ /usr/local/google-sitemap-generator/bin/sitemap-daemon service restart&lt;br /&gt;&lt;/this-server-address&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/735619702553682490-6801867235880595052?l=linuxnuggetz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxnuggetz.blogspot.com/feeds/6801867235880595052/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linuxnuggetz.blogspot.com/2009/09/sitemap-installation-on-centos-platform.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/735619702553682490/posts/default/6801867235880595052'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/735619702553682490/posts/default/6801867235880595052'/><link rel='alternate' type='text/html' href='http://linuxnuggetz.blogspot.com/2009/09/sitemap-installation-on-centos-platform.html' title='Google Sitemap Generator Installation in a CentOS Platform'/><author><name>George Obed</name><uri>http://www.blogger.com/profile/12249902572874631730</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://1.bp.blogspot.com/_TwnL31td0dA/SdGrjLox6XI/AAAAAAAAABQ/v1_ZAL_BIfo/S220/george.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-735619702553682490.post-4319495016276820562</id><published>2009-07-17T13:54:00.009+08:00</published><updated>2009-09-08T16:49:10.778+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MySQL'/><title type='text'>MySQL Commands - Adding User, Backup and Restore</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Adding new user to access the database&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Syntax:&lt;br /&gt;mysqldump -u [username] -p [password] [databasename] &gt; [backupfile.sql]&lt;br /&gt;&lt;br /&gt;Examples:&lt;br /&gt;mysql&gt; GRANT all ON mydatabase.* TO myuser@'192.168.17.186' IDENTIFIED BY 'mypassword';&lt;br /&gt;mysql&gt; GRANT all ON mydatabase.* TO myuser@'localhost' IDENTIFIED BY 'mypassword';&lt;br /&gt;mysql&gt; FLUSH PRIVILEGES;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Making Backup of the Database&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Syntax:&lt;br /&gt;mysqldump -u[mysqluser] -p[password] [databasename] &gt; [destinationfile.sql]&lt;br /&gt;&lt;br /&gt;Example:&lt;br /&gt;$ mysqldump -utestaccount -pg3pass employeefile &gt; employeefile-dump.sql&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Restoring MySQL Database&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;$ mysql -uaccount -ppassword employeefile &lt; employeefile-dump.sql &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Making Backup of the existing Table&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Syntax:&lt;br /&gt;create table &amp;lt;Table Destination&amp;gt; as select * from &amp;lt;Table Source&amp;gt;;&lt;br /&gt;&lt;br /&gt;Example:&lt;br /&gt;create table RADUSAGE_09082009 as select * from RADUSAGE;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/735619702553682490-4319495016276820562?l=linuxnuggetz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxnuggetz.blogspot.com/feeds/4319495016276820562/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linuxnuggetz.blogspot.com/2009/07/mysql-commands.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/735619702553682490/posts/default/4319495016276820562'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/735619702553682490/posts/default/4319495016276820562'/><link rel='alternate' type='text/html' href='http://linuxnuggetz.blogspot.com/2009/07/mysql-commands.html' title='MySQL Commands - Adding User, Backup and Restore'/><author><name>George Obed</name><uri>http://www.blogger.com/profile/12249902572874631730</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://1.bp.blogspot.com/_TwnL31td0dA/SdGrjLox6XI/AAAAAAAAABQ/v1_ZAL_BIfo/S220/george.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-735619702553682490.post-1420300114601772578</id><published>2009-07-10T08:46:00.001+08:00</published><updated>2009-07-10T08:51:49.259+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CLI Basics'/><title type='text'>Killing a Process in Linux</title><content type='html'>At times we encounter java process that won't stop by issuing the usual command "./shutdown.sh", or in some cases a multiple instance was created when the program was not properly restarted.&lt;br /&gt;&lt;br /&gt;Below are the sample process status of the java in my linux box.&lt;br /&gt;&lt;br /&gt;[root@geone bin]# ps -eaf | grep java&lt;br /&gt;root 27272 1 0 Jul06 ? 00:00:22 /usr/java/j2sdk1.4.1_01/bin/java&lt;br /&gt;root 27684 27273 0 Jul06 ? 00:03:01 /usr/java/j2sdk1.4.1_01/bin/java&lt;br /&gt;root 27685 27273 0 Jul06 ? 00:04:23 /usr/java/j2sdk1.4.1_01/bin/java&lt;br /&gt;root 27686 27273 0 Jul06 ? 00:03:01 /usr/java/j2sdk1.4.1_01/bin/java&lt;br /&gt;root 27687 27273 0 Jul06 ? 00:03:01 /usr/java/j2sdk1.4.1_01/bin/java&lt;br /&gt;root 27688 27273 0 Jul06 ? 00:03:04 /usr/java/j2sdk1.4.1_01/bin/java&lt;br /&gt;root 27689 27273 0 Jul06 ? 00:03:04 /usr/java/j2sdk1.4.1_01/bin/java&lt;br /&gt;root 27690 27273 0 Jul06 ? 00:03:04 /usr/java/j2sdk1.4.1_01/bin/java&lt;br /&gt;root 27691 27273 0 Jul06 ? 00:03:01 /usr/java/j2sdk1.4.1_01/bin/java&lt;br /&gt;root 27692 27273 0 Jul06 ? 00:03:01 /usr/java/j2sdk1.4.1_01/bin/java&lt;br /&gt;root 27693 27273 0 Jul06 ? 00:03:02 /usr/java/j2sdk1.4.1_01/bin/java&lt;br /&gt;root 27694 27273 0 Jul06 ? 00:03:01 /usr/java/j2sdk1.4.1_01/bin/java&lt;br /&gt;root 27695 27273 0 Jul06 ? 00:03:04 /usr/java/j2sdk1.4.1_01/bin/java&lt;br /&gt;root 2015  27273 0 Jul07 ? 00:00:00 /usr/java/j2sdk1.4.1_01/bin/java&lt;br /&gt;root 2016  27273 0 Jul07 ? 00:00:00 /usr/java/j2sdk1.4.1_01/bin/java&lt;br /&gt;root 2017  27273 0 Jul07 ? 00:00:00 /usr/java/j2sdk1.4.1_01/bin/java&lt;br /&gt;root 2018  27273 0 Jul07 ? 00:00:00 /usr/java/j2sdk1.4.1_01/bin/java&lt;br /&gt;root 2053  27273 0 Jul07 ? 00:00:00 /usr/java/j2sdk1.4.1_01/bin/java&lt;br /&gt;root 2054  27273 0 Jul07 ? 00:00:00 /usr/java/j2sdk1.4.1_01/bin/java&lt;br /&gt;root 2055  27273 0 Jul07 ? 00:00:02 /usr/java/j2sdk1.4.1_01/bin/java&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;root 2056  27273 0 Jul07 ? 00:00:00 /usr/java/j2sdk1.4.1_01/bin/java&lt;br /&gt;root 24302 27273 0 Jul08 ? 00:03:00 /usr/java/j2sdk1.4.1_01/bin/java&lt;br /&gt;root 24303 27273 0 Jul08 ? 00:03:00 /usr/java/j2sdk1.4.1_01/bin/java&lt;br /&gt;root 24304 27273 0 Jul08 ? 00:02:59 /usr/java/j2sdk1.4.1_01/bin/java&lt;br /&gt;root 24305 27273 0 Jul08 ? 00:02:58 /usr/java/j2sdk1.4.1_01/bin/java&lt;br /&gt;root 24338 27273 0 Jul08 ? 00:02:58 /usr/java/j2sdk1.4.1_01/bin/java&lt;br /&gt;root 24339 27273 0 Jul08 ? 00:02:59 /usr/java/j2sdk1.4.1_01/bin/java&lt;br /&gt;root 24340 27273 0 Jul08 ? 00:02:58 /usr/java/j2sdk1.4.1_01/bin/java&lt;br /&gt;root 24341 27273 0 Jul08 ? 00:02:59 /usr/java/j2sdk1.4.1_01/bin/java&lt;br /&gt;root 24404 27273 0 00:06 ? 00:02:57 /usr/java/j2sdk1.4.1_01/bin/java&lt;br /&gt;&lt;br /&gt;The best way to stop the process is to issue the command below:&lt;br /&gt;&lt;br /&gt;$ kill -9 `ps -eaf | grep java | awk '{ print $2, $8}'`&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/735619702553682490-1420300114601772578?l=linuxnuggetz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxnuggetz.blogspot.com/feeds/1420300114601772578/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linuxnuggetz.blogspot.com/2009/07/killing-process-in-linux_10.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/735619702553682490/posts/default/1420300114601772578'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/735619702553682490/posts/default/1420300114601772578'/><link rel='alternate' type='text/html' href='http://linuxnuggetz.blogspot.com/2009/07/killing-process-in-linux_10.html' title='Killing a Process in Linux'/><author><name>George Obed</name><uri>http://www.blogger.com/profile/12249902572874631730</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://1.bp.blogspot.com/_TwnL31td0dA/SdGrjLox6XI/AAAAAAAAABQ/v1_ZAL_BIfo/S220/george.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-735619702553682490.post-640566460192353452</id><published>2009-06-30T22:44:00.006+08:00</published><updated>2009-07-08T23:44:26.621+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Google Adsense - Traffic Exchange'/><title type='text'>A Note on Traffic Exchange Programs</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_TwnL31td0dA/SkomzWIspzI/AAAAAAAAACo/gGpqTBVRpy8/s1600-h/google-adsense-logo-350_0.gif"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 161px; height: 66px;" src="http://2.bp.blogspot.com/_TwnL31td0dA/SkomzWIspzI/AAAAAAAAACo/gGpqTBVRpy8/s200/google-adsense-logo-350_0.gif" alt="" id="BLOGGER_PHOTO_ID_5353133770640500530" border="0" /&gt;&lt;/a&gt;We understand that our publishers are always looking for ways to attract interested users to their sites. But using third-party tools or services to increase your site traffic may lead to invalid clicks or impressions and result in your account being disabled. For this reason, we'd like to provide you with some guidance about this.&lt;br /&gt;&lt;br /&gt;As many of you already know, our program policies strictly prohibit any means of artificially generating ad impressions or clicks, including third-party services such as paid-to-click, paid-to-surf, auto-surf, and click-exchange programs. These programs offer incentives for users to view web pages or click on ads, resulting in activity that is harmful to our advertisers.&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;We occasionally receive questions from publishers interested in using traffic exchanges to bring traffic to their site. While these services may help advertise your site, we don't recommend using them, as they may also result in similar invalid activity. We realize that you may have questions about a specific traffic service and whether it could potentially create invalid impressions or clicks. However, please understand that we're unable to comment on any particular third-party service.&lt;br /&gt;&lt;br /&gt;As a parting note, we encourage you to read through our tips and guidelines and Webmaster Guidelines to help keep your account in good standing. These guidelines advise publishers to "Provide unique and relevant content that gives users a reason to visit your site first," and we feel this is ultimately the best way to attract more visitors to your site and build a truly loyal audience.&lt;br /&gt;&lt;a href="http://adsense.blogspot.com/2007/04/note-on-traffic-exchange-programs.html"&gt;&lt;br /&gt;Adsense Blog&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/735619702553682490-640566460192353452?l=linuxnuggetz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxnuggetz.blogspot.com/feeds/640566460192353452/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linuxnuggetz.blogspot.com/2009/06/note-on-traffic-exchange-programs.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/735619702553682490/posts/default/640566460192353452'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/735619702553682490/posts/default/640566460192353452'/><link rel='alternate' type='text/html' href='http://linuxnuggetz.blogspot.com/2009/06/note-on-traffic-exchange-programs.html' title='A Note on Traffic Exchange Programs'/><author><name>George Obed</name><uri>http://www.blogger.com/profile/12249902572874631730</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://1.bp.blogspot.com/_TwnL31td0dA/SdGrjLox6XI/AAAAAAAAABQ/v1_ZAL_BIfo/S220/george.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_TwnL31td0dA/SkomzWIspzI/AAAAAAAAACo/gGpqTBVRpy8/s72-c/google-adsense-logo-350_0.gif' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-735619702553682490.post-5327377610058300466</id><published>2009-06-30T12:04:00.005+08:00</published><updated>2009-06-30T12:10:18.163+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Installations'/><title type='text'>Setting-up Nagios in Ubuntu</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_TwnL31td0dA/SkmPYV55gbI/AAAAAAAAACg/9Mi3nc1Xg5Y/s1600-h/about-screenshot2.png"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 200px; height: 181px;" src="http://2.bp.blogspot.com/_TwnL31td0dA/SkmPYV55gbI/AAAAAAAAACg/9Mi3nc1Xg5Y/s200/about-screenshot2.png" alt="" id="BLOGGER_PHOTO_ID_5352967280466166194" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;1.  Overview&lt;br /&gt;Nagios is a powerful tool that provides you with instant awareness of your organization's mission-critical IT infrastructure. Nagios allows you to detect and repair problems and mitigate future issues before they affect end-users and customers.&lt;br /&gt;&lt;br /&gt;2. Platform&lt;br /&gt;Ubuntu (Desktop) 8.04 Hardy Heron&lt;br /&gt;&lt;br /&gt;Username :    nagios     &lt;br /&gt;Password :    "password"  &lt;br /&gt;&lt;br /&gt;Nagios Version 3.0.3&lt;br /&gt;Nagios Plugin 1.4.13&lt;br /&gt;Nagios NRPE Plugins 2.12 (For clients / Hosts)&lt;br /&gt;NSClient++ Win32-0.3 (For Clients / Hosts)&lt;br /&gt;&lt;br /&gt;3. Installation&lt;br /&gt;3.1. Nagios Server&lt;br /&gt;3.1.1. Required Packages&lt;br /&gt;&lt;br /&gt;Make sure you've installed the following packages on your Ubuntu installation before continuing.&lt;br /&gt;Apache 2&lt;br /&gt;GCC compiler and development libraries&lt;br /&gt;GD development libraries&lt;br /&gt;You can use apt-get to install these packages by running the following commands:&lt;br /&gt;&lt;br /&gt;$ sudo apt-get install apache2&lt;br /&gt;$ sudo apt-get install build-essential&lt;br /&gt;$ sudo apt-get install libgd2-xpm-dev&lt;br /&gt;&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;3.1.2. Account Information&lt;br /&gt;&lt;br /&gt;Become the root user.&lt;br /&gt;$ sudo -s&lt;br /&gt;&lt;br /&gt;Create a new nagios user account and give it a password.&lt;br /&gt;$ /usr/sbin/useradd -m nagios&lt;br /&gt;$ passwd nagios&lt;br /&gt;&lt;br /&gt;Create a new nagcmd group for allowing external commands to be submitted through the web interface. Add both the nagios user and the apache user to the group.&lt;br /&gt;$ /usr/sbin/groupadd nagcmd&lt;br /&gt;$ /usr/sbin/usermod -G nagcmd nagios&lt;br /&gt;$ /usr/sbin/usermod -G nagcmd www-data&lt;br /&gt;&lt;br /&gt;3.1.3 Download Nagios and the Plugins&lt;br /&gt;&lt;br /&gt;Create a directory for storing the downloads.&lt;br /&gt;$ mkdir ~/downloads&lt;br /&gt;$ cd ~/downloads&lt;br /&gt;&lt;br /&gt;Download the source code tarballs of both Nagios and the Nagios plugins (http://www.nagios.org/download/). At the time of writing, the latest versions of Nagios and the Nagios plugins were 3.0.3 and 1.4.13, respectively.&lt;br /&gt;&lt;br /&gt;$ wget http://osdn.dl.sourceforge.net/sourceforge/nagios/nagios-3.0.3.tar.gz&lt;br /&gt;$ wget http://osdn.dl.sourceforge.net/sourceforge/nagiosplug/nagios-plugins-1.4.13.tar.gz&lt;br /&gt;&lt;br /&gt;3.1.4 Compile and Install Nagios&lt;br /&gt;Extract the Nagios source code tarball.&lt;br /&gt;&lt;br /&gt;$ cd ~/downloads&lt;br /&gt;$ tar xzf nagios-3.0.3.tar.gz&lt;br /&gt;$ cd nagios-3.0.3&lt;br /&gt;&lt;br /&gt;Run the Nagios configure script, passing the name of the group you created earlier like so:&lt;br /&gt;$ ./configure --with-command-group=nagcmd&lt;br /&gt;&lt;br /&gt;Compile the Nagios source code.&lt;br /&gt;$ make all&lt;br /&gt;&lt;br /&gt;Install binaries, init script, sample config files and set permissions on the external command directory.&lt;br /&gt;$ make install&lt;br /&gt;$ make install-init&lt;br /&gt;$ make install-config&lt;br /&gt;$ make install-commandmode&lt;br /&gt;&lt;br /&gt;3.1.5. Customize Configuration&lt;br /&gt;Sample configuration files have now been installed in the /usr/local/nagios/etc directory. These sample files should work fine for getting started with Nagios. You'll need to make just one change before you proceed.&lt;br /&gt;&lt;br /&gt;Edit the /usr/local/nagios/etc/objects/contacts.cfg config file with your favorite editor and change the email address associated with the nagiosadmin contact definition to the address you'd like to use for receiving alerts.&lt;br /&gt;&lt;br /&gt;$ vi /usr/local/nagios/etc/objects/contacts.cfg&lt;br /&gt;&lt;br /&gt;3.1.6 Configure the Web Interface&lt;br /&gt;Install the Nagios web config file in the Apache conf.d directory.&lt;br /&gt;$ make install-webconf&lt;br /&gt;&lt;br /&gt;Create a nagiosadmin account for logging into the Nagios web interface. Remember the password you assign to this account - you'll need it later.&lt;br /&gt;$ htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin&lt;br /&gt;&lt;br /&gt;Username :    nagiosadmin     &lt;br /&gt;Password :    "password"  &lt;br /&gt;&lt;br /&gt;Restart Apache to make the new settings take effect.&lt;br /&gt;$ /etc/init.d/apache2 reload&lt;br /&gt;&lt;br /&gt;3.1.7. Compile and Install the Nagios Plugins&lt;br /&gt;Extract the Nagios plugins source code tarball.&lt;br /&gt;&lt;br /&gt;$ cd ~/downloads&lt;br /&gt;$ tar xzf nagios-plugins-1.4.13.tar.gz&lt;br /&gt;$ cd nagios-plugins-1.4.13&lt;br /&gt;&lt;br /&gt;Compile and install the plugins.&lt;br /&gt;$ ./configure --with-nagios-user=nagios --with-nagios-group=nagios&lt;br /&gt;$ make&lt;br /&gt;$ make install&lt;br /&gt;&lt;br /&gt;3.1.8. Start Nagios&lt;br /&gt;Configure Nagios to automatically start when the system boots.&lt;br /&gt;$ ln -s /etc/init.d/nagios /etc/rcS.d/S99nagios&lt;br /&gt;&lt;br /&gt;Verify the sample Nagios configuration files.&lt;br /&gt;$ /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg&lt;br /&gt;&lt;br /&gt;If there are no errors, start Nagios.&lt;br /&gt;$ /etc/init.d/nagios start&lt;br /&gt;&lt;br /&gt;3.1.9. Login to the Web Interface&lt;br /&gt;You should now be able to access the Nagios web interface at the URL below. You'll be prompted for the username (nagiosadmin) and password you specified earlier.&lt;br /&gt;http://localhost/nagios/ or&lt;br /&gt;http://192.168.0.236/nagios&lt;br /&gt;Click on the "Service Detail" navbar link to see details of what's being monitored on your local machine. It will take a few minutes for Nagios to check all the services&lt;br /&gt;associated with your machine, as the checks are spread out over time.&lt;br /&gt;&lt;br /&gt;3.1.10 Other Modifications (Not yet implemented)&lt;br /&gt;If you want to receive email notifications for Nagios alerts, you need to install the mailx (Postfix) package.&lt;br /&gt;$ sudo apt-get install mailx&lt;br /&gt;&lt;br /&gt;You'll have to edit the Nagios email notification commands found in /usr/local/nagios/etc/objects/commands.cfg and change any '/bin/mail' references to '/usr/bin/mail'. Once you do that you'll need to restart Nagios to make the configuration changes live.&lt;br /&gt;$ sudo /etc/init.d/nagios restart&lt;br /&gt;&lt;br /&gt;Configuring email notifications is outside the scope of this documentation. Refer to your system documentation, search the web, or look to the http://www.nagioscommunity.org/wiki for specific instructions on configuring your Ubuntu system to send email messages to external addresses.&lt;br /&gt;&lt;br /&gt;Credits to :&lt;br /&gt;Eman Bolivar (fellow Systems Admin)&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/735619702553682490-5327377610058300466?l=linuxnuggetz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxnuggetz.blogspot.com/feeds/5327377610058300466/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linuxnuggetz.blogspot.com/2009/06/setting-up-nagios-in-ubuntu.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/735619702553682490/posts/default/5327377610058300466'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/735619702553682490/posts/default/5327377610058300466'/><link rel='alternate' type='text/html' href='http://linuxnuggetz.blogspot.com/2009/06/setting-up-nagios-in-ubuntu.html' title='Setting-up Nagios in Ubuntu'/><author><name>George Obed</name><uri>http://www.blogger.com/profile/12249902572874631730</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://1.bp.blogspot.com/_TwnL31td0dA/SdGrjLox6XI/AAAAAAAAABQ/v1_ZAL_BIfo/S220/george.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_TwnL31td0dA/SkmPYV55gbI/AAAAAAAAACg/9Mi3nc1Xg5Y/s72-c/about-screenshot2.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-735619702553682490.post-3799298472897927211</id><published>2009-06-29T15:37:00.004+08:00</published><updated>2009-06-29T15:49:57.369+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='News'/><title type='text'>Linux 2.6.30 Gets New Filesystems</title><content type='html'>&lt;span style=";font-family:Arial,Helvetica;font-size:100%;"  &gt;&lt;!-- --&gt;Article Source : Desktop Linux&lt;br /&gt;&lt;br /&gt;&lt;img src="http://desktoplinux.com/files/misc/linus_torvalds85x110.jpg" vspace="5" align="left" hspace="10" /&gt;Linus Torvalds (pictured) announced Linux kernel 2.6.30, adding several new filesystems, including the NILFS2 log-structured filesystem. Linux 2.6.30 enhancements include a local caching layer for NFS data, the RDS server cluster communications protocol, the Tomoyo security module, and support for LZMA and BZIP2 compression algorithms.&lt;br /&gt;&lt;br /&gt;The 2.6.30 release arrives less than three months after &lt;a href="http://www.desktoplinux.com/news/NS2893428869.html" target="new"&gt;&lt;u&gt;Linux kernel 2.6.29&lt;/u&gt;&lt;/a&gt;, which added a wide variety of driver and header updates, WiMAX support, the embedded-oriented Squashfs filesystem, and a preliminary new Btrfs filesystem. The new kernel release further feeds Linux developers' insatiable appetite for new filesystems.&lt;br /&gt;&lt;br /&gt;The new &lt;a href="http://www.nilfs.org/en/" target="new"&gt;&lt;u&gt;NILFS2&lt;/u&gt;&lt;/a&gt; treats the whole disk as a consecutive list of blocks (or "log"), and never rewrites blocks. As a result, all modifications and creations are converted into sequential operations, which are said to be faster. Other NILFS2 improvements are said to include the ability to offer a more coherent historical view of operations, called "continuus snapshotting," enabling users to restore files that have been mistakenly destroyed only a few seconds previously.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;a href="http://desktoplinux.com/news/NS7212048164.html"&gt;Read rest of the article at DesktopLinux&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/735619702553682490-3799298472897927211?l=linuxnuggetz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxnuggetz.blogspot.com/feeds/3799298472897927211/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linuxnuggetz.blogspot.com/2009/06/linus-torvalds-pictured-announced-linux_29.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/735619702553682490/posts/default/3799298472897927211'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/735619702553682490/posts/default/3799298472897927211'/><link rel='alternate' type='text/html' href='http://linuxnuggetz.blogspot.com/2009/06/linus-torvalds-pictured-announced-linux_29.html' title='Linux 2.6.30 Gets New Filesystems'/><author><name>George Obed</name><uri>http://www.blogger.com/profile/12249902572874631730</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://1.bp.blogspot.com/_TwnL31td0dA/SdGrjLox6XI/AAAAAAAAABQ/v1_ZAL_BIfo/S220/george.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-735619702553682490.post-6236435137084851238</id><published>2009-06-29T15:26:00.005+08:00</published><updated>2009-06-29T15:51:43.767+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='News'/><title type='text'>First Major PHP Update in Years Coming Soon</title><content type='html'>&lt;span class="createdate"&gt;Thursday, 25 June 2009 17:07&lt;/span&gt;&lt;div class="article-toolswrap"&gt;&lt;div class="article-tools clearfix"&gt;&lt;div class="article-meta"&gt;&lt;span class="createby"&gt;  &lt;/span&gt;      &lt;/div&gt;     &lt;/div&gt; &lt;/div&gt;    &lt;div class="itemhead"&gt;Article Source &lt;a href="http://redir.internet.com/rss/click/www.internetnews.com/dev-news/article.php/3827041"&gt;internetnews.com&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;PHP 5.3 could be out as soon as Tuesday, June 30th. The new open source language release is a big deal for a lot of reasons, not the least of which is the fact that by my count this is the first major update to PHP since 2006 and the &lt;a href="http://news.php.net/php.internals/44454"&gt;PHP 5.2&lt;/a&gt; release.  &lt;p&gt;PHP 5.3 is also interesting in that it includes at least one key feature that was originally intended for PHP 6 (whenever -- if ever -- that release will be out). &lt;/p&gt;&lt;p&gt;I spoke with Zeev Suraski, co-founder and CTO at commercial PHP vendor Zend Technologies &lt;a href="http://www.internetnews.com/dev-news/article.php/3818406"&gt;last month&lt;/a&gt; about PHP 5.3. He noted that one key feature backported from PHP 6 into PHP 5.3 is &lt;a href="http://ca.php.net/manual/en/language.namespaces.rationale.php"&gt;namespaces&lt;/a&gt;, which is a way to encapsulate classes and other PHP items more easily.&lt;/p&gt;&lt;p&gt;&lt;span class="fullpost"&gt;&lt;a href="http://www.internetnews.com/dev-news/article.php/3827041"&gt;Read rest of the content at Internetnews&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/735619702553682490-6236435137084851238?l=linuxnuggetz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxnuggetz.blogspot.com/feeds/6236435137084851238/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linuxnuggetz.blogspot.com/2009/06/first-major-php-update-in-years-coming.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/735619702553682490/posts/default/6236435137084851238'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/735619702553682490/posts/default/6236435137084851238'/><link rel='alternate' type='text/html' href='http://linuxnuggetz.blogspot.com/2009/06/first-major-php-update-in-years-coming.html' title='First Major PHP Update in Years Coming Soon'/><author><name>George Obed</name><uri>http://www.blogger.com/profile/12249902572874631730</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://1.bp.blogspot.com/_TwnL31td0dA/SdGrjLox6XI/AAAAAAAAABQ/v1_ZAL_BIfo/S220/george.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-735619702553682490.post-6453804092220326548</id><published>2009-06-29T15:21:00.001+08:00</published><updated>2009-06-29T15:25:09.160+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='News'/><title type='text'>Opera Kicks It Up A Notch With Unite</title><content type='html'>Article Source &lt;a href="http://feedproxy.google.com/%7Er/LinuxMagazine/%7E3/idH-AFoUr14/"&gt;Linux Magazine&lt;/a&gt;&lt;br /&gt;June 26, 2009, 5:22 am&lt;br /&gt;&lt;br /&gt;&lt;div class="itemhead"&gt; &lt;/div&gt;&lt;div class="itemhead"&gt;A few weeks ago I took Opera 10 beta for a test drive to see if the Opera folks had a shot at claiming serious share on the desktop. While Opera 10 is the best Opera release yet, it didn’t seem to have any killer features that would drive adoption. Last week, Opera pulled the other one and released Opera Unite: the killer feature that might put Opera over the top...&lt;/div&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;a href="http://www.linux-mag.com/id/7391/"&gt;Read rest of the content at Linux Magazine&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/735619702553682490-6453804092220326548?l=linuxnuggetz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxnuggetz.blogspot.com/feeds/6453804092220326548/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linuxnuggetz.blogspot.com/2009/06/opera-kicks-it-up-notch-with-unite.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/735619702553682490/posts/default/6453804092220326548'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/735619702553682490/posts/default/6453804092220326548'/><link rel='alternate' type='text/html' href='http://linuxnuggetz.blogspot.com/2009/06/opera-kicks-it-up-notch-with-unite.html' title='Opera Kicks It Up A Notch With Unite'/><author><name>George Obed</name><uri>http://www.blogger.com/profile/12249902572874631730</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://1.bp.blogspot.com/_TwnL31td0dA/SdGrjLox6XI/AAAAAAAAABQ/v1_ZAL_BIfo/S220/george.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-735619702553682490.post-8170937930780210282</id><published>2009-06-19T12:55:00.018+08:00</published><updated>2009-06-29T10:34:49.088+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Scripting'/><title type='text'>Script in Monitoring Your LINUX Server</title><content type='html'>You can use this as pattern in monitoring you server.&lt;br /&gt;&lt;br /&gt;1. Create a file "system-check.sh" and paste the code below:&lt;br /&gt;(this will monitor - apache, java, postfix, mail que, mysql and failed logins)&lt;br /&gt;&lt;br /&gt;echo&lt;br /&gt;echo "youserver.com.ph"&lt;br /&gt;date&lt;br /&gt;echo&lt;br /&gt;vmstat 5 5|awk -F" " '{print $4" "$5" "$8" "$16}'&lt;br /&gt;echo ---------------------------------&lt;br /&gt;df -k&lt;br /&gt;echo ---------------------------------&lt;br /&gt;ps -eaf | grep httpd&lt;br /&gt;echo ---------------------------------&lt;br /&gt;ps -eaf | grep java&lt;br /&gt;echo ---------------------------------&lt;br /&gt;ps -eaf | grep postfix&lt;br /&gt;echo ---------------------------------&lt;br /&gt;ps -eaf | grep -c smtp&lt;br /&gt;echo ---------------------------------&lt;br /&gt;ps -eaf | grep mysql&lt;br /&gt;echo ---------------------------------&lt;br /&gt;lastb | head&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;_______________&lt;br /&gt;Note:&lt;br /&gt;you can add a service check by changing syntax below:&lt;br /&gt;&lt;br /&gt;ps -eaf | grep &amp;lt;service&amp;gt;&lt;br /&gt;e.g. ps -eaf | grep named&lt;br /&gt;&lt;br /&gt;Checking logs:&lt;br /&gt;tail /usr/local/apache/logs/error_log&lt;br /&gt;&lt;br /&gt;2. Create a file "system-check.cron" and insert the code below:&lt;br /&gt;&lt;br /&gt;#! /bin/sh&lt;br /&gt;&lt;br /&gt;a=`eval date +%m'/'%d'/'%Y`&lt;br /&gt;&lt;br /&gt;clear&lt;br /&gt;echo&lt;br /&gt;nice system-check.sh &amp;gt; result.txt&lt;br /&gt;&lt;br /&gt;mail -s SERVERNAME-$a youremail@com.ph &amp;lt; result.txt&lt;br /&gt;&lt;br /&gt;3. Add this in the crontab, this will initiate routine check every 6am, 2pm, and 10pm, and sends you an and email result. &lt;br /&gt;&lt;br /&gt;0 6,14,22 * * * /root/scripts/routines.cron &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/735619702553682490-8170937930780210282?l=linuxnuggetz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxnuggetz.blogspot.com/feeds/8170937930780210282/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linuxnuggetz.blogspot.com/2009/06/script-in-monitoring-your-server.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/735619702553682490/posts/default/8170937930780210282'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/735619702553682490/posts/default/8170937930780210282'/><link rel='alternate' type='text/html' href='http://linuxnuggetz.blogspot.com/2009/06/script-in-monitoring-your-server.html' title='Script in Monitoring Your LINUX Server'/><author><name>George Obed</name><uri>http://www.blogger.com/profile/12249902572874631730</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://1.bp.blogspot.com/_TwnL31td0dA/SdGrjLox6XI/AAAAAAAAABQ/v1_ZAL_BIfo/S220/george.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-735619702553682490.post-7749573522296064394</id><published>2009-06-11T13:52:00.016+08:00</published><updated>2009-07-03T22:44:08.322+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ruby on Rails'/><title type='text'>Ruby on Rails in Ubuntu</title><content type='html'>Install the Dependencies:&lt;br /&gt;Build-essentials&lt;br /&gt;&lt;br /&gt;Ruby:&lt;br /&gt;$ wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p129.tar.gz&lt;br /&gt;$ tar -xzvf ruby-1.9.1-p129.tar.gz&lt;br /&gt;&lt;br /&gt;change directory to the extracted directory&lt;br /&gt;&lt;br /&gt;$ sudo ./configure&lt;br /&gt;$ sudo make&lt;br /&gt;$ sudo make install&lt;br /&gt;&lt;br /&gt;RubyGems:&lt;br /&gt;$ wget http://rubyforge.org/frs/download.php/57643/rubygems-1.3.4.tgz&lt;br /&gt;$ tar -xzvf rubygems-1.3.4.tgz&lt;br /&gt;&lt;br /&gt;change directory to the extracted directory&lt;br /&gt;&lt;br /&gt;$ sudo ruby setup.rb&lt;br /&gt;$ gem -v&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;Rails:&lt;br /&gt;$ sudo gem install rails --include-dependencies&lt;br /&gt;&lt;br /&gt;Terminal Output:&lt;br /&gt;INFO:  `gem install -y` is now default and will be removed&lt;br /&gt;INFO:  use --ignore-dependencies to install only the gems you list&lt;br /&gt;Successfully installed rake-0.8.7&lt;br /&gt;Successfully installed activesupport-2.3.2&lt;br /&gt;Successfully installed activerecord-2.3.2&lt;br /&gt;Successfully installed actionpack-2.3.2&lt;br /&gt;Successfully installed actionmailer-2.3.2&lt;br /&gt;Successfully installed activeresource-2.3.2&lt;br /&gt;Successfully installed rails-2.3.2&lt;br /&gt;7 gems installed&lt;br /&gt;Installing ri documentation for rake-0.8.7...&lt;br /&gt;Installing ri documentation for activesupport-2.3.2...&lt;br /&gt;Installing ri documentation for activerecord-2.3.2...&lt;br /&gt;Installing ri documentation for actionpack-2.3.2...&lt;br /&gt;Installing ri documentation for actionmailer-2.3.2...&lt;br /&gt;Installing ri documentation for activeresource-2.3.2...&lt;br /&gt;Installing ri documentation for rails-2.3.2...&lt;br /&gt;Updating class cache with 1382 classes...&lt;br /&gt;Installing RDoc documentation for rake-0.8.7...&lt;br /&gt;Installing RDoc documentation for activesupport-2.3.2...&lt;br /&gt;Installing RDoc documentation for activerecord-2.3.2...&lt;br /&gt;Installing RDoc documentation for actionpack-2.3.2...&lt;br /&gt;Installing RDoc documentation for actionmailer-2.3.2...&lt;br /&gt;Installing RDoc documentation for activeresource-2.3.2...&lt;br /&gt;Installing RDoc documentation for rails-2.3.2...&lt;br /&gt;&lt;br /&gt;List the installed gem files&lt;br /&gt;&lt;/span&gt;&lt;span class="fullpost"&gt;$ gem list --local&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Create the Web Directory&lt;br /&gt;$ cd /var/www&lt;br /&gt;$ sudo mkdir rubyweb&lt;br /&gt;$ cd rubyweb/&lt;br /&gt;$ sudo rails myweb&lt;br /&gt;&lt;br /&gt;Running RoR for the first time:&lt;br /&gt;$  ruby script/server&lt;br /&gt;___&lt;br /&gt;/usr/local/lib/ruby/gems/1.9.1/gems/rails-2.3.2/lib/initializer.rb:269:in `rescue in require_frameworks': no such file to load -- openssl (RuntimeError)&lt;br /&gt;   from /usr/local/lib/ruby/gems/1.9.1/gems/rails-2.3.2/lib/initializer.rb:266:in `require_frameworks'&lt;br /&gt;   from /usr/local/lib/ruby/gems/1.9.1/gems/rails-2.3.2/lib/initializer.rb:134:in `process'&lt;br /&gt;   from /usr/local/lib/ruby/gems/1.9.1/gems/rails-2.3.2/lib/initializer.rb:113:in `run'&lt;br /&gt;   from /var/www/rubyweb/myweb/config/environment.rb:9:in `&amp;lt;top (required)&amp;gt;'&lt;br /&gt;   from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:156:in `require'&lt;br /&gt;   from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:156:in `block in require'&lt;br /&gt;   from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:521:in `new_constants_in'&lt;br /&gt;   from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:156:in `require'&lt;br /&gt;   from /usr/local/lib/ruby/gems/1.9.1/gems/rails-2.3.2/lib/commands/server.rb:84:in `&amp;lt;top (required)&amp;gt;'&lt;br /&gt;   from script/server:3:in `require'&lt;br /&gt;   from script/server:3:in `&amp;lt;main&amp;gt;'&lt;br /&gt;&lt;br /&gt;If you encounter the above error,  run the following to fix the error&lt;br /&gt;&lt;br /&gt;$ sudo apt-get install openssl libssl-dev&lt;br /&gt;$ sudo apt-get install ruby1.9-dev&lt;br /&gt;$ cd /usr/src/ruby-1.9.1-p129/ext/openssl&lt;br /&gt;$ sudo ruby extconf.rb&lt;br /&gt;$ sudo make &amp;amp;&amp;amp; make install&lt;br /&gt;&lt;br /&gt;Run the server again.&lt;br /&gt;$ cd /var/www/rubyweb/myweb&lt;br /&gt;$ ruby script/server&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/735619702553682490-7749573522296064394?l=linuxnuggetz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxnuggetz.blogspot.com/feeds/7749573522296064394/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linuxnuggetz.blogspot.com/2009/06/ruby-on-rail-on-ubuntu.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/735619702553682490/posts/default/7749573522296064394'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/735619702553682490/posts/default/7749573522296064394'/><link rel='alternate' type='text/html' href='http://linuxnuggetz.blogspot.com/2009/06/ruby-on-rail-on-ubuntu.html' title='Ruby on Rails in Ubuntu'/><author><name>George Obed</name><uri>http://www.blogger.com/profile/12249902572874631730</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://1.bp.blogspot.com/_TwnL31td0dA/SdGrjLox6XI/AAAAAAAAABQ/v1_ZAL_BIfo/S220/george.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-735619702553682490.post-2047423177600233996</id><published>2009-06-11T11:32:00.012+08:00</published><updated>2009-06-26T15:16:29.022+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ruby on Rails'/><title type='text'>Ruby on Rails with  Mongrel Clusters Connecting to Oracle Database</title><content type='html'>Note:&lt;br /&gt;First disable selinux.&lt;br /&gt;to check the config edit "/etc/sysconfig/selinux", if you made changes reboot the system.&lt;br /&gt;&lt;br /&gt;Install the dependencies:&lt;br /&gt;&lt;br /&gt;Development Libraries:&lt;br /&gt;$ yum -v groupinstall "Development Libraries"&lt;br /&gt;$ yum -v groupinstall "Development Tools"&lt;br /&gt;&lt;br /&gt;Zlib:&lt;br /&gt;$ yum install zlib zlib-devel&lt;br /&gt;&lt;br /&gt;Readline:&lt;br /&gt;$ yum install readline-devel&lt;br /&gt;&lt;br /&gt;Freeimage:&lt;br /&gt;$ wget http://nchc.dl.sourceforge.net/sourceforge/freeimage/FreeImage3120.zip&lt;br /&gt;$ unzip FreeImage3120.zip&lt;br /&gt;$ make&lt;br /&gt;$ make install&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;1. Download and install Ruby 1.8.6 patch 111&lt;br /&gt;&lt;br /&gt;Ruby download site : http://www.ruby-lang.org/en/downloads/&lt;br /&gt;&lt;br /&gt;$ wget ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.6-p111.tar.gz&lt;br /&gt;$ tar xzvf ruby-1.8.6-p111.tar.gz&lt;br /&gt;$ cd ruby-1.8.6-p111&lt;br /&gt;$ ./configure&lt;br /&gt;$ make&lt;br /&gt;$ make install&lt;br /&gt;&lt;br /&gt;Try checking the version if the installation goes well&lt;br /&gt;&lt;br /&gt;$ ruby -v&lt;br /&gt;&lt;br /&gt;Output:&lt;br /&gt;ruby 1.8.6 (2007-09-24 patchlevel 111) [i686-linux]&lt;br /&gt;&lt;br /&gt;2. Download and install Gem 1.0.1&lt;br /&gt;&lt;br /&gt;$ wget http://rubyforge.org/frs/download.php/29548/rubygems-1.0.1.tgz&lt;br /&gt;$ tar xzvf rubygems-1.0.1.tgz&lt;br /&gt;$ cd rubygems-1.0.1&lt;br /&gt;$ ruby setup.rb&lt;br /&gt;&lt;br /&gt;Do a version check again&lt;br /&gt;$ gem -v&lt;br /&gt;&lt;br /&gt;Output:&lt;br /&gt;1.0.1&lt;br /&gt;&lt;br /&gt;Install Rails 2.0.2 using the following command:&lt;br /&gt;&lt;br /&gt;$ gem install rails -v 2.0.2 - (this would take time to install, in my test pc PentIII it took more than 2hrs)&lt;br /&gt;&lt;br /&gt;3. Register to Oracle and download the following Oracle clients:&lt;br /&gt;&lt;br /&gt;oracle-instantclient-basic-10.2.0.3-1.i386.rpm&lt;br /&gt;oracle-instantclient-basic-10.2.0.3-1.i386.rpm&lt;br /&gt;oracle-instantclient-sqlplus-10.2.0.3-1.i386.rpm&lt;br /&gt;&lt;br /&gt;$ rpm -ivh oracle-instantclient-basic-10.2.0.3-1.i386.rpm&lt;br /&gt;$ rpm -ivh oracle-instantclient-basic-10.2.0.3-1.i386.rpm&lt;br /&gt;$ rpm -ivh oracle-instantclient-sqlplus-10.2.0.3-1.i386.rpm&lt;br /&gt;&lt;br /&gt;* run and add this in the /etc/profile&lt;br /&gt;&lt;br /&gt;$ LD_LIBRARY_PATH=/usr/lib/oracle/10.2.0.3/client/lib&lt;br /&gt;$ export LD_LIBRARY_PATH&lt;br /&gt;&lt;br /&gt;5. Download and install Ruby-OCI8&lt;br /&gt;&lt;br /&gt;Download from http://rubyforge.org/frs/download.php/28396/ruby-oci8-1.0.0.tar.gz&lt;br /&gt;Uncompress and extract the file contents.&lt;br /&gt;Execute the following from within the extracted directory:&lt;br /&gt;&lt;br /&gt;ruby setup.rb&lt;br /&gt;&lt;br /&gt;* (Rails installation has to be finished before this) Copy the Oracle Adapter to the correct directory:&lt;br /&gt;&lt;br /&gt;cp /path/to/oracle_adapter.rb /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/ (directory might be different on different installations, just search for active_record/connection_adapters)&lt;br /&gt;&lt;br /&gt;6. Install other Ruby gems:&lt;br /&gt;&lt;br /&gt;$ gem install mongrel&lt;br /&gt;$ gem install mongrel_cluster&lt;br /&gt;$ gem install ruby-debug&lt;br /&gt;$ gem install soap4r -v 1.5.7&lt;br /&gt;$ gem install image_science&lt;br /&gt;&lt;br /&gt;7. Install apache using yum.&lt;br /&gt;&lt;br /&gt;$ yum install httpd&lt;br /&gt;&lt;br /&gt;* Configure Apache. Your httpd.conf needs a configuration like that of below:&lt;br /&gt;&lt;br /&gt;&amp;lt;Proxy balancer://test&amp;gt;&lt;br /&gt;BalancerMember http://127.0.0.1:3000&lt;br /&gt;BalancerMember http://127.0.0.1:3001&lt;br /&gt;BalancerMember http://127.0.0.1:3002&lt;br /&gt;&amp;lt;/Proxy&amp;gt;&lt;br /&gt;&amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;ServerAdmin testaccount@gmail.com&lt;br /&gt;ServerName test.com&lt;br /&gt;ServerAlias test&lt;br /&gt;ProxyPass / balancer://test/&lt;br /&gt;ProxyPassReverse / balancer://test/&lt;br /&gt;ErrorLog /var/log/apache_error_log&lt;br /&gt;CustomLog /var/log/apache_access_log combined&lt;br /&gt;&amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;&lt;br /&gt;* replace test and testaccount base on your server details&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/735619702553682490-2047423177600233996?l=linuxnuggetz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxnuggetz.blogspot.com/feeds/2047423177600233996/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linuxnuggetz.blogspot.com/2009/06/ruby-on-rails-mongrel-cluster.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/735619702553682490/posts/default/2047423177600233996'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/735619702553682490/posts/default/2047423177600233996'/><link rel='alternate' type='text/html' href='http://linuxnuggetz.blogspot.com/2009/06/ruby-on-rails-mongrel-cluster.html' title='Ruby on Rails with  Mongrel Clusters Connecting to Oracle Database'/><author><name>George Obed</name><uri>http://www.blogger.com/profile/12249902572874631730</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://1.bp.blogspot.com/_TwnL31td0dA/SdGrjLox6XI/AAAAAAAAABQ/v1_ZAL_BIfo/S220/george.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-735619702553682490.post-883182017295548891</id><published>2009-06-06T20:14:00.012+08:00</published><updated>2009-06-26T15:10:53.969+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Installations'/><title type='text'>Implementing Subversion - CentOS</title><content type='html'>Note: Apache is a requirement in setting up the Subversion.&lt;br /&gt;&lt;br /&gt;1. Installing subversion.&lt;br /&gt;&lt;br /&gt;$ yum install mod_dav_svn subversion&lt;br /&gt;&lt;br /&gt;2. Configuring subversion's apache.&lt;br /&gt;&lt;br /&gt;$ nano /etc/httpd/conf.d/subversion.conf&lt;br /&gt;&lt;br /&gt;Make sure that these are loaded:&lt;br /&gt;&lt;br /&gt;# Make sure you uncomment the following if they are commented out&lt;br /&gt;LoadModule dav_svn_module modules/mod_dav_svn.so&lt;br /&gt;LoadModule authz_svn_module modules/mod_authz_svn.so&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;# Add this directive&lt;br /&gt;&lt;br /&gt;&amp;lt;Location /repos&amp;gt;&lt;br /&gt;DAV svn&lt;br /&gt;SVNPath /var/www/svn/repos&lt;br /&gt;AuthType Basic&lt;br /&gt;AuthName "Subversion repos"&lt;br /&gt;AuthUserFile /etc/svn-auth-conf&lt;br /&gt;Require valid-user&lt;br /&gt;&amp;lt;/Location&amp;gt;&lt;br /&gt;&lt;br /&gt;3. Create an SVN user.&lt;br /&gt;&lt;br /&gt;$ htpasswd -cm /etc/svn-auth-conf svnuser&lt;br /&gt;&lt;br /&gt;4. Configure the repository.&lt;br /&gt;&lt;br /&gt;$ cd /var/www/ (or the default apache web folder)&lt;br /&gt;$ mkdir svn&lt;br /&gt;$ cd svn&lt;br /&gt;$ svnadmin create repos&lt;br /&gt;$ chown -R apache.apache repos&lt;br /&gt;$ service httpd restart&lt;br /&gt;&lt;br /&gt;5. Accessing the URL using a browser.&lt;br /&gt;&lt;br /&gt;http://serversIPorDomain/repos or http://192.168.0.xxx/repos&lt;br /&gt;&lt;br /&gt;ref : wiki centos&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/735619702553682490-883182017295548891?l=linuxnuggetz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxnuggetz.blogspot.com/feeds/883182017295548891/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linuxnuggetz.blogspot.com/2009/06/implementing-subversion.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/735619702553682490/posts/default/883182017295548891'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/735619702553682490/posts/default/883182017295548891'/><link rel='alternate' type='text/html' href='http://linuxnuggetz.blogspot.com/2009/06/implementing-subversion.html' title='Implementing Subversion - CentOS'/><author><name>George Obed</name><uri>http://www.blogger.com/profile/12249902572874631730</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://1.bp.blogspot.com/_TwnL31td0dA/SdGrjLox6XI/AAAAAAAAABQ/v1_ZAL_BIfo/S220/george.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-735619702553682490.post-5941705534167216701</id><published>2009-06-06T19:20:00.025+08:00</published><updated>2009-06-26T15:09:49.757+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Installations'/><title type='text'>ProFTPD and VSFTPD Server Installation</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Vsftpd installation and simple configuration - CentOS 5.2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1. Install the package via yum.&lt;br /&gt;&lt;br /&gt;$ yum install vsftpd.i386&lt;br /&gt;&lt;br /&gt;2. The default configuration is located at /etc/vsftpd/vsftpd.conf, edit and apply configurations below.&lt;br /&gt;&lt;br /&gt;# Allow anonymous FTP?&lt;br /&gt;anonymous_enable=NO&lt;br /&gt;&lt;br /&gt;# Uncomment this to allow local users to log in.&lt;br /&gt;local_enable=YES&lt;br /&gt;&lt;br /&gt;# Uncomment this to enable any form of FTP write command.&lt;br /&gt;write_enable=YES&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;# Add this line to jail users on their home directories.&lt;br /&gt;chroot_local_user=YES&lt;br /&gt;&lt;br /&gt;3. Start VSFTPD&lt;br /&gt;&lt;br /&gt;$ /etc/init.d/vsftpd start&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Proftpd Vsftpd installation and simple configuration - CentOS 5.2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1. Login as root, download and install the package:&lt;br /&gt;&lt;br /&gt;$ wget http://software.virtualmin.com/gpl/centos/5.2/i386/proftpd-1.3.0a-3.el4.i386.rpm&lt;br /&gt;$ rpm -ivh proftpd-1.2.10-1.fc1.i386.rpm&lt;br /&gt;&lt;br /&gt;2. The default configuration can be found at /etc/proftpd.conf, edit and apply configurations below.&lt;br /&gt;&lt;br /&gt;ServerType standalone&lt;br /&gt;DefaultServer on&lt;br /&gt;&lt;br /&gt;# Use this to excude users from the chroot&lt;br /&gt;DefaultRoot ~ !adm&lt;br /&gt;&lt;br /&gt;# Use pam to authenticate (default) and be authoritative&lt;br /&gt;AuthPAMConfig proftpd&lt;br /&gt;AuthOrder mod_auth_pam.c* mod_auth_unix.c&lt;br /&gt;&lt;br /&gt;# Port 21 is the standard FTP port.&lt;br /&gt;Port 21&lt;br /&gt;&lt;br /&gt;# Umask 022 is a good standard umask to prevent new dirs and files&lt;br /&gt;# from being group and world writable.&lt;br /&gt;Umask 022&lt;br /&gt;&lt;br /&gt;# To prevent DoS attacks, set the maximum number of child processes&lt;br /&gt;# to 30. If you need to allow more than 30 concurrent connections&lt;br /&gt;# at once, simply increase this value. Note that this ONLY works&lt;br /&gt;# in standalone mode, in inetd mode you should use an inetd server&lt;br /&gt;# that allows you to limit maximum number of processes per service&lt;br /&gt;MaxInstances 20&lt;br /&gt;&lt;br /&gt;3. To start the daemon, run:&lt;br /&gt;$ /etc/init.d/proftpd start&lt;br /&gt;&lt;br /&gt;Other daemon commands:&lt;br /&gt;$ /etc/init.d/proftpd stop&lt;br /&gt;$ /etc/init.d/proftpd reload&lt;br /&gt;$ /etc/init.d/proftpd restart&lt;br /&gt;&lt;br /&gt;4. To automatically start ProFTPD during bootup.&lt;br /&gt;$ chkconfig --level 3 proftpd on&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/735619702553682490-5941705534167216701?l=linuxnuggetz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxnuggetz.blogspot.com/feeds/5941705534167216701/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linuxnuggetz.blogspot.com/2009/06/proftpd-and-vsftpd-server-installation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/735619702553682490/posts/default/5941705534167216701'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/735619702553682490/posts/default/5941705534167216701'/><link rel='alternate' type='text/html' href='http://linuxnuggetz.blogspot.com/2009/06/proftpd-and-vsftpd-server-installation.html' title='ProFTPD and VSFTPD Server Installation'/><author><name>George Obed</name><uri>http://www.blogger.com/profile/12249902572874631730</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://1.bp.blogspot.com/_TwnL31td0dA/SdGrjLox6XI/AAAAAAAAABQ/v1_ZAL_BIfo/S220/george.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-735619702553682490.post-5003709128790074499</id><published>2009-05-29T16:57:00.023+08:00</published><updated>2009-06-26T15:01:38.944+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux Tweak'/><title type='text'>Adding Swap File to Currently Installed Ubuntu OS</title><content type='html'>1. Create a file with a size you prefer.&lt;br /&gt;&lt;br /&gt;# sudo dd if=/dev/zero of=/mnt/512Mb.swap bs=1M count=512&lt;br /&gt;&lt;br /&gt;2. Format the created file&lt;br /&gt;&lt;br /&gt;# sudo mkswap /mnt/512Mb.swap&lt;br /&gt;&lt;br /&gt;3. Add the swap to the running system.&lt;br /&gt;&lt;br /&gt;# sudo swapon /mnt/512Mb.swap&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;to check if the swap file has been activated use # cat /proc/meminfo or # free -t&lt;br /&gt;&lt;br /&gt;4. To make the swap permanent every other boot.&lt;br /&gt;&lt;br /&gt;# gksudo gedit /etc/fstab&lt;br /&gt;&lt;br /&gt;Add the line at the end of the file&lt;br /&gt;&lt;br /&gt;/mnt/512Mb.swap none swap sw 0 0&lt;br /&gt;&lt;br /&gt;5. Save and reboot the system.&lt;br /&gt;&lt;br /&gt;source: help.ubuntu&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/735619702553682490-5003709128790074499?l=linuxnuggetz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxnuggetz.blogspot.com/feeds/5003709128790074499/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linuxnuggetz.blogspot.com/2009/05/adding-swap-file-to-currently-installed.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/735619702553682490/posts/default/5003709128790074499'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/735619702553682490/posts/default/5003709128790074499'/><link rel='alternate' type='text/html' href='http://linuxnuggetz.blogspot.com/2009/05/adding-swap-file-to-currently-installed.html' title='Adding Swap File to Currently Installed Ubuntu OS'/><author><name>George Obed</name><uri>http://www.blogger.com/profile/12249902572874631730</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://1.bp.blogspot.com/_TwnL31td0dA/SdGrjLox6XI/AAAAAAAAABQ/v1_ZAL_BIfo/S220/george.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-735619702553682490.post-6483804376677771748</id><published>2009-05-13T19:12:00.027+08:00</published><updated>2009-06-26T14:55:28.433+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Radiator Radius'/><title type='text'>Testing Radiator Radius via PHP Client</title><content type='html'>1. Install Apache and PHP with radius module.&lt;br /&gt;&lt;br /&gt;reference :&lt;br /&gt;http://freeradius.org/mod_auth_radius/&lt;br /&gt;&lt;br /&gt;(XAMPP Package has pre-installed radius module, you can use this for alternative installation)&lt;br /&gt;&lt;br /&gt;2. Create a PHP script for the authentication test, use the content below.&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;    &amp;lt;html&amp;gt;&lt;br /&gt;    &amp;lt;head&amp;gt;&amp;lt;title&amp;gt;RSA Test&amp;lt;/title&amp;gt;&amp;lt;/head&amp;gt;&lt;br /&gt;    &amp;lt;body bgcolor=#ffc7 text=#000000&amp;gt;&lt;br /&gt;    &amp;lt;?php&lt;br /&gt;    $challenge = false;&lt;br /&gt;    $loginAccepted = false;&lt;br /&gt;    $error = false;&lt;br /&gt;&lt;br /&gt;    if (isset($_POST['uname'])) {&lt;br /&gt;    $radius = radius_auth_open();&lt;br /&gt;&lt;br /&gt;    if (!radius_add_server($radius,'[IP ADDRESS]',[PORT],'[secret]',60,1)) {&lt;br /&gt;    $error = radius_strerror($radius);&lt;br /&gt;    } else if (!radius_create_request($radius,RADIUS_ACCESS_REQUEST)) {&lt;br /&gt;    $error = radius_strerror($radius);&lt;br /&gt;    } else {&lt;br /&gt;&lt;br /&gt;    radius_put_attr($radius,RADIUS_USER_NAME,$_POST['uname']);&lt;br /&gt;    if (isset($_POST['challenge'])) {&lt;br /&gt;    radius_put_attr($radius,RADIUS_USER_PASSWORD,$_POST['challenge']);&lt;br /&gt;    radius_put_attr($radius, RADIUS_STATE, $_POST['state']);&lt;br /&gt;    } else {&lt;br /&gt;    radius_put_attr($radius,RADIUS_USER_PASSWORD,$_POST['upw']);&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    $result = radius_send_request($radius);&lt;br /&gt;    if ($result == RADIUS_ACCESS_ACCEPT) {&lt;br /&gt;    $loginAccepted = true;&lt;br /&gt;&lt;br /&gt;    } else if ($result == RADIUS_ACCESS_REJECT) {&lt;br /&gt;    $loginAccepted = false;&lt;br /&gt;&lt;br /&gt;    } else if ($result == RADIUS_ACCESS_CHALLENGE) {&lt;br /&gt;    // When we get a challenge, return the response as the password&lt;br /&gt;    // and return RADIUS_STATE as given&lt;br /&gt;&lt;br /&gt;    $challenge = true;&lt;br /&gt;    $challengePrompt = false;&lt;br /&gt;    $challengeState = false;&lt;br /&gt;    $challengeStatus = false;&lt;br /&gt;&lt;br /&gt;    // loop through attributes.&lt;br /&gt;    while ($attrArray = radius_get_attr($radius)) {&lt;br /&gt;    if (!is_array($attrArray)) break;&lt;br /&gt;    if ($attrArray['attr'] == RADIUS_REPLY_MESSAGE) $challengePrompt =&lt;br /&gt;    $attrArray['data'];&lt;br /&gt;    if ($attrArray['attr'] == RADIUS_STATE) {&lt;br /&gt;    $challengeState = false;&lt;br /&gt;    $parts = explode('|', $attrArray['data']);&lt;br /&gt;    if (sizeof($parts) == 2) {&lt;br /&gt;    if (strlen($parts[0]) == 12) {&lt;br /&gt;    if (strcmp(substr($parts[0], 0, 8), "SECURID_") == 0) {&lt;br /&gt;    $challengeStatus = substr($parts[0], 8);&lt;br /&gt;    $challengeState = $attrArray['data'];&lt;br /&gt;    }&lt;br /&gt;    }&lt;br /&gt;    }&lt;br /&gt;    }&lt;br /&gt;    }&lt;br /&gt;    if ($challengePrompt === false) $error = "Error receiving challenge prompt";&lt;br /&gt;&lt;br /&gt;    } else {&lt;br /&gt;    $error = radius_strerror($radius);&lt;br /&gt;    }&lt;br /&gt;    }&lt;br /&gt;    if ($error !== false) {&lt;br /&gt;    print "There was an error trying to authenticate.&amp;lt;br&amp;gt;";&lt;br /&gt;    print "&amp;lt;i&amp;gt;" . $error . "&amp;lt;/i&amp;gt;&amp;lt;br&amp;gt;";&lt;br /&gt;    print "&amp;lt;hr&amp;gt;";&lt;br /&gt;    }&lt;br /&gt;    }&lt;br /&gt;    ?&amp;gt;&lt;br /&gt;    &amp;lt;!-- PRESENT THE LOGIN FORM --&amp;gt;&lt;br /&gt;    &amp;lt;?&lt;br /&gt;    if ($challenge &amp;amp;&amp;amp; (strcmp($challengeStatus, "WAIT") != 0)) {&lt;br /&gt;    print "&amp;lt;h1&amp;gt;SecurID Challenge&amp;lt;/h1&amp;gt;";&lt;br /&gt;    } else if ($challenge &amp;amp;&amp;amp; (strcmp($challengeStatus, "WAIT") == 0)) {&lt;br /&gt;    print "&amp;lt;h1&amp;gt;SecurID Response Accepted&amp;lt;/h1&amp;gt;";&lt;br /&gt;    print "&amp;lt;h3&amp;gt;" . $challengePrompt . "&amp;lt;/h3&amp;gt;";&lt;br /&gt;    } else if ($loginAccepted) {&lt;br /&gt;    print "&amp;lt;h1&amp;gt;SecurID Login Accepted&amp;lt;/h1&amp;gt;";&lt;br /&gt;    // header("location: http://www.eyp.ph/hotspot");&lt;br /&gt;    } else if (!isset($_POST['uname'])) {&lt;br /&gt;    print "&amp;lt;h1&amp;gt;Radiator Radius Web Client&amp;lt;/h1&amp;gt;";&lt;br /&gt;    } else {&lt;br /&gt;    print "&amp;lt;h1&amp;gt;SecurID Login Failure&amp;lt;/h1&amp;gt;";&lt;br /&gt;    print "&amp;lt;h3&amp;gt;Please try again&amp;lt;/h3&amp;gt;";&lt;br /&gt;    print "&amp;lt;em&amp;gt;(if after two tries, you're still getting a failure, try just your token code)&amp;lt;/em&amp;gt;";&lt;br /&gt;    }&lt;br /&gt;    ?&amp;gt;&lt;br /&gt;&lt;br /&gt;    &amp;lt;form action=&amp;lt;? print $_SERVER['PHP_SELF']; ?&amp;gt; method=POST&amp;gt;&lt;br /&gt;    Username: &amp;lt;input type=text name=uname size=30 value=""&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;&lt;br /&gt;    &amp;lt;!-- IF WE'RE NOT ANSWERING A CHALLENGE, PRESENT THE REGULAR PROMPT. --&amp;gt;&lt;br /&gt;    &amp;lt;!-- WAIT STATE MEANS WE JUST ANSWERED A RESPONSE SUCCESSFULLY. --&amp;gt;&lt;br /&gt;    &amp;lt;!-- ALSO SHOW REGULAR PROMPT AFTER ERROR --&amp;gt;&lt;br /&gt;    &amp;lt;? if (!$challenge || (strcmp($challengeStatus, "WAIT") == 0) || ($error !== false)) { ?&amp;gt;&lt;br /&gt;    Password: &amp;lt;input type=password name=upw size=30 value=""&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;    &amp;lt;? } else { ?&amp;gt;&lt;br /&gt;    &amp;lt;hr&amp;gt;&amp;lt;? print $challengePrompt; ?&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;    Response: &amp;lt;input type=password name=challenge size=30 value=""&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;    &amp;lt;input type=hidden name=state value="&amp;lt;? print addslashes($challengeState); ?&amp;gt;"&amp;gt;&lt;br /&gt;    &amp;lt;hr&amp;gt;&lt;br /&gt;    &amp;lt;? } ?&amp;gt;&lt;br /&gt;    &amp;lt;input type=submit name=submit value="Log In"&amp;gt;&lt;br /&gt;    &amp;lt;/form&amp;gt;&lt;br /&gt;    &amp;lt;/body&amp;gt;&lt;br /&gt;    &amp;lt;/html&amp;gt;&lt;br /&gt;&lt;br /&gt;3. Find the line below and supply the IP Address, Port, and Secret of the radius server.&lt;br /&gt;&lt;br /&gt;if (!radius_add_server($radius,'[IP ADDRESS]',[PORT],'[secret]',60,1)) {&lt;br /&gt;&lt;br /&gt;4. Put the file in your apache web folder e.g. "/var/www/html"&lt;br /&gt;&lt;br /&gt;5. You can now do the test via web e.g. "http://ipaddress/filename.php or http://server.com/filename.php"&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/735619702553682490-6483804376677771748?l=linuxnuggetz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxnuggetz.blogspot.com/feeds/6483804376677771748/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linuxnuggetz.blogspot.com/2009/05/testing-radiator-radius-via-php-client.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/735619702553682490/posts/default/6483804376677771748'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/735619702553682490/posts/default/6483804376677771748'/><link rel='alternate' type='text/html' href='http://linuxnuggetz.blogspot.com/2009/05/testing-radiator-radius-via-php-client.html' title='Testing Radiator Radius via PHP Client'/><author><name>George Obed</name><uri>http://www.blogger.com/profile/12249902572874631730</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://1.bp.blogspot.com/_TwnL31td0dA/SdGrjLox6XI/AAAAAAAAABQ/v1_ZAL_BIfo/S220/george.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-735619702553682490.post-6340169906591475686</id><published>2009-04-26T13:29:00.035+08:00</published><updated>2009-06-26T14:57:41.656+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Radiator Radius'/><title type='text'>Radiator Radius Installation connecting to ORACLE (CentOS)</title><content type='html'>1. Download and install the Oracle client connectors.&lt;br /&gt;&lt;br /&gt;http://www.oracle.com/index.html&lt;br /&gt;&lt;br /&gt;oracle-instantclient-basic-10.2.0.3-1.i386.rpm&lt;br /&gt;oracle-instantclient-devel-10.2.0.3-1.i386.rpm&lt;br /&gt;oracle-instantclient-sqlplus-10.2.0.3-1.i386.rpm&lt;br /&gt;&lt;br /&gt;rpm -Uvh oracle-instantclient-basic-10.2.0.3-1.i386.rpm&lt;br /&gt;rpm -Uvh oracle-instantclient-devel-10.2.0.3-1.i386.rpm&lt;br /&gt;rpm -Uvh oracle-instantclient-sqlplus-10.2.0.3-1.i386.rpm&lt;br /&gt;&lt;br /&gt;2. Set the environment variables.&lt;br /&gt;&lt;br /&gt;# ORACLE_HOME=/usr/lib/oracle/10.2.0.3/client/lib&lt;br /&gt;# export ORACLE_HOME&lt;br /&gt;# export LD_LIBRARY_PATH=$ORACLE_HOME&lt;br /&gt;&lt;br /&gt;# TNS_ADMIN=/usr/lib/oracle/10.2.0.3/client/admin&lt;br /&gt;# export TNS_ADMIN&lt;br /&gt;&lt;br /&gt;# mkdir /usr/lib/oracle/10.2.0.3/client/admin&lt;br /&gt;&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;3. Edit /etc/profiles and insert the lines below.&lt;br /&gt;&lt;br /&gt;ORACLE_HOME=/usr/lib/oracle/10.2.0.3/client/lib&lt;br /&gt;export ORACLE_HOME&lt;br /&gt;export LD_LIBRARY_PATH=$ORACLE_HOME&lt;br /&gt;&lt;br /&gt;TNS_ADMIN=/usr/lib/oracle/10.2.0.3/client/admin&lt;br /&gt;export TNS_ADMIN&lt;br /&gt;&lt;br /&gt;4. Create a file "tnsnames.ora" and insert the settings below.&lt;br /&gt;&lt;br /&gt;SERVER1=&lt;br /&gt;(DESCRIPTION =&lt;br /&gt;(ADDRESS_LIST =&lt;br /&gt;(ADDRESS = (PROTOCOL = TCP)(HOST = xxx.xxx.xxx.xxx)(PORT = 1521))&lt;br /&gt;)&lt;br /&gt;(CONNECT_DATA =&lt;br /&gt;(SERVICE_NAME = orcl)&lt;br /&gt;)&lt;br /&gt;)&lt;br /&gt;&lt;br /&gt;5. Install Mysql Server for internal testing.&lt;br /&gt;&lt;br /&gt;# yum install mysql-server.i386&lt;br /&gt;&lt;br /&gt;this will install the following, and perl-DBI as well which you will need&lt;br /&gt;as dependencies for Perl-Oracle-DBD.&lt;br /&gt;&lt;br /&gt;============================&lt;br /&gt;Package Arch Version Repository Size&lt;br /&gt;============================&lt;br /&gt;Installing:&lt;br /&gt;mysql-server i386 5.0.45-7.el5 base 9.7 M&lt;br /&gt;&lt;br /&gt;Installing for dependencies:&lt;br /&gt;mysql i386 5.0.45-7.el5 base 4.1 M&lt;br /&gt;perl-DBD-MySQL i386 3.0007-1.fc6 base 147 k&lt;br /&gt;perl-DBI i386 1.52-1.fc6 base 605 k&lt;br /&gt;&lt;br /&gt;6. Now we need to install Perl DBD Oracle Connector:&lt;br /&gt;(note: you may need to install other dependencies&lt;br /&gt;to make the configuration work)&lt;br /&gt;&lt;br /&gt;a. Login as root&lt;br /&gt;&lt;br /&gt;b. Create a temporary directory&lt;br /&gt;&lt;br /&gt;# mkdir tempDBD&lt;br /&gt;# cd tempDBD&lt;br /&gt;&lt;br /&gt;c. gunzip/untar the DBD module&lt;br /&gt;&lt;br /&gt;# gunzip DBD-Oracle-1.16.tar.gz&lt;br /&gt;# tar -xvf DBD-Oracle-1.16.tar&lt;br /&gt;# cd DBD-Oracle-1.16&lt;br /&gt;&lt;br /&gt;d. Make/Install DBD&lt;br /&gt;&lt;br /&gt;# perl Makefile.PL&lt;br /&gt;# make&lt;br /&gt;# make install&lt;br /&gt;&lt;br /&gt;e. Remove temporary DBD directory and files&lt;br /&gt;&lt;br /&gt;# cd ../..&lt;br /&gt;# rm -rf tempDBD&lt;br /&gt;&lt;br /&gt;7. To test if it is working run the following:&lt;br /&gt;&lt;br /&gt;Make a pl file containig the line below&lt;br /&gt;(replace the actual user and password).&lt;br /&gt;&lt;br /&gt;use strict;&lt;br /&gt;use DBI;&lt;br /&gt;&lt;br /&gt;my $dbh = DBI-&gt;connect( 'dbi:Oracle:SERVER1',&lt;br /&gt;'username',&lt;br /&gt;'password',&lt;br /&gt;{&lt;br /&gt;RaiseError =&gt; 1,&lt;br /&gt;AutoCommit =&gt; 0&lt;br /&gt;}&lt;br /&gt;) || die "Database connection not made: $DBI::errstr";&lt;br /&gt;$dbh-&gt;disconnect();&lt;br /&gt;&lt;br /&gt;8. Or run a direct connection to oracle.&lt;br /&gt;&lt;br /&gt;# sqlplus /@SID&lt;br /&gt;&lt;br /&gt;e.g. sqlplus username@password/SERVER1&lt;br /&gt;&lt;br /&gt;If both connection doesn't have error connecting to Oracle Server, everything goes well.&lt;br /&gt;&lt;br /&gt;__________________________&lt;br /&gt;Download Reference:&lt;br /&gt;&lt;br /&gt;DBI-1.48.tar.gz&lt;br /&gt;http://www.idevelopment.info/data/Oracle/DBA_tips/support_data/DBI_DBD/DBI-1.48.tar.gz&lt;br /&gt;&lt;br /&gt;DBD-Oracle-1.16.tar.gz&lt;br /&gt;http://www.idevelopment.info/data/Oracle/DBA_tips/support_data/DBI_DBD/DBD-Oracle-1.16.tar.gz&lt;br /&gt;&lt;br /&gt;ref: (for installation instruction)&lt;br /&gt;http://www.idevelopment.info/data/Oracle/DBA_tips/Programming/PROGRAMMING_2.shtml&lt;br /&gt;http://search.cpan.org/search?query=DBD::Oracle&lt;br /&gt;&lt;br /&gt;9. Install the radiator rpm package.&lt;br /&gt;&lt;br /&gt;# useradd radiusd&lt;br /&gt;# groupadd radiusd&lt;br /&gt;&lt;br /&gt;# rpm -Uvh Radiator-4.3.1-1.noarch.rpm&lt;br /&gt;&lt;br /&gt;10. Install Radmin a radius web control center.&lt;br /&gt;&lt;br /&gt;(Note : Install first the Apache2 server)&lt;br /&gt;&lt;br /&gt;# tar xzvf Radmin-1.11.tgz&lt;br /&gt;&lt;br /&gt;# cd Radmin-1.11&lt;br /&gt;&lt;br /&gt;# sh installMysql.sh ("for Mysql") or # sh installOracle.sh (for Oracle)&lt;br /&gt;note : you need to edit content of the .sh file based from the&lt;br /&gt;account you have for the database server .e.g username, password, etc.&lt;br /&gt;&lt;br /&gt;# perl install.pl&lt;br /&gt;&lt;br /&gt;11. Edit radmin.cfg located in /etc/radiator&lt;br /&gt;&lt;br /&gt;12. To start it run "/etc/init.d/radiator start"&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/735619702553682490-6340169906591475686?l=linuxnuggetz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxnuggetz.blogspot.com/feeds/6340169906591475686/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linuxnuggetz.blogspot.com/2009/04/radiator-radius-installation-connecting.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/735619702553682490/posts/default/6340169906591475686'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/735619702553682490/posts/default/6340169906591475686'/><link rel='alternate' type='text/html' href='http://linuxnuggetz.blogspot.com/2009/04/radiator-radius-installation-connecting.html' title='Radiator Radius Installation connecting to ORACLE (CentOS)'/><author><name>George Obed</name><uri>http://www.blogger.com/profile/12249902572874631730</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://1.bp.blogspot.com/_TwnL31td0dA/SdGrjLox6XI/AAAAAAAAABQ/v1_ZAL_BIfo/S220/george.jpg'/></author><thr:total>0</thr:total></entry></feed>
