<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;DUcCQns-eSp7ImA9WhRUE0w.&quot;"><id>tag:blogger.com,1999:blog-2868018879484253864</id><updated>2012-01-23T16:41:03.551+05:30</updated><category term="NTFS" /><category term="Zip" /><category term="Ghost" /><category term="HDD" /><category term="SSH" /><category term="Samba" /><category term="Mysql Database" /><category term="TcpDump" /><category term="Linux Security" /><category term="Qmail-HELP" /><category term="Nagios" /><category term="Ext4" /><category term="VLC" /><category term="Tips n tracks" /><category term="VPN" /><category term="Qmail-Queue" /><category term="YUM" /><category term="Oracle Database" /><category term="Scripts" /><category term="Installations in Linux" /><category term="TAR" /><category term="Cron Job" /><category term="VSFTPD" /><category term="VNC" /><category term="Ubuntu" /><category term="Apache" /><category term="Linux DNS" /><category term="Linux Networking" /><category term="RHEL6" /><category term="wget" /><category term="Filesystem" /><category term="Linux Performance n Monitoring" /><title>Linux  4  All</title><subtitle type="html">An informative blog providing all About on Linux.</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://raj-kumar-linux.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://raj-kumar-linux.blogspot.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/2868018879484253864/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>Raj Kumar</name><uri>http://www.blogger.com/profile/10023582091767852021</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_7tOmuXLgjPk/SvufZj5_FjI/AAAAAAAAAFE/MSvjV28ujHc/S220/raj.jpeg" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>164</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/RajLinuxAdministrationredHat" /><feedburner:info uri="rajlinuxadministrationredhat" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>RajLinuxAdministrationredHat</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><entry gd:etag="W/&quot;CUEASHs_fip7ImA9WhRXFU4.&quot;"><id>tag:blogger.com,1999:blog-2868018879484253864.post-54940005234600738</id><published>2011-12-22T11:30:00.002+05:30</published><updated>2011-12-22T11:30:49.546+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-22T11:30:49.546+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Mysql Database" /><title>How to Check and Repair MySQL Tables Using Mysqlcheck</title><link rel="replies" type="application/atom+xml" href="http://raj-kumar-linux.blogspot.com/feeds/54940005234600738/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://raj-kumar-linux.blogspot.com/2011/12/how-to-check-and-repair-mysql-tables.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2868018879484253864/posts/default/54940005234600738?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2868018879484253864/posts/default/54940005234600738?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/RajLinuxAdministrationredHat/~3/D7XjVQn8TcI/how-to-check-and-repair-mysql-tables.html" title="How to Check and Repair MySQL Tables Using Mysqlcheck" /><author><name>Raj Kumar</name><uri>http://www.blogger.com/profile/10023582091767852021</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_7tOmuXLgjPk/SvufZj5_FjI/AAAAAAAAAFE/MSvjV28ujHc/S220/raj.jpeg" /></author><thr:total>0</thr:total><content type="html">

When your mysql table gets corrupted, use mysqlcheck command to repair it.Mysqlcheck command checks, repairs, optimizes and analyzes the tables. &amp;lt;!--[if !supportLineBreakNewLine]--&amp;gt; &amp;lt;!--[endif]--&amp;gt;1. Check a Specific Table in a DatabaseIf your application gives an error message saying that a specific table is corrupted, execute the mysqlcheck command to check that one table.The following example
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/VtfZz3bKowd_RvLeDfz4g8PioDo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/VtfZz3bKowd_RvLeDfz4g8PioDo/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/VtfZz3bKowd_RvLeDfz4g8PioDo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/VtfZz3bKowd_RvLeDfz4g8PioDo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/RajLinuxAdministrationredHat/~4/D7XjVQn8TcI" height="1" width="1"/&gt;</content><feedburner:origLink>http://raj-kumar-linux.blogspot.com/2011/12/how-to-check-and-repair-mysql-tables.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEAERHo_eSp7ImA9WhRSE0k.&quot;"><id>tag:blogger.com,1999:blog-2868018879484253864.post-3109233735641327352</id><published>2011-11-15T13:08:00.000+05:30</published><updated>2011-11-15T13:08:25.441+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-15T13:08:25.441+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="HDD" /><title>Hard Disk status/Tuning on Linux</title><link rel="replies" type="application/atom+xml" href="http://raj-kumar-linux.blogspot.com/feeds/3109233735641327352/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://raj-kumar-linux.blogspot.com/2011/11/hard-disk-statustuning-on-linux.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2868018879484253864/posts/default/3109233735641327352?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2868018879484253864/posts/default/3109233735641327352?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/RajLinuxAdministrationredHat/~3/RekO4KG0qa0/hard-disk-statustuning-on-linux.html" title="Hard Disk status/Tuning on Linux" /><author><name>Raj Kumar</name><uri>http://www.blogger.com/profile/10023582091767852021</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_7tOmuXLgjPk/SvufZj5_FjI/AAAAAAAAAFE/MSvjV28ujHc/S220/raj.jpeg" /></author><thr:total>0</thr:total><content type="html">
hdparm - linux disk tuningHold on. Stop. Right there. That's it. Before you go running off and playing you need to understand what you are playing with and what you are trying to achieve. Data security? Blistering Performance? Power Saving? Reduced Nose? hdparm is a powerfull toy and can shoot you in the foot. RTFM: man hdparm and man hdparm.conf. If the fine manual hasn't warned you about 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/kuaNfteqCR_LUQbNItCGVfZoq5I/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/kuaNfteqCR_LUQbNItCGVfZoq5I/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/kuaNfteqCR_LUQbNItCGVfZoq5I/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/kuaNfteqCR_LUQbNItCGVfZoq5I/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/RajLinuxAdministrationredHat/~4/RekO4KG0qa0" height="1" width="1"/&gt;</content><feedburner:origLink>http://raj-kumar-linux.blogspot.com/2011/11/hard-disk-statustuning-on-linux.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUICRX89cCp7ImA9WhZVE0U.&quot;"><id>tag:blogger.com,1999:blog-2868018879484253864.post-1515146735347132990</id><published>2011-05-26T09:49:00.000+05:30</published><updated>2011-05-26T09:49:24.168+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-26T09:49:24.168+05:30</app:edited><title>how to create binary from shell script...</title><link rel="replies" type="application/atom+xml" href="http://raj-kumar-linux.blogspot.com/feeds/1515146735347132990/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://raj-kumar-linux.blogspot.com/2011/05/how-to-create-binary-from-shell-script.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2868018879484253864/posts/default/1515146735347132990?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2868018879484253864/posts/default/1515146735347132990?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/RajLinuxAdministrationredHat/~3/HRyphBxESaY/how-to-create-binary-from-shell-script.html" title="how to create binary from shell script..." /><author><name>Raj Kumar</name><uri>http://www.blogger.com/profile/10023582091767852021</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_7tOmuXLgjPk/SvufZj5_FjI/AAAAAAAAAFE/MSvjV28ujHc/S220/raj.jpeg" /></author><thr:total>1</thr:total><content type="html">



step 1. download http://www.datsi.fi.upm.es/~frosal/sources/shc-3.8.7.tgz
step 2. extract  &amp;amp; install it.
step 3. now execute ./shc -f 
step 4. now you will have binary file.


Thanks
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/HLe696a-KDXqmVezRJee58kusI0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/HLe696a-KDXqmVezRJee58kusI0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/HLe696a-KDXqmVezRJee58kusI0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/HLe696a-KDXqmVezRJee58kusI0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/RajLinuxAdministrationredHat/~4/HRyphBxESaY" height="1" width="1"/&gt;</content><feedburner:origLink>http://raj-kumar-linux.blogspot.com/2011/05/how-to-create-binary-from-shell-script.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkQFSHs7fyp7ImA9WhZXFUo.&quot;"><id>tag:blogger.com,1999:blog-2868018879484253864.post-6623768737579983797</id><published>2011-05-05T11:15:00.002+05:30</published><updated>2011-05-05T11:15:19.507+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-05T11:15:19.507+05:30</app:edited><title>If Local user not able to Login into Linux SYSTEM..</title><link rel="replies" type="application/atom+xml" href="http://raj-kumar-linux.blogspot.com/feeds/6623768737579983797/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://raj-kumar-linux.blogspot.com/2011/05/if-local-user-not-able-to-login-into.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2868018879484253864/posts/default/6623768737579983797?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2868018879484253864/posts/default/6623768737579983797?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/RajLinuxAdministrationredHat/~3/o-AFrgT0oKw/if-local-user-not-able-to-login-into.html" title="If Local user not able to Login into Linux SYSTEM.." /><author><name>Raj Kumar</name><uri>http://www.blogger.com/profile/10023582091767852021</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_7tOmuXLgjPk/SvufZj5_FjI/AAAAAAAAAFE/MSvjV28ujHc/S220/raj.jpeg" /></author><thr:total>0</thr:total><content type="html">You have configured maximum logins attemps and account locking 

pam_tally[31428]: user dpser12 (1241) tally 21,


Try with:

pam_tally --user dpser12 --reset=0

The sintax is:

pam_tally [--file rooted-filename] [--user username] [--reset[=n]]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/G82g1P7ID_jR-Ph89tVwWIZ_maQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/G82g1P7ID_jR-Ph89tVwWIZ_maQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/G82g1P7ID_jR-Ph89tVwWIZ_maQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/G82g1P7ID_jR-Ph89tVwWIZ_maQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/RajLinuxAdministrationredHat/~4/o-AFrgT0oKw" height="1" width="1"/&gt;</content><feedburner:origLink>http://raj-kumar-linux.blogspot.com/2011/05/if-local-user-not-able-to-login-into.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0YAQ3g5eCp7ImA9Wx9aGEw.&quot;"><id>tag:blogger.com,1999:blog-2868018879484253864.post-6038367581029101346</id><published>2011-03-11T09:15:00.000+05:30</published><updated>2011-03-11T09:15:42.620+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-11T09:15:42.620+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Mysql Database" /><title>Trigger mysql example. Introduction on Mysql trigger</title><link rel="replies" type="application/atom+xml" href="http://raj-kumar-linux.blogspot.com/feeds/6038367581029101346/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://raj-kumar-linux.blogspot.com/2011/03/trigger-mysql-example-introduction-on.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2868018879484253864/posts/default/6038367581029101346?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2868018879484253864/posts/default/6038367581029101346?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/RajLinuxAdministrationredHat/~3/eo9Kc7g_x_s/trigger-mysql-example-introduction-on.html" title="Trigger mysql example. Introduction on Mysql trigger" /><author><name>Raj Kumar</name><uri>http://www.blogger.com/profile/10023582091767852021</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_7tOmuXLgjPk/SvufZj5_FjI/AAAAAAAAAFE/MSvjV28ujHc/S220/raj.jpeg" /></author><thr:total>0</thr:total><content type="html">How to do the data validation directly from MySQL? Trigger mysql example.

Many times I wanted to do data validation directly when inserting into a MySQL table and leave the source code of my application nice, clean and very readable, but support for that was only in Oracle and other SQL servers but not in MySQL.

Beginning with version 5 of MySQL the development team has added “triggering” to 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/W82lp07zxI8YNH3EqmiuNPnWImQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/W82lp07zxI8YNH3EqmiuNPnWImQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/W82lp07zxI8YNH3EqmiuNPnWImQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/W82lp07zxI8YNH3EqmiuNPnWImQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/RajLinuxAdministrationredHat/~4/eo9Kc7g_x_s" height="1" width="1"/&gt;</content><feedburner:origLink>http://raj-kumar-linux.blogspot.com/2011/03/trigger-mysql-example-introduction-on.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUIDSHk6cCp7ImA9Wx9aGEw.&quot;"><id>tag:blogger.com,1999:blog-2868018879484253864.post-4581932351804943581</id><published>2011-03-11T08:49:00.000+05:30</published><updated>2011-03-11T08:49:39.718+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-11T08:49:39.718+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Mysql Database" /><title>Mysqladmin - Client for Administering a MySQL Server</title><link rel="replies" type="application/atom+xml" href="http://raj-kumar-linux.blogspot.com/feeds/4581932351804943581/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://raj-kumar-linux.blogspot.com/2011/03/mysqladmin-client-for-administering.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2868018879484253864/posts/default/4581932351804943581?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2868018879484253864/posts/default/4581932351804943581?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/RajLinuxAdministrationredHat/~3/pXheDW5kh_c/mysqladmin-client-for-administering.html" title="Mysqladmin - Client for Administering a MySQL Server" /><author><name>Raj Kumar</name><uri>http://www.blogger.com/profile/10023582091767852021</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_7tOmuXLgjPk/SvufZj5_FjI/AAAAAAAAAFE/MSvjV28ujHc/S220/raj.jpeg" /></author><thr:total>0</thr:total><content type="html">1. How to change the root password for Mysql? 

mysqladmin -u root -ptmppassword password 'newpassword'

# mysql -u root -pnewpassword

Welcome to the MySQL monitor. Commands end with ; or \g.

Your MySQL connection id is 8

Server version: 5.1.25-rc-community MySQL Community Server (GPL)

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql&amp;gt;

2. How to check whether the MySQL 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/jsyfKX3DYfJk0t85t7zV50DAspU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/jsyfKX3DYfJk0t85t7zV50DAspU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/jsyfKX3DYfJk0t85t7zV50DAspU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/jsyfKX3DYfJk0t85t7zV50DAspU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/RajLinuxAdministrationredHat/~4/pXheDW5kh_c" height="1" width="1"/&gt;</content><feedburner:origLink>http://raj-kumar-linux.blogspot.com/2011/03/mysqladmin-client-for-administering.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0cHQ3k8cCp7ImA9Wx9aEEg.&quot;"><id>tag:blogger.com,1999:blog-2868018879484253864.post-6985762724571569709</id><published>2011-03-02T14:07:00.000+05:30</published><updated>2011-03-02T14:07:12.778+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-02T14:07:12.778+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Linux Security" /><title>simple load balancing with iptables</title><link rel="replies" type="application/atom+xml" href="http://raj-kumar-linux.blogspot.com/feeds/6985762724571569709/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://raj-kumar-linux.blogspot.com/2011/03/simple-load-balancing-with-iptables.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2868018879484253864/posts/default/6985762724571569709?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2868018879484253864/posts/default/6985762724571569709?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/RajLinuxAdministrationredHat/~3/YeaoWufuzoE/simple-load-balancing-with-iptables.html" title="simple load balancing with iptables" /><author><name>Raj Kumar</name><uri>http://www.blogger.com/profile/10023582091767852021</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_7tOmuXLgjPk/SvufZj5_FjI/AAAAAAAAAFE/MSvjV28ujHc/S220/raj.jpeg" /></author><thr:total>1</thr:total><content type="html">   
.fullpost { display: inline; }
 iptables has an extension called clusterip. Clusterip extension uses multicast arp feature to achieve load balancing. Let's say we have two web servers called web1(192.168.0.1) and web2(192.168.0.2) and a virtual ip (192.168.0.10) which will be accepting requests for these machines.

virtual ip:192.168.0.10
web1:192.168.0.1
web2:192.168.0.2

Virtual ip will 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/G226tHEdvbgVQNvSKsk8CqCfGGs/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/G226tHEdvbgVQNvSKsk8CqCfGGs/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/G226tHEdvbgVQNvSKsk8CqCfGGs/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/G226tHEdvbgVQNvSKsk8CqCfGGs/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/RajLinuxAdministrationredHat/~4/YeaoWufuzoE" height="1" width="1"/&gt;</content><feedburner:origLink>http://raj-kumar-linux.blogspot.com/2011/03/simple-load-balancing-with-iptables.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEUDQ38zfCp7ImA9Wx9aEEg.&quot;"><id>tag:blogger.com,1999:blog-2868018879484253864.post-703761125393254655</id><published>2011-03-02T13:21:00.000+05:30</published><updated>2011-03-02T13:21:12.184+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-02T13:21:12.184+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Mysql Database" /><title>Shell script to backup a Mysql database and save it on a remote server using Ftp</title><link rel="replies" type="application/atom+xml" href="http://raj-kumar-linux.blogspot.com/feeds/703761125393254655/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://raj-kumar-linux.blogspot.com/2011/03/shell-script-to-backup-mysql-database.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2868018879484253864/posts/default/703761125393254655?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2868018879484253864/posts/default/703761125393254655?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/RajLinuxAdministrationredHat/~3/35WduR0Bxj0/shell-script-to-backup-mysql-database.html" title="Shell script to backup a Mysql database and save it on a remote server using Ftp" /><author><name>Raj Kumar</name><uri>http://www.blogger.com/profile/10023582091767852021</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_7tOmuXLgjPk/SvufZj5_FjI/AAAAAAAAAFE/MSvjV28ujHc/S220/raj.jpeg" /></author><thr:total>0</thr:total><content type="html">               The following shell script will dump the mysql database and will save the .sql file on a remote location using Ftp. This script will create a backup file including the current date so you can have multiple copies of the backups of the same database under one directory.
Create a file called mysqlbkup.sh
 # vi /root/mysqlbkup.shand paste the following code in the file as it is.
 ####
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/3T5eF3SC9rb_2i7poR8pJnVe6rk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/3T5eF3SC9rb_2i7poR8pJnVe6rk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/3T5eF3SC9rb_2i7poR8pJnVe6rk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/3T5eF3SC9rb_2i7poR8pJnVe6rk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/RajLinuxAdministrationredHat/~4/35WduR0Bxj0" height="1" width="1"/&gt;</content><feedburner:origLink>http://raj-kumar-linux.blogspot.com/2011/03/shell-script-to-backup-mysql-database.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEYBRHozcCp7ImA9Wx9aEEg.&quot;"><id>tag:blogger.com,1999:blog-2868018879484253864.post-4940185949170868172</id><published>2011-03-02T13:19:00.002+05:30</published><updated>2011-03-02T13:19:15.488+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-02T13:19:15.488+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Mysql Database" /><title>How to defragment or optimize a database in Mysql?</title><link rel="replies" type="application/atom+xml" href="http://raj-kumar-linux.blogspot.com/feeds/4940185949170868172/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://raj-kumar-linux.blogspot.com/2011/03/how-to-defragment-or-optimize-database.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2868018879484253864/posts/default/4940185949170868172?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2868018879484253864/posts/default/4940185949170868172?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/RajLinuxAdministrationredHat/~3/QCDjm4_colA/how-to-defragment-or-optimize-database.html" title="How to defragment or optimize a database in Mysql?" /><author><name>Raj Kumar</name><uri>http://www.blogger.com/profile/10023582091767852021</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_7tOmuXLgjPk/SvufZj5_FjI/AAAAAAAAAFE/MSvjV28ujHc/S220/raj.jpeg" /></author><thr:total>0</thr:total><content type="html">                     In case you remove a lot of data from the tables OR change the database structure, a de-fragmentation/optimizing of the database is necessary to avoid performance loss, especially while running queries. The above changes results in a performance loss, so make sure you run the “optimizer” on the database.
SSH to your server and execute:
 mysqlcheck -o where, -o stands for 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/P2aRSPcPdjnxjbWVuEy5GdXjJD4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/P2aRSPcPdjnxjbWVuEy5GdXjJD4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/P2aRSPcPdjnxjbWVuEy5GdXjJD4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/P2aRSPcPdjnxjbWVuEy5GdXjJD4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/RajLinuxAdministrationredHat/~4/QCDjm4_colA" height="1" width="1"/&gt;</content><feedburner:origLink>http://raj-kumar-linux.blogspot.com/2011/03/how-to-defragment-or-optimize-database.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C04GQH09cCp7ImA9Wx9aEEg.&quot;"><id>tag:blogger.com,1999:blog-2868018879484253864.post-5501922974108737213</id><published>2011-03-02T13:15:00.000+05:30</published><updated>2011-03-02T13:15:21.368+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-02T13:15:21.368+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Mysql Database" /><title>Enable MySQL General Query And Slow Query Log</title><link rel="replies" type="application/atom+xml" href="http://raj-kumar-linux.blogspot.com/feeds/5501922974108737213/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://raj-kumar-linux.blogspot.com/2011/03/enable-mysql-general-query-and-slow.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2868018879484253864/posts/default/5501922974108737213?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2868018879484253864/posts/default/5501922974108737213?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/RajLinuxAdministrationredHat/~3/24gco7xLJ9I/enable-mysql-general-query-and-slow.html" title="Enable MySQL General Query And Slow Query Log" /><author><name>Raj Kumar</name><uri>http://www.blogger.com/profile/10023582091767852021</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_7tOmuXLgjPk/SvufZj5_FjI/AAAAAAAAAFE/MSvjV28ujHc/S220/raj.jpeg" /></author><thr:total>0</thr:total><content type="html">                
   MySQL has a query logging feature. In order to use it you have to first enable it.
Enabling the general query logStep 1: Set your log file in /etc/my.cnf

vi /etc/my.cnfIn the [mysqld] section specify the general log file name:

log=/var/log/mysqld.general.logStep 2: Create the file and make sure it is owned by the system user mysql

touch /var/log/mysqld.general.log
chown 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Z3jlVA5bCe15XdFJJH5N4sGTpMQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Z3jlVA5bCe15XdFJJH5N4sGTpMQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Z3jlVA5bCe15XdFJJH5N4sGTpMQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Z3jlVA5bCe15XdFJJH5N4sGTpMQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/RajLinuxAdministrationredHat/~4/24gco7xLJ9I" height="1" width="1"/&gt;</content><feedburner:origLink>http://raj-kumar-linux.blogspot.com/2011/03/enable-mysql-general-query-and-slow.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0ENSHYyfSp7ImA9Wx9aEEg.&quot;"><id>tag:blogger.com,1999:blog-2868018879484253864.post-2667962733346664417</id><published>2011-03-02T13:11:00.002+05:30</published><updated>2011-03-02T13:11:39.895+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-02T13:11:39.895+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Mysql Database" /><title>How to enable ‘General Query Log’ in Mysql?</title><link rel="replies" type="application/atom+xml" href="http://raj-kumar-linux.blogspot.com/feeds/2667962733346664417/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://raj-kumar-linux.blogspot.com/2011/03/how-to-enable-general-query-log-in.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2868018879484253864/posts/default/2667962733346664417?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2868018879484253864/posts/default/2667962733346664417?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/RajLinuxAdministrationredHat/~3/KZYJYQnycSw/how-to-enable-general-query-log-in.html" title="How to enable ‘General Query Log’ in Mysql?" /><author><name>Raj Kumar</name><uri>http://www.blogger.com/profile/10023582091767852021</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_7tOmuXLgjPk/SvufZj5_FjI/AAAAAAAAAFE/MSvjV28ujHc/S220/raj.jpeg" /></author><thr:total>0</thr:total><content type="html">General Query Log is used to keep track of mysql status i.e. it writes the information when a client connects/disconnects OR a query is executed. It is useful when the number of people managing the database is high. In order to enable ‘General Query Log’,
edit the Mysql configuration file
vi /etc/my.cnfenable the log under the ‘mysqld’ section
log=/var/log/mysql.general.logSave the file. Now 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/sqA-yI-jdetkenqZQuriANoyXSI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/sqA-yI-jdetkenqZQuriANoyXSI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/sqA-yI-jdetkenqZQuriANoyXSI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/sqA-yI-jdetkenqZQuriANoyXSI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/RajLinuxAdministrationredHat/~4/KZYJYQnycSw" height="1" width="1"/&gt;</content><feedburner:origLink>http://raj-kumar-linux.blogspot.com/2011/03/how-to-enable-general-query-log-in.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0YAQ3s9eip7ImA9Wx9UF0o.&quot;"><id>tag:blogger.com,1999:blog-2868018879484253864.post-6888095185182704542</id><published>2011-02-15T17:29:00.000+05:30</published><updated>2011-02-15T17:29:02.562+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-15T17:29:02.562+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Linux Networking" /><title>UNIX / Linux: 10 Netstat Command Examples</title><link rel="replies" type="application/atom+xml" href="http://raj-kumar-linux.blogspot.com/feeds/6888095185182704542/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://raj-kumar-linux.blogspot.com/2011/02/unix-linux-10-netstat-command-examples.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2868018879484253864/posts/default/6888095185182704542?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2868018879484253864/posts/default/6888095185182704542?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/RajLinuxAdministrationredHat/~3/uVMhJy4PgVo/unix-linux-10-netstat-command-examples.html" title="UNIX / Linux: 10 Netstat Command Examples" /><author><name>Raj Kumar</name><uri>http://www.blogger.com/profile/10023582091767852021</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_7tOmuXLgjPk/SvufZj5_FjI/AAAAAAAAAFE/MSvjV28ujHc/S220/raj.jpeg" /></author><thr:total>1</thr:total><content type="html">Netstat command displays various network related information such as network connections, routing tables, interface statistics, masquerade connections, multicast memberships etc.,
In this article, let us review 10 practical unix netstat command examples.

1. List All Ports (both listening and non listening ports)List all ports using netstat -a# netstat -a | more
Active Internet connections (
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/RP6h4wNeROm_c6QjWWSjELzs5wQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/RP6h4wNeROm_c6QjWWSjELzs5wQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/RP6h4wNeROm_c6QjWWSjELzs5wQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/RP6h4wNeROm_c6QjWWSjELzs5wQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/RajLinuxAdministrationredHat/~4/uVMhJy4PgVo" height="1" width="1"/&gt;</content><feedburner:origLink>http://raj-kumar-linux.blogspot.com/2011/02/unix-linux-10-netstat-command-examples.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkMASHk8fip7ImA9Wx9UF0g.&quot;"><id>tag:blogger.com,1999:blog-2868018879484253864.post-4183588179224928007</id><published>2011-02-15T13:57:00.000+05:30</published><updated>2011-02-15T13:57:29.776+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-15T13:57:29.776+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="TcpDump" /><title>TCPDUMP Command Examples</title><link rel="replies" type="application/atom+xml" href="http://raj-kumar-linux.blogspot.com/feeds/4183588179224928007/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://raj-kumar-linux.blogspot.com/2011/02/tcpdump-command-examples.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2868018879484253864/posts/default/4183588179224928007?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2868018879484253864/posts/default/4183588179224928007?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/RajLinuxAdministrationredHat/~3/JMvAeU6qhO0/tcpdump-command-examples.html" title="TCPDUMP Command Examples" /><author><name>Raj Kumar</name><uri>http://www.blogger.com/profile/10023582091767852021</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_7tOmuXLgjPk/SvufZj5_FjI/AAAAAAAAAFE/MSvjV28ujHc/S220/raj.jpeg" /></author><thr:total>0</thr:total><content type="html">
tcpdump command is also called as packet analyzer.
tcpdump command will work on most flavors of unix operating system. tcpdump allows us to save the packets that are captured, so that we can use it for future analysis. The saved file can be viewed by the same tcpdump command. We can also use open source software like wireshark to read the tcpdump pcap files.
In this tcpdump tutorial, let us 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/TRuPArhzGLQ9VcaPxgsHVCxu9tQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/TRuPArhzGLQ9VcaPxgsHVCxu9tQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/TRuPArhzGLQ9VcaPxgsHVCxu9tQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/TRuPArhzGLQ9VcaPxgsHVCxu9tQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/RajLinuxAdministrationredHat/~4/JMvAeU6qhO0" height="1" width="1"/&gt;</content><feedburner:origLink>http://raj-kumar-linux.blogspot.com/2011/02/tcpdump-command-examples.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CU4NQX4yfSp7ImA9Wx9VFEs.&quot;"><id>tag:blogger.com,1999:blog-2868018879484253864.post-6057149502558615430</id><published>2011-01-31T14:23:00.000+05:30</published><updated>2011-01-31T14:23:10.095+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-01-31T14:23:10.095+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Nagios" /><title>Nagios Client Install on Linux CentOS</title><link rel="replies" type="application/atom+xml" href="http://raj-kumar-linux.blogspot.com/feeds/6057149502558615430/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://raj-kumar-linux.blogspot.com/2011/01/nagios-client-install-on-linux-centos.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2868018879484253864/posts/default/6057149502558615430?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2868018879484253864/posts/default/6057149502558615430?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/RajLinuxAdministrationredHat/~3/jtsvKre0fG0/nagios-client-install-on-linux-centos.html" title="Nagios Client Install on Linux CentOS" /><author><name>Raj Kumar</name><uri>http://www.blogger.com/profile/10023582091767852021</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_7tOmuXLgjPk/SvufZj5_FjI/AAAAAAAAAFE/MSvjV28ujHc/S220/raj.jpeg" /></author><thr:total>0</thr:total><content type="html">&amp;lt;!--[if !mso]&amp;gt; 
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
 &amp;lt;![endif]--&amp;gt;&amp;lt;!--[if gte mso 9]&amp;gt;     Normal   0               false   false   false      EN-US   X-NONE   X-NONE                                                     MicrosoftInternetExplorer4
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/9LVHE4JFLISzBKYxC9eWoUzyT2U/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/9LVHE4JFLISzBKYxC9eWoUzyT2U/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/9LVHE4JFLISzBKYxC9eWoUzyT2U/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/9LVHE4JFLISzBKYxC9eWoUzyT2U/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/RajLinuxAdministrationredHat/~4/jtsvKre0fG0" height="1" width="1"/&gt;</content><feedburner:origLink>http://raj-kumar-linux.blogspot.com/2011/01/nagios-client-install-on-linux-centos.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkEMRX4yeip7ImA9Wx9WGEo.&quot;"><id>tag:blogger.com,1999:blog-2868018879484253864.post-4947410324264211999</id><published>2011-01-24T18:41:00.000+05:30</published><updated>2011-01-24T18:41:24.092+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-01-24T18:41:24.092+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Linux Networking" /><title>How to update Gateway, network settings on RHEL</title><link rel="replies" type="application/atom+xml" href="http://raj-kumar-linux.blogspot.com/feeds/4947410324264211999/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://raj-kumar-linux.blogspot.com/2011/01/how-to-update-gateway-network-settings.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2868018879484253864/posts/default/4947410324264211999?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2868018879484253864/posts/default/4947410324264211999?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/RajLinuxAdministrationredHat/~3/bBLxbaQmEhk/how-to-update-gateway-network-settings.html" title="How to update Gateway, network settings on RHEL" /><author><name>Raj Kumar</name><uri>http://www.blogger.com/profile/10023582091767852021</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_7tOmuXLgjPk/SvufZj5_FjI/AAAAAAAAAFE/MSvjV28ujHc/S220/raj.jpeg" /></author><thr:total>1</thr:total><content type="html">  Changing Your IP Address If you wanted, you could give this eth0 interface an IP address using the ifconfig command. 
[root@bigboy tmp]# ifconfig eth0 10.0.0.1 netmask 255.255.255.0 upThe "up" at the end of the command activates the interface. To make  this permanent each time you boot up you'll have to add this command in  your /etc/rc.local file which is run at the end of every reboot.
How to
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/tdKU5ROX3KZ10oEXzH_O0yGGEkk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/tdKU5ROX3KZ10oEXzH_O0yGGEkk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/tdKU5ROX3KZ10oEXzH_O0yGGEkk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/tdKU5ROX3KZ10oEXzH_O0yGGEkk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/RajLinuxAdministrationredHat/~4/bBLxbaQmEhk" height="1" width="1"/&gt;</content><feedburner:origLink>http://raj-kumar-linux.blogspot.com/2011/01/how-to-update-gateway-network-settings.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEUHQnwzfyp7ImA9Wx9XFUU.&quot;"><id>tag:blogger.com,1999:blog-2868018879484253864.post-4685373886920592297</id><published>2011-01-09T19:38:00.003+05:30</published><updated>2011-01-09T19:40:33.287+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-01-09T19:40:33.287+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu" /><title>How to uninstall GRUB ie Installed by Ubuntu Installer</title><link rel="replies" type="application/atom+xml" href="http://raj-kumar-linux.blogspot.com/feeds/4685373886920592297/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://raj-kumar-linux.blogspot.com/2011/01/how-to-uninstall-grub-ie-installed-by.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2868018879484253864/posts/default/4685373886920592297?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2868018879484253864/posts/default/4685373886920592297?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/RajLinuxAdministrationredHat/~3/maxqS9_gHz8/how-to-uninstall-grub-ie-installed-by.html" title="How to uninstall GRUB ie Installed by Ubuntu Installer" /><author><name>Raj Kumar</name><uri>http://www.blogger.com/profile/10023582091767852021</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_7tOmuXLgjPk/SvufZj5_FjI/AAAAAAAAAFE/MSvjV28ujHc/S220/raj.jpeg" /></author><thr:total>1</thr:total><content type="html">You can overwrite MBR with standard dd command. You can also use old good MS-DOS fdisk command to overwrite MBR. 
Using MS-DOS/Windows 9x boot diskIn order to remove the GRUB bootloader from a Linux and Windows XP machine, boot with a Windows 9x startup disk or CD and execute the MS-DOS command:
fdisk /mbr
Using Windows XP boot diskBoot computer using Windows XP (Windows 2000) setup disc / CD / 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ZqdW0Au_oZ36bqTTWrR9cUXOTKo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ZqdW0Au_oZ36bqTTWrR9cUXOTKo/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ZqdW0Au_oZ36bqTTWrR9cUXOTKo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ZqdW0Au_oZ36bqTTWrR9cUXOTKo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/RajLinuxAdministrationredHat/~4/maxqS9_gHz8" height="1" width="1"/&gt;</content><feedburner:origLink>http://raj-kumar-linux.blogspot.com/2011/01/how-to-uninstall-grub-ie-installed-by.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUcGQHs6eyp7ImA9Wx9XFE0.&quot;"><id>tag:blogger.com,1999:blog-2868018879484253864.post-2511770594563267457</id><published>2011-01-07T17:53:00.000+05:30</published><updated>2011-01-07T17:53:41.513+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-01-07T17:53:41.513+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="NTFS" /><title>NTFS Support on RHEL5</title><link rel="replies" type="application/atom+xml" href="http://raj-kumar-linux.blogspot.com/feeds/2511770594563267457/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://raj-kumar-linux.blogspot.com/2011/01/ntfs-support-on-rhel5.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2868018879484253864/posts/default/2511770594563267457?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2868018879484253864/posts/default/2511770594563267457?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/RajLinuxAdministrationredHat/~3/_0HhOUUirHE/ntfs-support-on-rhel5.html" title="NTFS Support on RHEL5" /><author><name>Raj Kumar</name><uri>http://www.blogger.com/profile/10023582091767852021</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_7tOmuXLgjPk/SvufZj5_FjI/AAAAAAAAAFE/MSvjV28ujHc/S220/raj.jpeg" /></author><thr:total>0</thr:total><content type="html">RHEL doesn’t come with NTFS support by deffault.
1. Download fuse &amp;amp; ntfs-3g components:
fuse: get it from http://www.atrpms.net/dist/el5/fuse/
ntfs-3g: get it from http://dag.wieers.com/rpm/packages/fuse-ntfs-3g/
2. Install the RPM’s
3. Once you’re done with it mount the drive
#mount.ntfs-3g /dev/sda1 /media/ntfsmount
There you go!
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/M2jkC6fFYzt3P12OwjWe_KM-EfM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/M2jkC6fFYzt3P12OwjWe_KM-EfM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/M2jkC6fFYzt3P12OwjWe_KM-EfM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/M2jkC6fFYzt3P12OwjWe_KM-EfM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/RajLinuxAdministrationredHat/~4/_0HhOUUirHE" height="1" width="1"/&gt;</content><feedburner:origLink>http://raj-kumar-linux.blogspot.com/2011/01/ntfs-support-on-rhel5.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0QHQX05fCp7ImA9Wx9XE00.&quot;"><id>tag:blogger.com,1999:blog-2868018879484253864.post-2177555473998294658</id><published>2011-01-06T14:45:00.002+05:30</published><updated>2011-01-06T14:45:30.324+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-01-06T14:45:30.324+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Tips n tracks" /><title>NIS on RHEL5</title><link rel="replies" type="application/atom+xml" href="http://raj-kumar-linux.blogspot.com/feeds/2177555473998294658/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://raj-kumar-linux.blogspot.com/2011/01/nis-on-rhel5.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2868018879484253864/posts/default/2177555473998294658?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2868018879484253864/posts/default/2177555473998294658?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/RajLinuxAdministrationredHat/~3/HO6GtU07Ez0/nis-on-rhel5.html" title="NIS on RHEL5" /><author><name>Raj Kumar</name><uri>http://www.blogger.com/profile/10023582091767852021</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_7tOmuXLgjPk/SvufZj5_FjI/AAAAAAAAAFE/MSvjV28ujHc/S220/raj.jpeg" /></author><thr:total>1</thr:total><content type="html">NETWORK INFORMATION SERVICE
NIS  is centralized authentication software in Linux / Unix / Solaris  platform. In a network, there will be a NIS server, one or more NIS  slaves and lots of NIS Client machines. This document explains how to  install and configue NIS Master, Slave and Client Machines in Redhat  enterprise linux rhel5. It can also be applicable on centos, fedora and  other variants.

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/0RpobK6M4xbLzNRs0l4J9YEZZTI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/0RpobK6M4xbLzNRs0l4J9YEZZTI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/0RpobK6M4xbLzNRs0l4J9YEZZTI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/0RpobK6M4xbLzNRs0l4J9YEZZTI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/RajLinuxAdministrationredHat/~4/HO6GtU07Ez0" height="1" width="1"/&gt;</content><feedburner:origLink>http://raj-kumar-linux.blogspot.com/2011/01/nis-on-rhel5.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0UBQ3gzeSp7ImA9Wx9XE00.&quot;"><id>tag:blogger.com,1999:blog-2868018879484253864.post-1102497210361053924</id><published>2011-01-06T14:44:00.002+05:30</published><updated>2011-01-06T14:44:12.681+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-01-06T14:44:12.681+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Linux Performance n Monitoring" /><title>HA on RHEL5</title><link rel="replies" type="application/atom+xml" href="http://raj-kumar-linux.blogspot.com/feeds/1102497210361053924/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://raj-kumar-linux.blogspot.com/2011/01/ha-on-rhel5.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2868018879484253864/posts/default/1102497210361053924?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2868018879484253864/posts/default/1102497210361053924?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/RajLinuxAdministrationredHat/~3/nakg4SCMFRA/ha-on-rhel5.html" title="HA on RHEL5" /><author><name>Raj Kumar</name><uri>http://www.blogger.com/profile/10023582091767852021</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_7tOmuXLgjPk/SvufZj5_FjI/AAAAAAAAAFE/MSvjV28ujHc/S220/raj.jpeg" /></author><thr:total>1</thr:total><content type="html">Heartbeat is a High Availabily cluster software in linux platform. Here we will discuss how to
install and configure heartbeat-3.0.3 in redhat enterprise linux. In this example we will configue
a webserver using apache and we will cluster it. It can be implemented on centos, fedora and other redhat flavors.

Heartbeat Version is : heartbeat-3.0.3

Requirements:

2 linux nodes, rhel5.4.
Node1: 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/DIYoVtJFHd1dc9iVsZyKbmknSNk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/DIYoVtJFHd1dc9iVsZyKbmknSNk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/DIYoVtJFHd1dc9iVsZyKbmknSNk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/DIYoVtJFHd1dc9iVsZyKbmknSNk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/RajLinuxAdministrationredHat/~4/nakg4SCMFRA" height="1" width="1"/&gt;</content><feedburner:origLink>http://raj-kumar-linux.blogspot.com/2011/01/ha-on-rhel5.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0YCRXY7eCp7ImA9Wx9XE00.&quot;"><id>tag:blogger.com,1999:blog-2868018879484253864.post-7461194648801417843</id><published>2011-01-06T14:42:00.002+05:30</published><updated>2011-01-06T14:42:44.800+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-01-06T14:42:44.800+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Samba" /><title>How to install and configure Samba PDC domain controller on linux redhat rhel5</title><link rel="replies" type="application/atom+xml" href="http://raj-kumar-linux.blogspot.com/feeds/7461194648801417843/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://raj-kumar-linux.blogspot.com/2011/01/how-to-install-and-configure-samba-pdc.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2868018879484253864/posts/default/7461194648801417843?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2868018879484253864/posts/default/7461194648801417843?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/RajLinuxAdministrationredHat/~3/GR5Gt4LFofs/how-to-install-and-configure-samba-pdc.html" title="How to install and configure Samba PDC domain controller on linux redhat rhel5" /><author><name>Raj Kumar</name><uri>http://www.blogger.com/profile/10023582091767852021</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_7tOmuXLgjPk/SvufZj5_FjI/AAAAAAAAAFE/MSvjV28ujHc/S220/raj.jpeg" /></author><thr:total>0</thr:total><content type="html">Samba PDC is used for centralized authentication and domain control of Windows
operating systems.

Here we will set a samba PDC machine with domain name lap.work and create some
users. And we will check whether these users are able to login to this domain from different
machines.

In this example we are working on rhel5. It will also work on other distributions like Centos, Fedora, SUSE etc.


&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/oIQ-pgP-GUNpFGhX_QnJ-UHuxB8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/oIQ-pgP-GUNpFGhX_QnJ-UHuxB8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/oIQ-pgP-GUNpFGhX_QnJ-UHuxB8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/oIQ-pgP-GUNpFGhX_QnJ-UHuxB8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/RajLinuxAdministrationredHat/~4/GR5Gt4LFofs" height="1" width="1"/&gt;</content><feedburner:origLink>http://raj-kumar-linux.blogspot.com/2011/01/how-to-install-and-configure-samba-pdc.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkACQn4zfSp7ImA9Wx9XE00.&quot;"><id>tag:blogger.com,1999:blog-2868018879484253864.post-1957508088552951248</id><published>2011-01-06T14:36:00.000+05:30</published><updated>2011-01-06T14:36:03.085+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-01-06T14:36:03.085+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="RHEL6" /><title>How to Enable Root Login on RHEL6</title><link rel="replies" type="application/atom+xml" href="http://raj-kumar-linux.blogspot.com/feeds/1957508088552951248/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://raj-kumar-linux.blogspot.com/2011/01/how-to-enable-root-login-on-rhel6.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2868018879484253864/posts/default/1957508088552951248?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2868018879484253864/posts/default/1957508088552951248?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/RajLinuxAdministrationredHat/~3/ljO82dgwP3s/how-to-enable-root-login-on-rhel6.html" title="How to Enable Root Login on RHEL6" /><author><name>Raj Kumar</name><uri>http://www.blogger.com/profile/10023582091767852021</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_7tOmuXLgjPk/SvufZj5_FjI/AAAAAAAAAFE/MSvjV28ujHc/S220/raj.jpeg" /></author><thr:total>1</thr:total><content type="html">If You want to login as a root from GUI in RHEL6  then you have
to edit something like some files which are located to /etc/pam.d/
Open your Terminal from Applications -&amp;gt; System Tools -&amp;gt; Terminal

Now Login as a root  from your terminal

Step 1 :- [sham@rhel6]$ su – root
Password:-

Step 2:- Now go to your /etc/pam.d/ directory.

[root@rhel6]# cd /etc/pam.d/
Then first take a backup of gdm file

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/B3aSCL2l7xCjR_4YX93ba_6PYRM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/B3aSCL2l7xCjR_4YX93ba_6PYRM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/B3aSCL2l7xCjR_4YX93ba_6PYRM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/B3aSCL2l7xCjR_4YX93ba_6PYRM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/RajLinuxAdministrationredHat/~4/ljO82dgwP3s" height="1" width="1"/&gt;</content><feedburner:origLink>http://raj-kumar-linux.blogspot.com/2011/01/how-to-enable-root-login-on-rhel6.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DU8AQX0zeip7ImA9Wx9QF00.&quot;"><id>tag:blogger.com,1999:blog-2868018879484253864.post-4040582209767323451</id><published>2010-12-30T16:45:00.003+05:30</published><updated>2010-12-30T16:47:20.382+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-12-30T16:47:20.382+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Scripts" /><title>Script to Print Disk Usage as per Used/Free ...</title><link rel="replies" type="application/atom+xml" href="http://raj-kumar-linux.blogspot.com/feeds/4040582209767323451/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://raj-kumar-linux.blogspot.com/2010/12/script-to-print-disk-usage-as-per.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2868018879484253864/posts/default/4040582209767323451?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2868018879484253864/posts/default/4040582209767323451?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/RajLinuxAdministrationredHat/~3/AFIT75auLkQ/script-to-print-disk-usage-as-per.html" title="Script to Print Disk Usage as per Used/Free ..." /><author><name>Raj Kumar</name><uri>http://www.blogger.com/profile/10023582091767852021</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_7tOmuXLgjPk/SvufZj5_FjI/AAAAAAAAAFE/MSvjV28ujHc/S220/raj.jpeg" /></author><thr:total>0</thr:total><content type="html">Here is the Magic....Just copy &amp;amp; paste @ command Prompt :-===================================================
clear;echo "=========================================";echo "Disk Usage As per Partition MAX/MIN Size";echo "=========================================";df -Ph | awk -F" " '{print $6 "  " $2}'|grep -v shm|sed '1d'| sed -e :a -e '$b;N;s/\n/,/;ba' | sed 's/^/(/' | sed 's/$/)/';echo;df -Ph | 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/5oBMpFE9mKmAhPNRmO-1y0QGlp0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/5oBMpFE9mKmAhPNRmO-1y0QGlp0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/5oBMpFE9mKmAhPNRmO-1y0QGlp0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/5oBMpFE9mKmAhPNRmO-1y0QGlp0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/RajLinuxAdministrationredHat/~4/AFIT75auLkQ" height="1" width="1"/&gt;</content><feedburner:origLink>http://raj-kumar-linux.blogspot.com/2010/12/script-to-print-disk-usage-as-per.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUAGRn46fSp7ImA9Wx9QFkQ.&quot;"><id>tag:blogger.com,1999:blog-2868018879484253864.post-3360357663988994712</id><published>2010-12-30T12:52:00.000+05:30</published><updated>2010-12-30T12:52:07.015+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-12-30T12:52:07.015+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Installations in Linux" /><title>hacking-rpms-with-rpmrebuild</title><link rel="replies" type="application/atom+xml" href="http://raj-kumar-linux.blogspot.com/feeds/3360357663988994712/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://raj-kumar-linux.blogspot.com/2010/12/hacking-rpms-with-rpmrebuild.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2868018879484253864/posts/default/3360357663988994712?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2868018879484253864/posts/default/3360357663988994712?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/RajLinuxAdministrationredHat/~3/EYRtCP2W93Y/hacking-rpms-with-rpmrebuild.html" title="hacking-rpms-with-rpmrebuild" /><author><name>Raj Kumar</name><uri>http://www.blogger.com/profile/10023582091767852021</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_7tOmuXLgjPk/SvufZj5_FjI/AAAAAAAAAFE/MSvjV28ujHc/S220/raj.jpeg" /></author><thr:total>0</thr:total><content type="html">rpmrebuild  is good tool to perform reverse engineer the files installed on an  older Fedora system back into its original RPM package. Rpmrebuild is  able to reconstruct an RPM by looking up the information about it on the  RPM database that is part of every RPM-based distribution like Fedora.  But rpmrebuild doesn’t stop there; you can also modify actual RPM  packages without needing access to 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/hjIqGO7YDvnMKVTcfBa9jrwoTe4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/hjIqGO7YDvnMKVTcfBa9jrwoTe4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/hjIqGO7YDvnMKVTcfBa9jrwoTe4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/hjIqGO7YDvnMKVTcfBa9jrwoTe4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/RajLinuxAdministrationredHat/~4/EYRtCP2W93Y" height="1" width="1"/&gt;</content><feedburner:origLink>http://raj-kumar-linux.blogspot.com/2010/12/hacking-rpms-with-rpmrebuild.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUIDQng8fip7ImA9Wx9QFkQ.&quot;"><id>tag:blogger.com,1999:blog-2868018879484253864.post-3009190130090211110</id><published>2010-12-30T12:49:00.000+05:30</published><updated>2010-12-30T12:49:33.676+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-12-30T12:49:33.676+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="VPN" /><title>creating-vpns-with-ipsec-and-ssltls</title><link rel="replies" type="application/atom+xml" href="http://raj-kumar-linux.blogspot.com/feeds/3009190130090211110/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://raj-kumar-linux.blogspot.com/2010/12/creating-vpns-with-ipsec-and-ssltls.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2868018879484253864/posts/default/3009190130090211110?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2868018879484253864/posts/default/3009190130090211110?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/RajLinuxAdministrationredHat/~3/o-aSQd_-Ylo/creating-vpns-with-ipsec-and-ssltls.html" title="creating-vpns-with-ipsec-and-ssltls" /><author><name>Raj Kumar</name><uri>http://www.blogger.com/profile/10023582091767852021</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_7tOmuXLgjPk/SvufZj5_FjI/AAAAAAAAAFE/MSvjV28ujHc/S220/raj.jpeg" /></author><thr:total>0</thr:total><content type="html">VPN  (Virtual Private Network) is a technology that provides secure  communication through an insecure and untrusted network (like the  Internet). Usually, it achieves this by authentication, encryption,  compression and tunneling. Tunneling is a technique that encapsulates  the packet header and data of one protocol inside the payload field of  another protocol. This way, an encapsulated packet 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/4B8IT8cofEEpA5CAw9Z00k6dbfY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/4B8IT8cofEEpA5CAw9Z00k6dbfY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/4B8IT8cofEEpA5CAw9Z00k6dbfY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/4B8IT8cofEEpA5CAw9Z00k6dbfY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/RajLinuxAdministrationredHat/~4/o-aSQd_-Ylo" height="1" width="1"/&gt;</content><feedburner:origLink>http://raj-kumar-linux.blogspot.com/2010/12/creating-vpns-with-ipsec-and-ssltls.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUMBQ3kzcCp7ImA9Wx9QFkQ.&quot;"><id>tag:blogger.com,1999:blog-2868018879484253864.post-4367091361121161080</id><published>2010-12-30T12:47:00.000+05:30</published><updated>2010-12-30T12:47:32.788+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-12-30T12:47:32.788+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Filesystem" /><title>using-windows-ntfs-fat-partitions-from-linux-fedora-core</title><link rel="replies" type="application/atom+xml" href="http://raj-kumar-linux.blogspot.com/feeds/4367091361121161080/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://raj-kumar-linux.blogspot.com/2010/12/using-windows-ntfs-fat-partitions-from.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2868018879484253864/posts/default/4367091361121161080?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2868018879484253864/posts/default/4367091361121161080?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/RajLinuxAdministrationredHat/~3/ydAmrDBtT2s/using-windows-ntfs-fat-partitions-from.html" title="using-windows-ntfs-fat-partitions-from-linux-fedora-core" /><author><name>Raj Kumar</name><uri>http://www.blogger.com/profile/10023582091767852021</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_7tOmuXLgjPk/SvufZj5_FjI/AAAAAAAAAFE/MSvjV28ujHc/S220/raj.jpeg" /></author><thr:total>0</thr:total><content type="html">With  some space available on your disk, when you go to install Linux,  consider adding a small FAT16 or FAT32 partition (maybe 2GB) on your  disk. Every x86 operating system (Linux, Windows 95, NT, 2000, XP, Vista  and DOS) supports those types. With that added, you will be able to  freely exchange files between your Linux and Windows system on the FAT16  partition. With FAT partitions, however,
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/SxZ2MakV6-_5Fh0YjJQFxQ840h0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/SxZ2MakV6-_5Fh0YjJQFxQ840h0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/SxZ2MakV6-_5Fh0YjJQFxQ840h0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/SxZ2MakV6-_5Fh0YjJQFxQ840h0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/RajLinuxAdministrationredHat/~4/ydAmrDBtT2s" height="1" width="1"/&gt;</content><feedburner:origLink>http://raj-kumar-linux.blogspot.com/2010/12/using-windows-ntfs-fat-partitions-from.html</feedburner:origLink></entry></feed>

