<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10titles.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemtitles.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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;AkICQnkzfSp7ImA9WxBbEk0.&quot;"><id>tag:blogger.com,1999:blog-7056185066716314055</id><updated>2010-03-10T00:09:23.785-08:00</updated><title>Just Another Linux Lover Blog</title><subtitle type="html">Sys Admin Diary</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://www.linux-masters.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://www.linux-masters.com/" /><link rel="hub" href="http://pubsubhubbub.appspot.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/7056185066716314055/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>ahmedhamdy_27</name><uri>http://www.blogger.com/profile/16172823431787723954</uri><email>ahmedhamdy27@gmail.com</email></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>104</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/JustAnotherLinuxLoverBlog" /><feedburner:info uri="justanotherlinuxloverblog" /><feedburner:emailServiceId>JustAnotherLinuxLoverBlog</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><feedburner:feedFlare href="http://add.my.yahoo.com/rss?url=http%3A%2F%2Ffeeds.feedburner.com%2FJustAnotherLinuxLoverBlog" src="http://us.i1.yimg.com/us.yimg.com/i/us/my/addtomyyahoo4.gif">Subscribe with My Yahoo!</feedburner:feedFlare><feedburner:feedFlare href="http://www.newsgator.com/ngs/subscriber/subext.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2FJustAnotherLinuxLoverBlog" src="http://www.newsgator.com/images/ngsub1.gif">Subscribe with NewsGator</feedburner:feedFlare><feedburner:feedFlare href="http://feeds.my.aol.com/add.jsp?url=http%3A%2F%2Ffeeds.feedburner.com%2FJustAnotherLinuxLoverBlog" src="http://o.aolcdn.com/favorites.my.aol.com/webmaster/ffclient/webroot/locale/en-US/images/myAOLButtonSmall.gif">Subscribe with My AOL</feedburner:feedFlare><feedburner:feedFlare href="http://www.bloglines.com/sub/http://feeds.feedburner.com/JustAnotherLinuxLoverBlog" src="http://www.bloglines.com/images/sub_modern11.gif">Subscribe with Bloglines</feedburner:feedFlare><feedburner:feedFlare href="http://www.netvibes.com/subscribe.php?url=http%3A%2F%2Ffeeds.feedburner.com%2FJustAnotherLinuxLoverBlog" src="http://www.netvibes.com/img/add2netvibes.gif">Subscribe with Netvibes</feedburner:feedFlare><feedburner:feedFlare href="http://fusion.google.com/add?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2FJustAnotherLinuxLoverBlog" src="http://buttons.googlesyndication.com/fusion/add.gif">Subscribe with Google</feedburner:feedFlare><feedburner:feedFlare href="http://www.pageflakes.com/subscribe.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2FJustAnotherLinuxLoverBlog" src="http://www.pageflakes.com/ImageFile.ashx?instanceId=Static_4&amp;fileName=ATP_blu_91x17.gif">Subscribe with Pageflakes</feedburner:feedFlare><feedburner:feedFlare href="http://www.plusmo.com/add?url=http%3A%2F%2Ffeeds.feedburner.com%2FJustAnotherLinuxLoverBlog" src="http://plusmo.com/res/graphics/fbplusmo.gif">Subscribe with Plusmo</feedburner:feedFlare><feedburner:feedFlare href="http://www.thefreedictionary.com/_/hp/AddRSS.aspx?http%3A%2F%2Ffeeds.feedburner.com%2FJustAnotherLinuxLoverBlog" src="http://img.tfd.com/hp/addToTheFreeDictionary.gif">Subscribe with The Free Dictionary</feedburner:feedFlare><feedburner:feedFlare href="http://www.bitty.com/manual/?contenttype=rssfeed&amp;contentvalue=http%3A%2F%2Ffeeds.feedburner.com%2FJustAnotherLinuxLoverBlog" src="http://www.bitty.com/img/bittychicklet_91x17.gif">Subscribe with Bitty Browser</feedburner:feedFlare><feedburner:feedFlare href="http://www.live.com/?add=http%3A%2F%2Ffeeds.feedburner.com%2FJustAnotherLinuxLoverBlog" src="http://tkfiles.storage.msn.com/x1piYkpqHC_35nIp1gLE68-wvzLZO8iXl_JMledmJQXP-XTBOLfmQv4zhj4MhcWEJh_GtoBIiAl1Mjh-ndp9k47If7hTaFno0mxW9_i3p_5qQw">Subscribe with Live.com</feedburner:feedFlare><feedburner:feedFlare href="http://mix.excite.eu/add?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2FJustAnotherLinuxLoverBlog" src="http://image.excite.co.uk/mix/addtomix.gif">Subscribe with Excite MIX</feedburner:feedFlare><feedburner:feedFlare href="http://www.webwag.com/wwgthis.php?url=http%3A%2F%2Ffeeds.feedburner.com%2FJustAnotherLinuxLoverBlog" src="http://www.webwag.com/images/wwgthis.gif">Subscribe with Webwag</feedburner:feedFlare><feedburner:feedFlare href="http://www.podcastready.com/oneclick_bookmark.php?url=http%3A%2F%2Ffeeds.feedburner.com%2FJustAnotherLinuxLoverBlog" src="http://www.podcastready.com/images/podcastready_button.gif">Subscribe with Podcast Ready</feedburner:feedFlare><feedburner:feedFlare href="http://www.wikio.com/subscribe?url=http%3A%2F%2Ffeeds.feedburner.com%2FJustAnotherLinuxLoverBlog" src="http://www.wikio.com/shared/img/add2wikio.gif">Subscribe with Wikio</feedburner:feedFlare><feedburner:feedFlare href="http://www.dailyrotation.com/index.php?feed=http%3A%2F%2Ffeeds.feedburner.com%2FJustAnotherLinuxLoverBlog" src="http://www.dailyrotation.com/rss-dr2.gif">Subscribe with Daily Rotation</feedburner:feedFlare><entry gd:etag="W/&quot;Ck4FQXo6cCp7ImA9WxBUEkw.&quot;"><id>tag:blogger.com,1999:blog-7056185066716314055.post-1163222037252934545</id><published>2010-02-26T10:56:00.000-08:00</published><updated>2010-02-26T11:01:50.418-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-02-26T11:01:50.418-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="IP Failover and Web Cluster" /><title>Handling nginx Failover With KeepAlived</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/YLjOYa7mXB8keJYagnbdVogishE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/YLjOYa7mXB8keJYagnbdVogishE/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/YLjOYa7mXB8keJYagnbdVogishE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/YLjOYa7mXB8keJYagnbdVogishE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_ZJxSkuPMBj4/S4galCqtnlI/AAAAAAAAABw/fATKM5tACRc/s1600-h/nginx.gif"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 121px; height: 32px;" src="http://4.bp.blogspot.com/_ZJxSkuPMBj4/S4galCqtnlI/AAAAAAAAABw/fATKM5tACRc/s320/nginx.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5442629373350747730" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;How do configure to release and obtain VIP (virtual IP) when nginx is dead, down or system is rebooted for the kernel upgrades?&lt;br /&gt;&lt;br /&gt;Edit /usr/local/etc/keepalived/keepalived.conf and add the following section to check whether nginx is alive or dead:&lt;br /&gt;# vi /usr/local/etc/keepalived/keepalived.conf&lt;br /&gt;&lt;br /&gt;Updated file on both lb0 and lb1:&lt;br /&gt;&lt;br /&gt;vrrp_script chk_http_port {&lt;br /&gt;        script "/usr/bin/killall -0 nginx"&lt;br /&gt;        interval 2&lt;br /&gt;        weight 2&lt;br /&gt;}&lt;br /&gt;vrrp_instance VI_1 {&lt;br /&gt;        interface eth0&lt;br /&gt;        state MASTER&lt;br /&gt;        virtual_router_id 51&lt;br /&gt;        priority 101&lt;br /&gt;        authentication {&lt;br /&gt;            auth_type PASS&lt;br /&gt;            auth_pass Add-Your-Password-Here&lt;br /&gt;        }&lt;br /&gt;        track_script {&lt;br /&gt;            chk_http_port&lt;br /&gt;        }&lt;br /&gt;        virtual_ipaddress {&lt;br /&gt;                202.54.1.1/29 dev eth1&lt;br /&gt;        }&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;Save and close the file. Reload keealived:&lt;br /&gt;# /etc/init.d/keepalived restart&lt;br /&gt;&lt;br /&gt;If nginx died due to any issues keepalived will release master VIP and backup server will become active. When master nginx LB0 comes backs online, the backup LB1 will go down in backup state.&lt;div class="blogger-post-footer"&gt;&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-9613613059289325";
/* 336x280, created 4/22/09 */
google_ad_slot = "5016102081";
google_ad_width = 336;
google_ad_height = 280;
//--&gt;
&lt;/script&gt;
&lt;script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7056185066716314055-1163222037252934545?l=www.linux-masters.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=3P9LI0UWlG0:z0cv5AJwHGU:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=3P9LI0UWlG0:z0cv5AJwHGU:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=3P9LI0UWlG0:z0cv5AJwHGU:4cEx4HpKnUU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=3P9LI0UWlG0:z0cv5AJwHGU:4cEx4HpKnUU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=3P9LI0UWlG0:z0cv5AJwHGU:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=3P9LI0UWlG0:z0cv5AJwHGU:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=3P9LI0UWlG0:z0cv5AJwHGU:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=3P9LI0UWlG0:z0cv5AJwHGU:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=3P9LI0UWlG0:z0cv5AJwHGU:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=3P9LI0UWlG0:z0cv5AJwHGU:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=3P9LI0UWlG0:z0cv5AJwHGU:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=3P9LI0UWlG0:z0cv5AJwHGU:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=3P9LI0UWlG0:z0cv5AJwHGU:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=3P9LI0UWlG0:z0cv5AJwHGU:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=3P9LI0UWlG0:z0cv5AJwHGU:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=3P9LI0UWlG0:z0cv5AJwHGU:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=3P9LI0UWlG0:z0cv5AJwHGU:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/JustAnotherLinuxLoverBlog/~4/3P9LI0UWlG0" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.linux-masters.com/feeds/1163222037252934545/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.linux-masters.com/2010/02/handling-nginx-failover-with-keepalived.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7056185066716314055/posts/default/1163222037252934545?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7056185066716314055/posts/default/1163222037252934545?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/JustAnotherLinuxLoverBlog/~3/3P9LI0UWlG0/handling-nginx-failover-with-keepalived.html" title="Handling nginx Failover With KeepAlived" /><author><name>Linux4all</name><uri>http://www.blogger.com/profile/02426226910465069002</uri><email>hossam.abdelmoniem@gmail.com</email><gd:extendedProperty name="OpenSocialUserId" value="15171461427387673935" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/_ZJxSkuPMBj4/S4galCqtnlI/AAAAAAAAABw/fATKM5tACRc/s72-c/nginx.gif" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.linux-masters.com/2010/02/handling-nginx-failover-with-keepalived.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkUCQHczfSp7ImA9WxBUEkw.&quot;"><id>tag:blogger.com,1999:blog-7056185066716314055.post-8530911130361845825</id><published>2010-02-26T10:49:00.001-08:00</published><updated>2010-02-26T10:51:01.985-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-02-26T10:51:01.985-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Reverse Proxy Load Balancer" /><title>CentOS / Redhat: Install nginx As Reverse Proxy Load Balancer</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ktNFJ6OY_-Rvz8UqKQlDOzE_CbY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ktNFJ6OY_-Rvz8UqKQlDOzE_CbY/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/ktNFJ6OY_-Rvz8UqKQlDOzE_CbY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ktNFJ6OY_-Rvz8UqKQlDOzE_CbY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_ZJxSkuPMBj4/S4gX65GMqrI/AAAAAAAAABo/dv1vY7Ebc34/s1600-h/nginx.gif"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 121px; height: 32px;" src="http://2.bp.blogspot.com/_ZJxSkuPMBj4/S4gX65GMqrI/AAAAAAAAABo/dv1vY7Ebc34/s320/nginx.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5442626450203912882" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;How do I configure nginx as failover reverse proxy load balancer in front of two Apache web servers under CentOS / RHEL 5.x?&lt;br /&gt;&lt;br /&gt;nginx is a Web and Reverse proxy server. Nginx used in front of Apache Web servers. All connections coming from the Internet addressed to one of the Web servers are routed through the nginx proxy server, which may either deal with the request itself or pass the request wholly or partially to the main web servers.&lt;br /&gt;&lt;br /&gt;Our Sample Setup&lt;br /&gt;Internet--&lt;br /&gt;         |&lt;br /&gt;    =============                               |---- apache1 (192.168.1.15)&lt;br /&gt;    | ISP Router|                               |&lt;br /&gt;    =============                               |---- apache2 (192.168.1.16)&lt;br /&gt;         |                                      |&lt;br /&gt;         |                                      |---- db1 (192.168.1.17)&lt;br /&gt;         |      |eth0 -&gt; 192.168.1.11 ----------/&lt;br /&gt;         |-lb0==|                        /&lt;br /&gt;         |      |eth1 -&gt; 202.54.1.1 ----/&lt;br /&gt;         |&lt;br /&gt;         |      |eth0 -&gt; 192.168.1.10 ----------\&lt;br /&gt;         |-lb1==|                        /      |---- apache1 (192.168.1.15)&lt;br /&gt;                |eth1 -&gt; 202.54.1.1 ----/       |&lt;br /&gt;                                                |---- apache2 (192.168.1.16)&lt;br /&gt;                                                |&lt;br /&gt;                                                |---- db1 (192.168.1.17)&lt;br /&gt;Where,&lt;br /&gt;&lt;br /&gt;lb0 - Linux box directly connected to the Internet via eth1. This is master load balancer.&lt;br /&gt;lb1 - Linux box directly connected to the Internet via eth1. This is backup load balancer. This will become active if master networking failed.&lt;br /&gt;202.54.1.1 - This ip moves between lb0 and lb1 server. It is called virtual IP address and it is managed by keepalived.&lt;br /&gt;eth0 is connected to LAN and all other backend software servers are connected via eth0.&lt;br /&gt;nginx is installed on both lb0 and lb1. It will listen on 202.54.1.1. You need to configure nginx as reverse proxy server. It will connects to Apache1 and Apache2.&lt;br /&gt;Install httpd server on Apache#1 and Apache#2 server. Configure them to listen on 192.168.1.15:80 and 192.168.1.16:80. Do not assign public IP to this box. Only activate eth0 via LAN.&lt;br /&gt;Install MySQL / Oracle / PgSQL server on Db#1. Configure db server to listen on 192.168.1.17:$db_server_port. Do not assign public IP to this box. Only activate eth0 via LAN.&lt;br /&gt;In short you need the following hardware:&lt;br /&gt;&lt;br /&gt;2 load balancer reverse proxy servers (250GB SATA, 2GB RAM, Single Intel P-D930 or AMD 170s with RHEL 64 bit+keepalived+nginx)&lt;br /&gt;2 Apache web servers (Software RAID-1, SCSI-73GBx2 15k disk, 6GB RAM, Dual Intel Xeon or AMD 64 bit CPU with RHEL 64 bit+Apache 2)&lt;br /&gt;1 backup Apache web servers (Software RAID-1, SCSI-73GBx2 15k disk, 6GB RAM, Dual Intel Xeon or AMD 64 bit CPU with RHEL 64 bit+Apache 2)&lt;br /&gt;1 database server (RAID-10, SCSI-73GBx4 15k disk, 16GB RAM, Dual Intel Xeon or AMD 64 bit CPU with RHEL 64 bit+MySQL 5)&lt;br /&gt;1 Caching server (RAID-1, SCSI-73GBx2 15k disk, 8GB RAM, Dual Intel Xeon or AMD 64 bit CPU with RHEL 64 bit)&lt;br /&gt;1 offsite backup server (RAID-6, 1TB SATAx4, 4GB RAM, Single Intel/AMD CPU with RHEL 64bit)&lt;br /&gt;Slave database, storage, pop3 and SMTP server as per requirements.&lt;br /&gt;Internet uplink 100Mbps+ or as per requirements.&lt;br /&gt;Remove Unwanted Software From lb0 and lb1&lt;br /&gt;Type the following commands:&lt;br /&gt;# yum -y groupremove "X Window System"&lt;br /&gt;# x=$(yum list installed | egrep -i 'php|httpd|mysql|bind|dhclient|tftp|inetd|xinetd|ypserv|telnet-server|rsh-server|vsftpd|tcsh' | awk '{ print $1}')&lt;br /&gt;# yum -y remove $x&lt;br /&gt;# yum -y install bind-utils sysstat openssl-devel.x86_64 pcre-devel.x86_64 openssl097a.x86_64&lt;br /&gt;# /usr/sbin/authconfig --passalgo=sha512 --update&lt;br /&gt;# passwd root&lt;br /&gt;&lt;br /&gt;The above will remove X windows and other unwanted software from both lb0 and lb1.&lt;br /&gt;&lt;br /&gt;Install Nginx On Both lb0 and lb1&lt;br /&gt;Type the following commands to download nginx, enter:&lt;br /&gt;# cd /opt&lt;br /&gt;# wget http://sysoev.ru/nginx/nginx-0.8.33.tar.gz&lt;br /&gt;&lt;br /&gt;Untar nginx, enter:&lt;br /&gt;# tar -zxvf nginx-0.8.33.tar.gz&lt;br /&gt;# cd nginx-0.8.33&lt;br /&gt;&lt;br /&gt;Configure nginx for 64 bit RHEL / CentOS Linux:&lt;br /&gt;# ./configure --without-http_autoindex_module --without-http_ssi_module --without-http_userid_module --without-http_auth_basic_module --without-http_geo_module --without-http_fastcgi_module --without-http_empty_gif_module --with-openssl=/lib64&lt;br /&gt;&lt;br /&gt;Sample outputs:&lt;br /&gt;&lt;br /&gt;....&lt;br /&gt;  nginx path prefix: "/usr/local/nginx"&lt;br /&gt;  nginx binary file: "/usr/local/nginx/sbin/nginx"&lt;br /&gt;  nginx configuration prefix: "/usr/local/nginx/conf"&lt;br /&gt;  nginx configuration file: "/usr/local/nginx/conf/nginx.conf"&lt;br /&gt;  nginx pid file: "/usr/local/nginx/logs/nginx.pid"&lt;br /&gt;  nginx error log file: "/usr/local/nginx/logs/error.log"&lt;br /&gt;  nginx http access log file: "/usr/local/nginx/logs/access.log"&lt;br /&gt;  nginx http client request body temporary files: "client_body_temp"&lt;br /&gt;  nginx http proxy temporary files: "proxy_temp"&lt;br /&gt;  nginx http fastcgi temporary files: "fastcgi_temp"&lt;br /&gt;...&lt;br /&gt;Install the same:&lt;br /&gt;# make&lt;br /&gt;# make install&lt;br /&gt;&lt;br /&gt;Create nginx User Account&lt;br /&gt;Type the following commands to create a user account:&lt;br /&gt;# useradd -s /sbin/nologin -d /usr/local/nginx/html -M nginx&lt;br /&gt;# passwd -l nginx&lt;br /&gt;&lt;br /&gt;Configure nginx As Reverse Proxy Load Balancer On Both lb0 and lb1&lt;br /&gt;Edit /usr/local/nginx/conf/nginx.conf, enter:&lt;br /&gt;# vi /usr/local/nginx/conf/nginx.conf&lt;br /&gt;&lt;br /&gt;Update it as follows:&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;pid               logs/nginx.pid;&lt;br /&gt;user              nginx nginx;&lt;br /&gt;worker_processes  10;&lt;br /&gt; &lt;br /&gt;events {&lt;br /&gt;    worker_connections  1024;&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;http {&lt;br /&gt;  default_type       application/octet-stream;&lt;br /&gt; &lt;br /&gt; ## Common options ##&lt;br /&gt; include options.conf;&lt;br /&gt; &lt;br /&gt; ## Proxy settings ##&lt;br /&gt; include proxy.conf;&lt;br /&gt; &lt;br /&gt; ## lb domains ##&lt;br /&gt; include nixcraft.in.conf;&lt;br /&gt;}&lt;br /&gt;Edit /usr/local/nginx/conf/options.conf, enter:&lt;br /&gt;# vi /usr/local/nginx/conf/options.conf&lt;br /&gt;&lt;br /&gt;Update it as follows:&lt;br /&gt;&lt;br /&gt; &lt;br /&gt; ## Size Limits&lt;br /&gt;  client_body_buffer_size     128K;&lt;br /&gt;  client_header_buffer_size   1M;&lt;br /&gt;  client_max_body_size          1M;&lt;br /&gt;  large_client_header_buffers 8 8k;&lt;br /&gt; &lt;br /&gt; ## Timeouts&lt;br /&gt;  client_body_timeout   60;&lt;br /&gt;  client_header_timeout 60;&lt;br /&gt;  expires               24h;&lt;br /&gt;  keepalive_timeout     60 60;&lt;br /&gt;  send_timeout          60;&lt;br /&gt; &lt;br /&gt; ## General Options&lt;br /&gt;  ignore_invalid_headers   on;&lt;br /&gt;  keepalive_requests      100;&lt;br /&gt;  limit_zone gulag $binary_remote_addr 5m;&lt;br /&gt;  recursive_error_pages    on;&lt;br /&gt;  sendfile                 on;&lt;br /&gt;  server_name_in_redirect off;&lt;br /&gt;  server_tokens           off;&lt;br /&gt; &lt;br /&gt; ## TCP options&lt;br /&gt;  tcp_nodelay on;&lt;br /&gt;  tcp_nopush  on;&lt;br /&gt; &lt;br /&gt; ## Compression&lt;br /&gt;  gzip              on;&lt;br /&gt;  gzip_buffers      16 8k;&lt;br /&gt;  gzip_comp_level   6;&lt;br /&gt;  gzip_http_version 1.0;&lt;br /&gt;  gzip_min_length   0;&lt;br /&gt;  gzip_types        text/plain text/css image/x-icon application/x-perl application/x-httpd-cgi;&lt;br /&gt;  gzip_vary         on;&lt;br /&gt; &lt;br /&gt; ## Log Format&lt;br /&gt;  log_format  main  '$remote_addr $host $remote_user [$time_local] "$request" '&lt;br /&gt;                    '$status $body_bytes_sent "$http_referer" "$http_user_agent" '&lt;br /&gt;                    '"$gzip_ratio"';&lt;br /&gt; &lt;br /&gt;Edit /usr/local/nginx/conf/proxy.conf, enter:&lt;br /&gt;&lt;br /&gt; &lt;br /&gt; ## Proxy caching options&lt;br /&gt;  proxy_buffering           on;&lt;br /&gt;  proxy_cache_min_uses       3;&lt;br /&gt;  proxy_cache_path          /usr/local/nginx/proxy_temp/ levels=1:2 keys_zone=cache:10m inactive=10m max_size=1000M;&lt;br /&gt;  proxy_cache_valid         any 10m;&lt;br /&gt;  proxy_ignore_client_abort off;&lt;br /&gt;  proxy_intercept_errors    on;&lt;br /&gt;  proxy_next_upstream       error timeout invalid_header;&lt;br /&gt;  proxy_redirect            off;&lt;br /&gt;  proxy_set_header          X-Forwarded-For $remote_addr;&lt;br /&gt;  proxy_connect_timeout     60;&lt;br /&gt;  proxy_send_timeout        60;&lt;br /&gt;  proxy_read_timeout        60;&lt;br /&gt; &lt;br /&gt;Edit /usr/local/nginx/conf/nixcraft.in.conf, enter:&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;## Connect to backend servers via LAN ##&lt;br /&gt;## Reverse Proxy Load Balancer Logic ##&lt;br /&gt;upstream nixcraft  {&lt;br /&gt;      server 192.168.1.15 weight=10 max_fails=3 fail_timeout=30s;&lt;br /&gt;      server 192.168.1.16 weight=10 max_fails=3 fail_timeout=30s;&lt;br /&gt;      # only comes alive when above two fails&lt;br /&gt;      server 192.168.1.23 weight=1 backup;&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;server {&lt;br /&gt;      access_log  logs/access.log main;&lt;br /&gt;      error_log   logs/error.log;&lt;br /&gt;      index       index.html;&lt;br /&gt;      root        /usr/local/nginx/html;&lt;br /&gt;      server_name nixcraft.in www.nixcraft.in subdomain.nixcraft.in;&lt;br /&gt; &lt;br /&gt;     ## Only requests to our Host are allowed&lt;br /&gt;      if ($host !~ ^(nixcraft.in|www.nixcraft.in|subdomain.nixcraft.in)$ ) {&lt;br /&gt;         return 444;&lt;br /&gt;      }&lt;br /&gt; &lt;br /&gt;     ## redirect www to nowww&lt;br /&gt;     # if ($host = 'www.nixcraft.in' ) {&lt;br /&gt;     #    rewrite  ^/(.*)$  http://nixcraft.in/$1  permanent;&lt;br /&gt;     # }&lt;br /&gt; &lt;br /&gt;     ## Only allow these request methods&lt;br /&gt;     if ($request_method !~ ^(GET|HEAD|POST)$ ) {&lt;br /&gt;         return 444;&lt;br /&gt;     }&lt;br /&gt; &lt;br /&gt;     ## PROXY - Web&lt;br /&gt;      location / {&lt;br /&gt;        proxy_pass  http://nixcraft;&lt;br /&gt;        proxy_cache            cache;&lt;br /&gt;        proxy_cache_valid      200 24h;&lt;br /&gt;        proxy_cache_use_stale  error timeout invalid_header updating http_500 http_502 http_503 http_504;&lt;br /&gt;        proxy_ignore_headers   Expires Cache-Control;&lt;br /&gt; &lt;br /&gt;        proxy_set_header        Host            $host;&lt;br /&gt;        proxy_set_header        X-Real-IP       $remote_addr;&lt;br /&gt;        proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for;&lt;br /&gt;      }&lt;br /&gt; &lt;br /&gt;     # redirect server error pages to the static page /50x.html&lt;br /&gt;        error_page   500 502 503 504  /50x.html;&lt;br /&gt;        location = /50x.html {&lt;br /&gt;            root   html;&lt;br /&gt;        }&lt;br /&gt;}&lt;br /&gt;Start nginx web server:&lt;br /&gt;# /usr/local/nginx/sbin/nginx&lt;br /&gt;# netstat -tulpn | grep :80&lt;br /&gt;# echo ' /usr/local/nginx/sbin/nginx' &gt;&gt; /etc/rc.local&lt;br /&gt;&lt;br /&gt;Fire a webbrowser and type domain name such as nixcraft.in:&lt;br /&gt;http://nixcraft.in&lt;br /&gt;&lt;br /&gt;References:&lt;br /&gt;nginx wiki&lt;br /&gt;Stay tuned, for rest of the firewall, security, SELinux, database, helper scripts and optimization configuration.&lt;div class="blogger-post-footer"&gt;&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-9613613059289325";
/* 336x280, created 4/22/09 */
google_ad_slot = "5016102081";
google_ad_width = 336;
google_ad_height = 280;
//--&gt;
&lt;/script&gt;
&lt;script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7056185066716314055-8530911130361845825?l=www.linux-masters.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=DumQfdBYGVE:gMfsB5ajOgc:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=DumQfdBYGVE:gMfsB5ajOgc:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=DumQfdBYGVE:gMfsB5ajOgc:4cEx4HpKnUU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=DumQfdBYGVE:gMfsB5ajOgc:4cEx4HpKnUU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=DumQfdBYGVE:gMfsB5ajOgc:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=DumQfdBYGVE:gMfsB5ajOgc:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=DumQfdBYGVE:gMfsB5ajOgc:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=DumQfdBYGVE:gMfsB5ajOgc:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=DumQfdBYGVE:gMfsB5ajOgc:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=DumQfdBYGVE:gMfsB5ajOgc:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=DumQfdBYGVE:gMfsB5ajOgc:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=DumQfdBYGVE:gMfsB5ajOgc:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=DumQfdBYGVE:gMfsB5ajOgc:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=DumQfdBYGVE:gMfsB5ajOgc:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=DumQfdBYGVE:gMfsB5ajOgc:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=DumQfdBYGVE:gMfsB5ajOgc:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=DumQfdBYGVE:gMfsB5ajOgc:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/JustAnotherLinuxLoverBlog/~4/DumQfdBYGVE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.linux-masters.com/feeds/8530911130361845825/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.linux-masters.com/2010/02/centos-redhat-install-nginx-as-reverse.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7056185066716314055/posts/default/8530911130361845825?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7056185066716314055/posts/default/8530911130361845825?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/JustAnotherLinuxLoverBlog/~3/DumQfdBYGVE/centos-redhat-install-nginx-as-reverse.html" title="CentOS / Redhat: Install nginx As Reverse Proxy Load Balancer" /><author><name>Linux4all</name><uri>http://www.blogger.com/profile/02426226910465069002</uri><email>hossam.abdelmoniem@gmail.com</email><gd:extendedProperty name="OpenSocialUserId" value="15171461427387673935" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/_ZJxSkuPMBj4/S4gX65GMqrI/AAAAAAAAABo/dv1vY7Ebc34/s72-c/nginx.gif" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.linux-masters.com/2010/02/centos-redhat-install-nginx-as-reverse.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkcEQHsyfCp7ImA9WxBUEkw.&quot;"><id>tag:blogger.com,1999:blog-7056185066716314055.post-3679887319276450966</id><published>2010-02-26T10:33:00.000-08:00</published><updated>2010-02-26T10:46:41.594-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-02-26T10:46:41.594-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="IP Failover and Web Cluste" /><title>CentOS / Redhat Linux: Install Keepalived To Provide IP Failover For Web Cluster</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/5C03lOy9RjyckGiXj3kTPWZ_jo8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/5C03lOy9RjyckGiXj3kTPWZ_jo8/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/5C03lOy9RjyckGiXj3kTPWZ_jo8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/5C03lOy9RjyckGiXj3kTPWZ_jo8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_ZJxSkuPMBj4/S4gUqxPmVcI/AAAAAAAAABg/TcCH4R8o3kk/s1600-h/nginx.gif"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 121px; height: 32px;" src="http://4.bp.blogspot.com/_ZJxSkuPMBj4/S4gUqxPmVcI/AAAAAAAAABg/TcCH4R8o3kk/s320/nginx.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5442622874683069890" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Keepalived provides a strong and robust health checking for LVS clusters. It implements a framework of health checking on multiple layers for server failover, and VRRPv2 stack to handle director failover. How do I install and configure Keepalived for reverse proxy server such as nginx or lighttpd?&lt;br /&gt;&lt;br /&gt;If your are using a LVS director to loadbalance a server pool in a production environment, you may want to have a robust solution for healthcheck &amp; failover. This will also work with reverse proxy server such as nginx.&lt;br /&gt;&lt;br /&gt;Our Sample Setup&lt;br /&gt;Internet--&lt;br /&gt;         |&lt;br /&gt;    =============&lt;br /&gt;    | ISP Router|&lt;br /&gt;    =============&lt;br /&gt;         |&lt;br /&gt;         |&lt;br /&gt;         |      |eth0 -&gt; 192.168.1.11 (connected to lan)&lt;br /&gt;         |-lb0==|&lt;br /&gt;         |      |eth1 -&gt; 202.54.1.1 (vip master)&lt;br /&gt;         |&lt;br /&gt;         |      |eth0 -&gt; 192.168.1.10 (connected to lan)&lt;br /&gt;         |-lb1==|&lt;br /&gt;                |eth1 -&gt; 202.54.1.1 (vip backup)&lt;br /&gt;Where,&lt;br /&gt;&lt;br /&gt;lb0 - Linux box directly connected to the Internet via eth1. This is master load balancer.&lt;br /&gt;lb1 - Linux box directly connected to the Internet via eth1. This is backup load balancer. This will become active if master networking failed.&lt;br /&gt;202.54.1.1 - This ip moves between lb0 and lb1 server. It is called virtual IP address and it is managed by keepalived.&lt;br /&gt;eth0 is connected to LAN and all other backend software such as Apache, MySQL and so on.&lt;br /&gt;You need to install the following softwares on both lb0 and lb1:&lt;br /&gt;&lt;br /&gt;keepalived for IP failover.&lt;br /&gt;iptables to filter traffic&lt;br /&gt;nginx or lighttpd revers proxy server.&lt;br /&gt;DNS settings should be as follows:&lt;br /&gt;&lt;br /&gt;nixcraft.in - Our sample domain name.&lt;br /&gt;lb0.nixcraft.in - 202.54.1.11 (real ip assigned to eth1)&lt;br /&gt;lb1.nixcraft.in - 202.54.1.12 (real ip assigned to eth1)&lt;br /&gt;www.nixcraft.in - 202.54.1.1 (VIP for web server) do not assign this IP to any interface.&lt;br /&gt;Install Keepalived&lt;br /&gt;Visit keepalived.org to grab latest source code. You can use the wget command to download the same (you need to install keepalived on both lb0 and lb1):&lt;br /&gt;# cd /opt&lt;br /&gt;# wget http://www.keepalived.org/software/keepalived-1.1.19.tar.gz&lt;br /&gt;# tar -zxvf keepalived-1.1.19.tar.gz&lt;br /&gt;# cd keepalived-1.1.19&lt;br /&gt;&lt;br /&gt;Install Kernel Headers&lt;br /&gt;&lt;br /&gt;You need to install the following packages:&lt;br /&gt;&lt;br /&gt;Kernel-headers - includes the C header files that specify the interface between the Linux kernel and userspace libraries and programs. The header files define structures and constants that are needed for building most standard programs and are also needed for rebuilding the glibc package.&lt;br /&gt;kernel-devel - this package provides kernel headers and makefiles sufficient to build modules against the kernel package.&lt;br /&gt;Make sure kernel-headers and kernel-devel packages are installed. If not type the following install the same:&lt;br /&gt;# yum -y install kernel-headers kernel-devel&lt;br /&gt;&lt;br /&gt;Compile keepalived&lt;br /&gt;&lt;br /&gt;Type the following command:&lt;br /&gt;# ./configure --with-kernel-dir=/lib/modules/$(uname -r)/build&lt;br /&gt;&lt;br /&gt;Sample outputs:&lt;br /&gt;&lt;br /&gt;checking for gcc... gcc&lt;br /&gt;checking for C compiler default output file name... a.out&lt;br /&gt;checking whether the C compiler works... yes&lt;br /&gt;checking whether we are cross compiling... no&lt;br /&gt;checking for suffix of executables...&lt;br /&gt;checking for suffix of object files... o&lt;br /&gt;...&lt;br /&gt;.....&lt;br /&gt;..&lt;br /&gt;config.status: creating keepalived/check/Makefile&lt;br /&gt;config.status: creating keepalived/libipvs-2.6/Makefile&lt;br /&gt;&lt;br /&gt;Keepalived configuration&lt;br /&gt;------------------------&lt;br /&gt;Keepalived version       : 1.1.19&lt;br /&gt;Compiler                 : gcc&lt;br /&gt;Compiler flags           : -g -O2&lt;br /&gt;Extra Lib                : -lpopt -lssl -lcrypto&lt;br /&gt;Use IPVS Framework       : Yes&lt;br /&gt;IPVS sync daemon support : Yes&lt;br /&gt;Use VRRP Framework       : Yes&lt;br /&gt;Use Debug flags          : No&lt;br /&gt;Compile and install the same:&lt;br /&gt;# make &amp;&amp; make install&lt;br /&gt;&lt;br /&gt;Create Required Softlinks&lt;br /&gt;&lt;br /&gt;Type the following commands to create service and run it at RHEL / CentOS run level #3 :&lt;br /&gt;# cd /etc/sysconfig&lt;br /&gt;# ln -s /usr/local/etc/sysconfig/keepalived .&lt;br /&gt;# cd /etc/rc3.d/&lt;br /&gt;# ln -s /usr/local/etc/rc.d/init.d/keepalived S100keepalived&lt;br /&gt;# cd /etc/init.d/&lt;br /&gt;# ln -s /usr/local/etc/rc.d/init.d/keepalived .&lt;br /&gt;&lt;br /&gt;Configuration&lt;br /&gt;&lt;br /&gt;Your main configuration directory is located at /usr/local/etc/keepalived and configuration file name is keepalived.conf. First, make backup of existing configuration:&lt;br /&gt;# cd /usr/local/etc/keepalived&lt;br /&gt;# cp keepalived.conf keepalived.conf.bak&lt;br /&gt;&lt;br /&gt;Edit keepalived.conf as follows on lb0:&lt;br /&gt;&lt;br /&gt;vrrp_instance VI_1 {&lt;br /&gt;        interface eth0&lt;br /&gt;        state MASTER&lt;br /&gt;        virtual_router_id 51&lt;br /&gt;        priority 101&lt;br /&gt;        authentication {&lt;br /&gt;            auth_type PASS&lt;br /&gt;            auth_pass Add-Your-Password-Here&lt;br /&gt;        }&lt;br /&gt;        virtual_ipaddress {&lt;br /&gt;                202.54.1.1/29 dev eth1&lt;br /&gt;        }&lt;br /&gt;}&lt;br /&gt;Edit keepalived.conf as follows on lb1 (note priority set to 100 i.e. backup load balancer):&lt;br /&gt;&lt;br /&gt;vrrp_instance VI_1 {&lt;br /&gt;        interface eth0&lt;br /&gt;        state MASTER&lt;br /&gt;        virtual_router_id 51&lt;br /&gt;        priority 100&lt;br /&gt;        authentication {&lt;br /&gt;            auth_type PASS&lt;br /&gt;            auth_pass Add-Your-Password-Here&lt;br /&gt;        }&lt;br /&gt;        virtual_ipaddress {&lt;br /&gt;                202.54.1.1/29 dev eth1&lt;br /&gt;        }&lt;br /&gt;}&lt;br /&gt;Save and close the file. Finally start keepalived on both lb0 and lb1 as follows:&lt;br /&gt;# /etc/init.d/keepalived start&lt;br /&gt;&lt;br /&gt;Verify: Keepalived Working Or Not&lt;br /&gt;&lt;br /&gt;/var/log/messages will keep track of VIP:&lt;br /&gt;# tail -f /var/log/messages&lt;br /&gt;&lt;br /&gt;Sample outputs:&lt;br /&gt;&lt;br /&gt;Feb 21 04:06:15 lb0 Keepalived_vrrp: Netlink reflector reports IP 202.54.1.1 added&lt;br /&gt;Feb 21 04:06:20 lb0 Keepalived_vrrp: VRRP_Instance(VI_1) Sending gratuitous ARPs on eth1 for 202.54.1.1&lt;br /&gt;Verify that VIP assigned to eth1:&lt;br /&gt;# ip addr show eth1&lt;br /&gt;&lt;br /&gt;Sample outputs:&lt;br /&gt;&lt;br /&gt;3: eth1:  mtu 1500 qdisc pfifo_fast qlen 10000&lt;br /&gt;    link/ether 00:30:48:30:30:a3 brd ff:ff:ff:ff:ff:ff&lt;br /&gt;    inet 202.54.1.11/29 brd 202.54.1.254 scope global eth1&lt;br /&gt;    inet 202.54.1.1/29 scope global secondary eth1&lt;br /&gt;ping failover test&lt;br /&gt;Open UNIX / Linux / OS X desktop terminal and type the following command to ping to VIP:&lt;br /&gt;# ping 202.54.1.1&lt;br /&gt;&lt;br /&gt;Login to lb0 and halt the server or take down networking:&lt;br /&gt;# halt&lt;br /&gt;&lt;br /&gt;Within seconds VIP should move from lb0 to lb1 and you should not see any drops in ping. On lb1 you should get the following in /var/log/messages:&lt;br /&gt;&lt;br /&gt;Feb 21 04:10:07 lb1 Keepalived_vrrp: VRRP_Instance(VI_1) forcing a new MASTER election&lt;br /&gt;Feb 21 04:10:08 lb1 Keepalived_vrrp: VRRP_Instance(VI_1) Transition to MASTER STATE&lt;br /&gt;Feb 21 04:10:09 lb1 Keepalived_vrrp: VRRP_Instance(VI_1) Entering MASTER STATE&lt;br /&gt;Feb 21 04:10:09 lb1 Keepalived_vrrp: VRRP_Instance(VI_1) setting protocol VIPs.&lt;br /&gt;Feb 21 04:10:09 lb1 Keepalived_healthcheckers: Netlink reflector reports IP 202.54.1.1 added&lt;br /&gt;Feb 21 04:10:09 lb1 Keepalived_vrrp: VRRP_Instance(VI_1) Sending gratuitous ARPs on eth1 for 202.54.1.1&lt;br /&gt;Conclusion&lt;br /&gt;&lt;br /&gt;Your server is now configured with IP failover. However, you need to install and configure the following software in order to configure webserver and security:&lt;br /&gt;&lt;br /&gt;nginx or lighttpd&lt;br /&gt;iptables&lt;br /&gt;Stay tuned, for more information on above configuration.&lt;div class="blogger-post-footer"&gt;&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-9613613059289325";
/* 336x280, created 4/22/09 */
google_ad_slot = "5016102081";
google_ad_width = 336;
google_ad_height = 280;
//--&gt;
&lt;/script&gt;
&lt;script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7056185066716314055-3679887319276450966?l=www.linux-masters.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=oa9lPJAnNYk:VXV9-ORmcSQ:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=oa9lPJAnNYk:VXV9-ORmcSQ:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=oa9lPJAnNYk:VXV9-ORmcSQ:4cEx4HpKnUU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=oa9lPJAnNYk:VXV9-ORmcSQ:4cEx4HpKnUU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=oa9lPJAnNYk:VXV9-ORmcSQ:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=oa9lPJAnNYk:VXV9-ORmcSQ:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=oa9lPJAnNYk:VXV9-ORmcSQ:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=oa9lPJAnNYk:VXV9-ORmcSQ:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=oa9lPJAnNYk:VXV9-ORmcSQ:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=oa9lPJAnNYk:VXV9-ORmcSQ:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=oa9lPJAnNYk:VXV9-ORmcSQ:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=oa9lPJAnNYk:VXV9-ORmcSQ:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=oa9lPJAnNYk:VXV9-ORmcSQ:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=oa9lPJAnNYk:VXV9-ORmcSQ:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=oa9lPJAnNYk:VXV9-ORmcSQ:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=oa9lPJAnNYk:VXV9-ORmcSQ:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=oa9lPJAnNYk:VXV9-ORmcSQ:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/JustAnotherLinuxLoverBlog/~4/oa9lPJAnNYk" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.linux-masters.com/feeds/3679887319276450966/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.linux-masters.com/2010/02/centos-redhat-linux-install-keepalived.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7056185066716314055/posts/default/3679887319276450966?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7056185066716314055/posts/default/3679887319276450966?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/JustAnotherLinuxLoverBlog/~3/oa9lPJAnNYk/centos-redhat-linux-install-keepalived.html" title="CentOS / Redhat Linux: Install Keepalived To Provide IP Failover For Web Cluster" /><author><name>Linux4all</name><uri>http://www.blogger.com/profile/02426226910465069002</uri><email>hossam.abdelmoniem@gmail.com</email><gd:extendedProperty name="OpenSocialUserId" value="15171461427387673935" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/_ZJxSkuPMBj4/S4gUqxPmVcI/AAAAAAAAABg/TcCH4R8o3kk/s72-c/nginx.gif" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.linux-masters.com/2010/02/centos-redhat-linux-install-keepalived.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C08BQHc7fip7ImA9WxBVGUw.&quot;"><id>tag:blogger.com,1999:blog-7056185066716314055.post-3406795244500004162</id><published>2010-02-22T23:57:00.000-08:00</published><updated>2010-02-22T23:57:31.906-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-02-22T23:57:31.906-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Samba" /><title>Auto mounting a Samba share in Linux</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/583OiPSIzh-atfaoyGxGJsnxM7s/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/583OiPSIzh-atfaoyGxGJsnxM7s/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/583OiPSIzh-atfaoyGxGJsnxM7s/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/583OiPSIzh-atfaoyGxGJsnxM7s/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;script type="text/javascript"&gt;
google_ad_client = "pub-5406364303442190";/* 336x280, created 7/6/08 */google_ad_slot = "2528346899";google_ad_width = 336;google_ad_height = 280;
&lt;/script&gt; &lt;script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"&gt;
&lt;/script&gt;&lt;script&gt;
google_protectAndRun("ads_core.google_render_ad", google_handleError, google_render
&lt;/script&gt;So you have that Samba server up and running and you can connect to it from Windows and Mac with ease. But when you turn to another &lt;span style="color: rgb(0, 114, 188) ! important; font-family: Helvetica,Arial,&amp;quot;Liberation Sans&amp;quot;,&amp;quot;Bitstream Vera Sans&amp;quot;,sans-serif; font-size: 12px; font-weight: 400; position: static;"&gt;&lt;span class="kLink" style="color: rgb(0, 114, 188) ! important; font-family: Helvetica,Arial,&amp;quot;Liberation Sans&amp;quot;,&amp;quot;Bitstream Vera Sans&amp;quot;,sans-serif; font-size: 12px; font-weight: 400; position: relative;"&gt;Linux&lt;/span&gt;&lt;/span&gt; box that doesn’t have Konqueror, Nautilus, or Dolphin you can’t figure out the riddle of connecting. Or maybe you want to have this share mounted at boot time? How do you manage it?From the command line of course. Yes there are plenty of GUI tools that will allow you to connect to a Samba share easily, but they don’t help you set up anything to connect automatically. For that you will need to employ a few command line tools. But once it is finished, your system will be seamless.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;What you will need&lt;/strong&gt;&lt;br /&gt;
First I am going to assume you have your Samba server set up and you are able to connect to it from other machines. Outside of that you will need only one piece of software installed on your Linux machine: smbclient. This will be in your distributions’ repositories so just open up your Add/Remove &lt;span style="color: rgb(0, 114, 188) ! important; font-family: Helvetica,Arial,&amp;quot;Liberation Sans&amp;quot;,&amp;quot;Bitstream Vera Sans&amp;quot;,sans-serif; font-size: 12px; font-weight: 400; position: static;"&gt;&lt;span class="kLink" style="color: rgb(0, 114, 188) ! important; font-family: Helvetica,Arial,&amp;quot;Liberation Sans&amp;quot;,&amp;quot;Bitstream Vera Sans&amp;quot;,sans-serif; font-size: 12px; font-weight: 400; position: relative;"&gt;Software&lt;/span&gt;&lt;/span&gt; utility, search for smbclient, select it, and click Apply.&lt;br /&gt;
Once smbclient is installed you are ready to go.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;A test&lt;/strong&gt;&lt;br /&gt;
Let’s first test to make sure your Linux box can see the Samba share. You will need either sudo or root access to do this. Issue the command:&lt;br /&gt;
smbclient //IP_TO_SAMBA_SERVER/SHARE_NAME -U USERNAME&lt;br /&gt;
Where:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;IP_TO_SAMBA_SERVER is the IP address of your Samba server.&lt;/li&gt;
&lt;li&gt;SHARE_NAME is the share you want to connect to.&lt;/li&gt;
&lt;li&gt;USERNAME is the user name you connect to the share with.&lt;/li&gt;
&lt;/ul&gt;If all is well you should see something like this:&lt;br /&gt;
&lt;em&gt;Enter wallenmusic’s password: &lt;/em&gt;&lt;em&gt;&lt;/em&gt;&lt;br /&gt;
&lt;em&gt;Domain=[MONKEYPANTZ] OS=[Unix] Server=[Samba 3.2.5]&lt;/em&gt;&lt;br /&gt;
&lt;em&gt;smb: \&amp;gt;&lt;/em&gt;&lt;br /&gt;
If you see that you can type &lt;em&gt;quit &lt;/em&gt;and then hit the Enter key to escape this prompt.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Setup&lt;/strong&gt;&lt;br /&gt;
The first thing you need to do is create a directory to mount the Samba share to. I created the directory &lt;strong&gt;/data&lt;em&gt; &lt;/em&gt;&lt;/strong&gt;with the command:&lt;br /&gt;
&lt;em&gt;sudo mkdir /data&lt;/em&gt;&lt;br /&gt;
Once that directory is created you can then mount it with the command:&lt;br /&gt;
mount -t smbfs -o username=USERNAME //IP_TO_SAMBA_SERVER/SAMBA_SHARE /data&lt;br /&gt;
Where:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;IP_TO_SAMBA_SERVER is the IP address of your Samba server.&lt;/li&gt;
&lt;li&gt;SHARE_NAME is the share you want to connect to.&lt;/li&gt;
&lt;li&gt;USERNAME is the user name you connect to the share with.&lt;/li&gt;
&lt;/ul&gt;Now if you check the &lt;strong&gt;/data&lt;/strong&gt; directory you should see a listing of the contents of the Samba share.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Automount&lt;/strong&gt;&lt;br /&gt;
Let’s make that share automount at boot. This will require editing your &lt;strong&gt;/etc/fstab&lt;/strong&gt; file, adding an entry for this Samba share. In this file (again you will have to have either root or sudo access) you will add a line like this:&lt;br /&gt;
&lt;code&gt;//IP_TO_SAMBA_SERVER/SAMBA_SHARE� /data smbfs username=USERNAME,password=PASSWORD, 0 0&lt;/code&gt;&lt;br /&gt;
Where:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;IP_TO_SAMBA_SERVER is the IP address of your Samba server.&lt;/li&gt;
&lt;li&gt;SHARE_NAME is the share you want to connect to.&lt;/li&gt;
&lt;li&gt;USERNAME is the user name you connect to the share with.&lt;/li&gt;
&lt;li&gt;PASSWORD is the password for the Samba user&lt;/li&gt;
&lt;/ul&gt;Once that entry is saved unmount the &lt;strong&gt;/data &lt;/strong&gt;directory with the command:&lt;br /&gt;
umount /data&lt;br /&gt;
so you can test your automount entry.&lt;br /&gt;
Now, enter the command:&lt;br /&gt;
mount -a&lt;br /&gt;
If there are no errors you should see the contents of the Samba share in the &lt;strong&gt;/data&lt;/strong&gt; directory.&lt;br /&gt;
That’s it. Congratulations, you now have an automounted Samba share on your Linux machine.&lt;br /&gt;
&lt;div class="zemanta-pixie" style="height: 15px; margin-top: 10px;"&gt;&lt;img alt="" class="zemanta-pixie-img" src="http://img.zemanta.com/pixy.gif?x-id=ed519e54-3f0a-4418-9d91-44f78d38b3a1" style="border: medium none; float: right;" /&gt;&lt;span class="zem-script more-related pretty-attribution"&gt;&lt;script defer="defer" src="http://static.zemanta.com/readside/loader.js" type="text/javascript"&gt;
&lt;/script&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-9613613059289325";
/* 336x280, created 4/22/09 */
google_ad_slot = "5016102081";
google_ad_width = 336;
google_ad_height = 280;
//--&gt;
&lt;/script&gt;
&lt;script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7056185066716314055-3406795244500004162?l=www.linux-masters.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=0jjM9qCdQls:n2MP6hQon8c:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=0jjM9qCdQls:n2MP6hQon8c:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=0jjM9qCdQls:n2MP6hQon8c:4cEx4HpKnUU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=0jjM9qCdQls:n2MP6hQon8c:4cEx4HpKnUU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=0jjM9qCdQls:n2MP6hQon8c:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=0jjM9qCdQls:n2MP6hQon8c:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=0jjM9qCdQls:n2MP6hQon8c:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=0jjM9qCdQls:n2MP6hQon8c:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=0jjM9qCdQls:n2MP6hQon8c:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=0jjM9qCdQls:n2MP6hQon8c:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=0jjM9qCdQls:n2MP6hQon8c:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=0jjM9qCdQls:n2MP6hQon8c:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=0jjM9qCdQls:n2MP6hQon8c:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=0jjM9qCdQls:n2MP6hQon8c:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=0jjM9qCdQls:n2MP6hQon8c:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/JustAnotherLinuxLoverBlog/~4/0jjM9qCdQls" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.linux-masters.com/feeds/3406795244500004162/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.linux-masters.com/2010/02/auto-mounting-samba-share-in-linux.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7056185066716314055/posts/default/3406795244500004162?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7056185066716314055/posts/default/3406795244500004162?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/JustAnotherLinuxLoverBlog/~3/0jjM9qCdQls/auto-mounting-samba-share-in-linux.html" title="Auto mounting a Samba share in Linux" /><author><name>ahmedhamdy_27</name><uri>http://www.blogger.com/profile/16172823431787723954</uri><email>ahmedhamdy27@gmail.com</email><gd:extendedProperty name="OpenSocialUserId" value="09075669023378700400" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.linux-masters.com/2010/02/auto-mounting-samba-share-in-linux.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0IMQXc5fCp7ImA9WxBVGUw.&quot;"><id>tag:blogger.com,1999:blog-7056185066716314055.post-3645560989036451119</id><published>2010-02-22T23:52:00.000-08:00</published><updated>2010-02-22T23:53:00.924-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-02-22T23:53:00.924-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Linux" /><category scheme="http://www.blogger.com/atom/ns#" term="Webmin" /><title>Webmin: One Stop Linux Configuration</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/hudbF8NP22T6uZYXDd94hk-7Kuo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/hudbF8NP22T6uZYXDd94hk-7Kuo/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/hudbF8NP22T6uZYXDd94hk-7Kuo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/hudbF8NP22T6uZYXDd94hk-7Kuo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well, we were wrong and linuxconf has pretty much died off. Why did linuxconf die? Because new tools, such as Webmin? came along.&lt;br /&gt;
Webmin arrived on the scene in 1997 and pretty much blew away the competition. Webmin is truly a one-stop shop for Linux configuration. It’s modular so you can add and remove modules as they are needed. Webmin can configure your system, servers, networking, hardware, clusters, you name it!&lt;br /&gt;
Even though Webmin is a web-based utility, it does not require a server to be installed or running. Webmin contains its own built-in server so you will not need Apache running. Webmin does have to be running in order to log in.&lt;br /&gt;
&lt;span id="more-11444"&gt;&lt;/span&gt;The easiest way to install Webmin is to open up your Add/Remove Software utility, do a search for webmin, and install it. Or you can go to the &lt;a href="http://www.webmin.com/" target="_blank" title="Webmin"&gt;Webmin Site&lt;/a&gt;, download the the appropriate binary and let your package manager do the work for you. If you are wanting to install Webmin on a headless server you can do the following:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Secure shell to your server&lt;/li&gt;
&lt;li&gt;Download the correct installation file using the &lt;i&gt;wget&lt;/i&gt; command.&lt;/li&gt;
&lt;li&gt;Issue the command to install Webmin (such as rpm -ivh webmind-XXX.rpm (where XXX is the release number)&lt;/li&gt;
&lt;/ul&gt;After the installation is complete you may have to start Webmin manually (the rpm installation starts the server for you). To start Webmin you will issue the command:&lt;br /&gt;
&lt;blockquote&gt;&lt;i&gt;/etc/rc.d/init.d/webmin start&lt;/i&gt;&lt;/blockquote&gt;&lt;i&gt;or&lt;/i&gt;&lt;br /&gt;
&lt;blockquote&gt;&lt;i&gt;/etc/init.d/webmin start&lt;br /&gt;
&lt;/i&gt;&lt;/blockquote&gt;Once you have started Webmin you log into it with with your browser by pointing it to:&lt;br /&gt;
&lt;blockquote&gt;&lt;i&gt;http://IP_OR_DOMAIN:10000&lt;/i&gt;&lt;/blockquote&gt;Where IP_OR_DOMAIN is the IP address or the domain Webmin is installed on. If you are using it for local configuration you can point your browser to &lt;i&gt;http://localhost:10000&lt;/i&gt;.&lt;br /&gt;
&lt;div class="wp-caption alignleft" id="attachment_11445" style="width: 309px;"&gt;&lt;img alt="Webmin Main Page" class="size-medium wp-image-11445" height="130" src="http://www.ghacks.net/wp-content/uploads/2009/03/webmin_main-499x216.png" width="299" /&gt;&lt;br /&gt;
&lt;div class="wp-caption-text"&gt;Webmin Main Page&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;
As you can see, in the image to the left, the default Webmin page is very easy to navigate.Upon installation one of the first links you should click on this page is the Webmin link in the left navigation. When that menu expands you will see a number of entries, of which one is called Webmin Configuration.&lt;br /&gt;
&lt;div class="wp-caption alignright" id="attachment_11446" style="width: 310px;"&gt;&lt;img alt="The Webmin Configuration Page" class="size-medium wp-image-11446" height="193" src="http://www.ghacks.net/wp-content/uploads/2009/03/webmin_configuratin-500x321.png" width="300" /&gt;&lt;br /&gt;
&lt;div class="wp-caption-text"&gt;The Webmin Configuration Page&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;
Click on the Webmin Configuration option to reveal a number of possible choices. This section is very important because you will configure access, logging, certificates, categories, and a number of other critical features.&lt;br /&gt;
Make sure, however, when you make any changes to Webmin that restart the Webmin server. You can restart Webmin by clicking the Restart Webmin button that is at the bottom of the Webmin Configuration page.&lt;br /&gt;
&lt;div class="wp-caption alignleft" id="attachment_11447" style="width: 310px;"&gt;&lt;img alt="Controlling Webmin" class="size-medium wp-image-11447" height="106" src="http://www.ghacks.net/wp-content/uploads/2009/03/webmin_restart-500x177.png" width="300" /&gt;&lt;br /&gt;
&lt;div class="wp-caption-text"&gt;Controlling Webmin&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;
In the same area of the restart button there are a few other important options. If you know you are going to be using Webmin for all of your configuration needs you will want to make sure Webmin starts at boot.&lt;br /&gt;
Another important screen to visit, before you jump into various modules, is the Webmin Users screen. In this screen you can define groups and users and their various permissions for the Webmin system. Here you can define what modules a user or group has access to which can be very handy.&lt;br /&gt;
Once you get beyond Webmin basic configuration it is time to poke around the various modules. In later articles I will discuss some of the best of the Webmin modules.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Final Thoughts&lt;/b&gt;&lt;br /&gt;
Webmin is one of the most powerful administration tools available. If you haven’t experienced the power that is Webmin, install it now and see how much power you can have at your fingertips.&lt;br /&gt;
&lt;div class="zemanta-pixie" style="height: 15px; margin-top: 10px;"&gt;&lt;img alt="" class="zemanta-pixie-img" src="http://img.zemanta.com/pixy.gif?x-id=9bd08522-a019-4dae-8b02-8518e38ddcc3" style="border: medium none; float: right;" /&gt;&lt;span class="zem-script more-related pretty-attribution"&gt;&lt;script defer="defer" src="http://static.zemanta.com/readside/loader.js" type="text/javascript"&gt;
&lt;/script&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-9613613059289325";
/* 336x280, created 4/22/09 */
google_ad_slot = "5016102081";
google_ad_width = 336;
google_ad_height = 280;
//--&gt;
&lt;/script&gt;
&lt;script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7056185066716314055-3645560989036451119?l=www.linux-masters.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=oqUXfQsivIs:ldMVLrD6LE0:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=oqUXfQsivIs:ldMVLrD6LE0:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=oqUXfQsivIs:ldMVLrD6LE0:4cEx4HpKnUU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=oqUXfQsivIs:ldMVLrD6LE0:4cEx4HpKnUU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=oqUXfQsivIs:ldMVLrD6LE0:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=oqUXfQsivIs:ldMVLrD6LE0:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=oqUXfQsivIs:ldMVLrD6LE0:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=oqUXfQsivIs:ldMVLrD6LE0:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=oqUXfQsivIs:ldMVLrD6LE0:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=oqUXfQsivIs:ldMVLrD6LE0:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=oqUXfQsivIs:ldMVLrD6LE0:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=oqUXfQsivIs:ldMVLrD6LE0:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=oqUXfQsivIs:ldMVLrD6LE0:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=oqUXfQsivIs:ldMVLrD6LE0:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=oqUXfQsivIs:ldMVLrD6LE0:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=oqUXfQsivIs:ldMVLrD6LE0:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=oqUXfQsivIs:ldMVLrD6LE0:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/JustAnotherLinuxLoverBlog/~4/oqUXfQsivIs" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.linux-masters.com/feeds/3645560989036451119/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.linux-masters.com/2010/02/webmin-one-stop-linux-configuration.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7056185066716314055/posts/default/3645560989036451119?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7056185066716314055/posts/default/3645560989036451119?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/JustAnotherLinuxLoverBlog/~3/oqUXfQsivIs/webmin-one-stop-linux-configuration.html" title="Webmin: One Stop Linux Configuration" /><author><name>ahmedhamdy_27</name><uri>http://www.blogger.com/profile/16172823431787723954</uri><email>ahmedhamdy27@gmail.com</email><gd:extendedProperty name="OpenSocialUserId" value="09075669023378700400" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.linux-masters.com/2010/02/webmin-one-stop-linux-configuration.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0QGQHY4eCp7ImA9WxBVGUw.&quot;"><id>tag:blogger.com,1999:blog-7056185066716314055.post-3836340099188932579</id><published>2010-02-22T23:48:00.000-08:00</published><updated>2010-02-22T23:48:41.830-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-02-22T23:48:41.830-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="PATH" /><title>Adding a directory to your $PATH</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/dnBdIwz_E-8A8EmxZtTVHZCnra0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/dnBdIwz_E-8A8EmxZtTVHZCnra0/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/dnBdIwz_E-8A8EmxZtTVHZCnra0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/dnBdIwz_E-8A8EmxZtTVHZCnra0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="zemanta-img" style="display: block; float: right; margin: 1em; width: 310px;"&gt;&lt;a href="http://commons.wikipedia.org/wiki/Image:Binary_executable_file2.png"&gt;&lt;img alt="hex dump (with hd ) of boot0 MBR loader of Fre..." height="265" src="http://upload.wikimedia.org/wikipedia/commons/thumb/2/29/Binary_executable_file2.png/300px-Binary_executable_file2.png" style="border: medium none; display: block;" width="300" /&gt;&lt;/a&gt;&lt;span class="zemanta-img-attribution"&gt;Image via &lt;a href="http://commons.wikipedia.org/wiki/Image:Binary_executable_file2.png"&gt;Wikipedia&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;In the &lt;span style="color: rgb(0, 0, 0) ! important; font-family: Helvetica,Arial,&amp;quot;Liberation Sans&amp;quot;,&amp;quot;Bitstream Vera Sans&amp;quot;,sans-serif; font-size: 12px; font-weight: 400; position: static;"&gt;&lt;span class="kLink" style="background-color: transparent; border-bottom: 1px solid rgb(0, 114, 188); font-family: Helvetica,Arial,&amp;quot;Liberation Sans&amp;quot;,&amp;quot;Bitstream Vera Sans&amp;quot;,sans-serif; font-size: 12px; font-weight: 400; position: relative;"&gt;Linux&lt;/span&gt;&lt;/span&gt;&lt;span style="color: black;"&gt; &lt;/span&gt;operating system the $PATH is a listing of all directories where the system will look for commands. What this means is that all of the commands located in the directories included in your path will be globally executable. For example: The &lt;strong&gt;/usr/bin&lt;/strong&gt; directory contains quite a lot of commands that can be excuted from within any directory on your system. Because of this you can issue the &lt;em&gt;ls&lt;/em&gt; command from within any directory and get the listing of the contents of that directory. If the &lt;em&gt;ls&lt;/em&gt; command wasn’t in a directory in your path you would have to include the explicite path to that command (i.e. &lt;strong&gt;/usr/bin/ls&lt;/strong&gt;).&lt;br /&gt;
As a Linux user you can add directories to your $PATH. This is helpful when you don’t want to add a command to a directory in your $PATH but you want that command to be globally executable. Doing this is actually quite easy.&lt;br /&gt;
&lt;br /&gt;
&lt;span id="more-13264"&gt;&lt;/span&gt;&lt;strong&gt;What is currently in your $PATH?&lt;/strong&gt;&lt;br /&gt;
NOTE: This article applies only when you are using the Bash shell. To find out what directories are included in your current $PATH issue the command:&lt;br /&gt;
&lt;blockquote&gt;&lt;em&gt;echo $PATH&lt;/em&gt;&lt;/blockquote&gt;You should see something like:&lt;br /&gt;
&lt;blockquote&gt;&lt;code&gt;/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/jlwallen/bin&lt;/code&gt;&lt;/blockquote&gt;Notice the &lt;strong&gt;/opt&lt;/strong&gt; directory is missing. Often the &lt;strong&gt;/opt&lt;/strong&gt; directory is a great place to “install” other applications for global use. But if this directory is not in your $PATH, you will always have to use the explicit path to call a command. With that in mind let’s add &lt;strong&gt;/opt&lt;/strong&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;.bash_profile&lt;/strong&gt;&lt;br /&gt;
In order to add a directory you have to edit a file in your ~/ (home) directory. The &lt;strong&gt;.bash_profile&lt;/strong&gt; file determines user specific environment and start up programs. This file also&amp;nbsp; checks for a &lt;strong&gt;.bashrc&lt;/strong&gt; file for aliases and functions, but that has nothing to do with your $PATH.&lt;br /&gt;
There is one particular line you need to examine in your &lt;strong&gt;.bash_profile&lt;/strong&gt;:&lt;br /&gt;
&lt;code&gt;PATH=$PATH:$HOME/bin&lt;/code&gt;&lt;br /&gt;
This is the line that determines anything extra in your $PATH. As you can see, in the example above, the extra directory added to the users’ $PATH is the &lt;strong&gt;~/bin&lt;/strong&gt; directory. Of course in most distributions this isn’t used (or even created during installation). Why &lt;strong&gt;~/bin&lt;/strong&gt; is still included I do not know. In order to add another directory to your $PATH in this line you would seperate the directories with a “:”. To add the &lt;strong&gt;/opt&lt;/strong&gt; directory that line would now look like:&lt;br /&gt;
&lt;blockquote&gt;&lt;code&gt;PATH=$PATH:$HOME/bin:/opt&lt;/code&gt;&lt;/blockquote&gt;As you can see the &lt;strong&gt;/opt&lt;/strong&gt; directory has been added proceeding a “:”. Complete this addition and save the file. You’re not done yet.&lt;br /&gt;
If you issue the command &lt;em&gt;echo $PATH &lt;/em&gt;you will still not see &lt;strong&gt;/opt&lt;/strong&gt; in the users’ $PATH. Why? You have to log out and log back in before this change will take effect. So log out, log back in, and issue the command again. Issuing the command &lt;em&gt;echo $PATH&lt;/em&gt; will not issue:&lt;br /&gt;
&lt;blockquote&gt;&lt;code&gt;/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/jlwallen/bin:/opt&lt;/code&gt;&lt;/blockquote&gt;Any command found in the &lt;strong&gt;/opt&lt;/strong&gt; directory is now global.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Final thoughts&lt;/strong&gt;&lt;br /&gt;
The $PATH is a very powerful tool to take advantage of in Linux. By using it you can install applications in directories outside of the norm and still make them global. I often install applications in the &lt;strong&gt;/opt&lt;/strong&gt; directory or will create a &lt;strong&gt;/data&lt;/strong&gt; directory for a more temporary application installation.&lt;br /&gt;
&lt;div class="zemanta-pixie" style="height: 15px; margin-top: 10px;"&gt;&lt;img alt="" class="zemanta-pixie-img" src="http://img.zemanta.com/pixy.gif?x-id=b7238493-3ff1-4b6b-b34a-881bfca59edb" style="border: medium none; float: right;" /&gt;&lt;span class="zem-script more-related pretty-attribution"&gt;&lt;script defer="defer" src="http://static.zemanta.com/readside/loader.js" type="text/javascript"&gt;
&lt;/script&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-9613613059289325";
/* 336x280, created 4/22/09 */
google_ad_slot = "5016102081";
google_ad_width = 336;
google_ad_height = 280;
//--&gt;
&lt;/script&gt;
&lt;script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7056185066716314055-3836340099188932579?l=www.linux-masters.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=TBnGWpEdnNs:WWjFOPcjVho:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=TBnGWpEdnNs:WWjFOPcjVho:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=TBnGWpEdnNs:WWjFOPcjVho:4cEx4HpKnUU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=TBnGWpEdnNs:WWjFOPcjVho:4cEx4HpKnUU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=TBnGWpEdnNs:WWjFOPcjVho:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=TBnGWpEdnNs:WWjFOPcjVho:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=TBnGWpEdnNs:WWjFOPcjVho:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=TBnGWpEdnNs:WWjFOPcjVho:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=TBnGWpEdnNs:WWjFOPcjVho:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=TBnGWpEdnNs:WWjFOPcjVho:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=TBnGWpEdnNs:WWjFOPcjVho:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=TBnGWpEdnNs:WWjFOPcjVho:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=TBnGWpEdnNs:WWjFOPcjVho:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=TBnGWpEdnNs:WWjFOPcjVho:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=TBnGWpEdnNs:WWjFOPcjVho:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=TBnGWpEdnNs:WWjFOPcjVho:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=TBnGWpEdnNs:WWjFOPcjVho:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/JustAnotherLinuxLoverBlog/~4/TBnGWpEdnNs" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.linux-masters.com/feeds/3836340099188932579/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.linux-masters.com/2010/02/adding-directory-to-your-path.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7056185066716314055/posts/default/3836340099188932579?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7056185066716314055/posts/default/3836340099188932579?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/JustAnotherLinuxLoverBlog/~3/TBnGWpEdnNs/adding-directory-to-your-path.html" title="Adding a directory to your $PATH" /><author><name>ahmedhamdy_27</name><uri>http://www.blogger.com/profile/16172823431787723954</uri><email>ahmedhamdy27@gmail.com</email><gd:extendedProperty name="OpenSocialUserId" value="09075669023378700400" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.linux-masters.com/2010/02/adding-directory-to-your-path.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEEBQ3g6eCp7ImA9WxBVFEQ.&quot;"><id>tag:blogger.com,1999:blog-7056185066716314055.post-8640549249431750045</id><published>2010-02-18T03:30:00.000-08:00</published><updated>2010-02-18T03:30:52.610-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-02-18T03:30:52.610-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="grub" /><category scheme="http://www.blogger.com/atom/ns#" term="reinstall grub" /><title>Howto Recover Grub2 After Windows Installation.</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/miQ4Sel3ifIerLeIRhQ0zoGHV_k/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/miQ4Sel3ifIerLeIRhQ0zoGHV_k/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/miQ4Sel3ifIerLeIRhQ0zoGHV_k/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/miQ4Sel3ifIerLeIRhQ0zoGHV_k/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="zemanta-img" style="display: block; float: right; margin: 1em; width: 275px;"&gt;&lt;span class="zemanta-img-attribution"&gt;&lt;br /&gt;
&lt;a href="http://commons.wikipedia.org/wiki/Image:Tux.png"&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
You will need a LIVE cd if you are going to recover an Ubuntu Box.Download Ubuntu Jaunty, Karmic whatever you want.Open the system with Live CD (I assume you are using Ubuntu Live CD).Press Alt+F2 and enter gnome-terminal command.And continue by entering :&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
&lt;blockquote&gt;&lt;code&gt;$sudo fdisk -l&lt;/code&gt;&lt;/blockquote&gt;&lt;br /&gt;
This will show your partition table.Here is my table to understand it better :&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;/dev/sda1              29        8369    66999082+  83  Linux&lt;br /&gt;
/dev/sda2   *        8370       13995    45190845    7  HPFS/NTFS&lt;br /&gt;
/dev/sda3           13996       14593     4803435    5  Extended&lt;br /&gt;
/dev/sda5           13996       14593     4803403+  82  Linux swap / Solaris&lt;/blockquote&gt;&lt;br /&gt;
Now i will mount Linux (sda1 here), i have no external boot partition as you can see.(IF YOU HAVE external one, do not forget to mount it! )&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;code&gt;$sudo mount /dev/sda1 /mnt&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;$sudo mount --bind /dev /mnt/dev&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;$sudo mount --bind /proc /mnt/proc&lt;/code&gt;&lt;/blockquote&gt;&lt;br /&gt;
The following command is optional (it copies resolv.conf)&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;code&gt;$sudo cp /etc/resolv.conf /mnt/etc/resolv.conf&lt;/code&gt;&lt;/blockquote&gt;&lt;br /&gt;
Now chroot into the enviroment we made :&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;code&gt;sudo chroot /mnt&lt;/code&gt;&lt;/blockquote&gt;&lt;br /&gt;
After chrooting, you do not need to add sudo before your commands because from now, you will run commands as root.&lt;br /&gt;
&lt;br /&gt;
You may want to edit /etc/default/grub file to fit your system (timeout options etc)&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;code&gt;#nano -w /etc/default/grub&lt;/code&gt;&lt;/blockquote&gt;&lt;br /&gt;
Play with the options if you want.(But do not forget to give grub-update command if you saved it ;) )&lt;br /&gt;
&lt;br /&gt;
Now install/recover Grub2 via :&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;code&gt;#grub-install /dev/sda&lt;/code&gt;&lt;/blockquote&gt;&lt;br /&gt;
command.However you may get errors with that code like me.If so please use this command :&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;code&gt;#grub-install --recheck /dev/sda&lt;/code&gt;&lt;/blockquote&gt;&lt;br /&gt;
Now you can  exit the chroot, umount the system and reboot your box :&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;code&gt;#exit&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;$sudo umount /mnt/dev&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;$sudo umount /mnt/proc&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;$sudo umount /mnt&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;$sudo reboot&lt;/code&gt;&lt;/blockquote&gt;&lt;div class="zemanta-pixie" style="height: 15px; margin-top: 10px;"&gt;&lt;img alt="" class="zemanta-pixie-img" src="http://img.zemanta.com/pixy.gif?x-id=f0fb721e-c49a-4d71-a38f-620746f436c0" style="border: medium none; float: right;" /&gt;&lt;span class="zem-script more-related pretty-attribution"&gt;&lt;script defer="defer" src="http://static.zemanta.com/readside/loader.js" type="text/javascript"&gt;
&lt;/script&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-9613613059289325";
/* 336x280, created 4/22/09 */
google_ad_slot = "5016102081";
google_ad_width = 336;
google_ad_height = 280;
//--&gt;
&lt;/script&gt;
&lt;script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7056185066716314055-8640549249431750045?l=www.linux-masters.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=x5d6XUFUIog:_ae66Hb-zQs:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=x5d6XUFUIog:_ae66Hb-zQs:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=x5d6XUFUIog:_ae66Hb-zQs:4cEx4HpKnUU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=x5d6XUFUIog:_ae66Hb-zQs:4cEx4HpKnUU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=x5d6XUFUIog:_ae66Hb-zQs:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=x5d6XUFUIog:_ae66Hb-zQs:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=x5d6XUFUIog:_ae66Hb-zQs:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=x5d6XUFUIog:_ae66Hb-zQs:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=x5d6XUFUIog:_ae66Hb-zQs:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=x5d6XUFUIog:_ae66Hb-zQs:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=x5d6XUFUIog:_ae66Hb-zQs:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=x5d6XUFUIog:_ae66Hb-zQs:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=x5d6XUFUIog:_ae66Hb-zQs:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=x5d6XUFUIog:_ae66Hb-zQs:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=x5d6XUFUIog:_ae66Hb-zQs:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=x5d6XUFUIog:_ae66Hb-zQs:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=x5d6XUFUIog:_ae66Hb-zQs:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/JustAnotherLinuxLoverBlog/~4/x5d6XUFUIog" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.linux-masters.com/feeds/8640549249431750045/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.linux-masters.com/2010/02/howto-recover-grub2-after-windows.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7056185066716314055/posts/default/8640549249431750045?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7056185066716314055/posts/default/8640549249431750045?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/JustAnotherLinuxLoverBlog/~3/x5d6XUFUIog/howto-recover-grub2-after-windows.html" title="Howto Recover Grub2 After Windows Installation." /><author><name>ahmedhamdy_27</name><uri>http://www.blogger.com/profile/16172823431787723954</uri><email>ahmedhamdy27@gmail.com</email><gd:extendedProperty name="OpenSocialUserId" value="09075669023378700400" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.linux-masters.com/2010/02/howto-recover-grub2-after-windows.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0ABRXg-fyp7ImA9WxBVFE8.&quot;"><id>tag:blogger.com,1999:blog-7056185066716314055.post-2305637349136031227</id><published>2010-02-17T07:49:00.000-08:00</published><updated>2010-02-17T07:49:14.657-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-02-17T07:49:14.657-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Operating system" /><title>Dear Windows, It's over</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/SuOTrzlIfykSXkDiznmmmeXMqHo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/SuOTrzlIfykSXkDiznmmmeXMqHo/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/SuOTrzlIfykSXkDiznmmmeXMqHo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/SuOTrzlIfykSXkDiznmmmeXMqHo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;Dear Windows Professional Service Pack 2:&lt;br /&gt;
&lt;br /&gt;
I didn't want to tell you this in person, because I thought it might be too complicated, and might take too long. After all, we've been together for a long time, almost five years and running now. I know, i know. I know you so well; your control panel, your installation procedures, even when you get mad and go all blue screen on me; what can I say, you kinda grew on me.&lt;br /&gt;
&lt;br /&gt;
But to be honest, things have been going downhill for a long time now. What happened to that lean, fast OS that i first installed? You know, the one that ran Civ 4, Vice City, and even True Crimes without a problem? The one that burned DVD's, CD's, the one that shared music with my xbox without a problem? I don't know. It seems like you've let go of yourself, to be honest. You take over 20 minutes to boot up, you run Civ4 slowly, heck, you even freeze up on me now when i try to watch video. What happened windows? Did you get so confortable that you thought I'd just deal with it?&lt;br /&gt;
&lt;br /&gt;
Well, i've been cheating. See, back in tenth grade, i messed around a bit with this chick, her name was Red Hat Linux. We met in school in my networking 5 class, and i got to know her pretty well. I was all up in her terminal, if you know what i mean &lt;img alt="" border="0" class="inlineimg" src="http://ubuntuforums.org/images/smilies/icon_razz.gif" title="Capital Razz" /&gt;. Well, I took her home, and we had a really rough one night stand. I decided she wsn't for me, and i went back to you, because i knew what i was missing. Well, Red Hat has a south african cousin, and her name's Ubuntu...she's kinda hot, too. SHe's got three cousins, Xubuntu, Edubuntu, and Kubuntu, too, and their all sexy.&lt;br /&gt;
&lt;br /&gt;
Well, I guess this letter is to let you know that it's over. I'm not going back, either. You can tempt me with your games, and all the software, but it's alright. I can get to know ubuntu, i can learn to work her terminals. Her freeware. Her internet support. After all, what can i say...she's sexy, fast, and free. ANd you're expensive, bloated, and well, always sick with viruses. I'm done.&lt;br /&gt;
&lt;br /&gt;
I know, i know. I freaked out and formatted you off my hard drive, and then i called you begging and pleading to take me back, and we had angry make up sex. But what was i thinking? I remembered all the bad times we had, and i called Ubuntu up and she understood me just fine. Before I knew it, we were hitting it off again. She installed really quickly, and didn't even need any drivers or anything. Worked beautifully. And did i remind you she's free? &lt;img alt="" border="0" class="inlineimg" src="http://ubuntuforums.org/images/smilies/icon_razz.gif" title="Capital Razz" /&gt;&lt;br /&gt;
&lt;br /&gt;
So Windows Professional Service Pack 2, i'm leaving you for Ubuntu know. It's over, we had a good run, but all expensive, virus laden, bloated software relationships must come to an end, right? I guess that's just how it has to be.&lt;br /&gt;
&lt;br /&gt;
Thanks for all the good times though! NOthing like a BSOD when i'm trying to watch a live debate on MSN or CNN, or crashign on me int he middle of civ4.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
But i have to go now. It's time to get down and dirty with ubuntu, and if i ever really miss you again, i'll just drink it away with some WINE.&lt;br /&gt;
&lt;br /&gt;
Sincerely,&lt;br /&gt;
&lt;br /&gt;
Bruno&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thanks for &lt;a href="http://ubuntuforums.org/showthread.php?p=4411307"&gt;Ubuntuforums&lt;/a&gt; . &lt;br /&gt;
&lt;div class="zemanta-pixie" style="height: 15px; margin-top: 10px;"&gt;&lt;img alt="" class="zemanta-pixie-img" src="http://img.zemanta.com/pixy.gif?x-id=58c0112f-61fc-43dc-87c4-3f4576808577" style="border: medium none; float: right;" /&gt;&lt;span class="zem-script more-related pretty-attribution"&gt;&lt;script defer="defer" src="http://static.zemanta.com/readside/loader.js" type="text/javascript"&gt;
&lt;/script&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-9613613059289325";
/* 336x280, created 4/22/09 */
google_ad_slot = "5016102081";
google_ad_width = 336;
google_ad_height = 280;
//--&gt;
&lt;/script&gt;
&lt;script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7056185066716314055-2305637349136031227?l=www.linux-masters.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=qpbFaY2ZLIs:PeiaYDhjeLU:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=qpbFaY2ZLIs:PeiaYDhjeLU:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=qpbFaY2ZLIs:PeiaYDhjeLU:4cEx4HpKnUU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=qpbFaY2ZLIs:PeiaYDhjeLU:4cEx4HpKnUU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=qpbFaY2ZLIs:PeiaYDhjeLU:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=qpbFaY2ZLIs:PeiaYDhjeLU:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=qpbFaY2ZLIs:PeiaYDhjeLU:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=qpbFaY2ZLIs:PeiaYDhjeLU:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=qpbFaY2ZLIs:PeiaYDhjeLU:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=qpbFaY2ZLIs:PeiaYDhjeLU:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=qpbFaY2ZLIs:PeiaYDhjeLU:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=qpbFaY2ZLIs:PeiaYDhjeLU:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=qpbFaY2ZLIs:PeiaYDhjeLU:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=qpbFaY2ZLIs:PeiaYDhjeLU:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=qpbFaY2ZLIs:PeiaYDhjeLU:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=qpbFaY2ZLIs:PeiaYDhjeLU:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=qpbFaY2ZLIs:PeiaYDhjeLU:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/JustAnotherLinuxLoverBlog/~4/qpbFaY2ZLIs" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.linux-masters.com/feeds/2305637349136031227/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.linux-masters.com/2010/02/dear-windows-its-over.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7056185066716314055/posts/default/2305637349136031227?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7056185066716314055/posts/default/2305637349136031227?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/JustAnotherLinuxLoverBlog/~3/qpbFaY2ZLIs/dear-windows-its-over.html" title="Dear Windows, It's over" /><author><name>ahmedhamdy_27</name><uri>http://www.blogger.com/profile/16172823431787723954</uri><email>ahmedhamdy27@gmail.com</email><gd:extendedProperty name="OpenSocialUserId" value="09075669023378700400" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.linux-masters.com/2010/02/dear-windows-its-over.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEIBQHk8fCp7ImA9WxBVE0w.&quot;"><id>tag:blogger.com,1999:blog-7056185066716314055.post-6074414007223801228</id><published>2010-02-16T01:21:00.000-08:00</published><updated>2010-02-16T01:29:11.774-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-02-16T01:29:11.774-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="mysql" /><category scheme="http://www.blogger.com/atom/ns#" term="database" /><title>Maintaining MySQL Databases</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/sQTx0B5e1ABPtFwXArkeD2iJLI4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/sQTx0B5e1ABPtFwXArkeD2iJLI4/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/sQTx0B5e1ABPtFwXArkeD2iJLI4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/sQTx0B5e1ABPtFwXArkeD2iJLI4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="zemanta-img" style="display: block; float: right; margin: 1em; width: 310px;"&gt;&lt;span class="zemanta-img-attribution"&gt;&lt;br /&gt;
&lt;a href="http://en.wikipedia.org/wiki/Image:MySQL.svg"&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;Posted on December 04th, 2009 in &lt;a href="http://beginlinux.com/blog/2009/12/maintaining-mysql-databases/"&gt;BeginLinux&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a href="http://en.wikipedia.org/wiki/Image:MySQL.svg" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img alt="MySQL GUI Tools" height="155" src="http://upload.wikimedia.org/wikipedia/en/thumb/6/62/MySQL.svg/300px-MySQL.svg.png" style="border: medium none; display: block;" width="591" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;/div&gt;&lt;br /&gt;
As a MySQL administrator, you’ll probably end up doing some preventive and corrective database maintenance.&amp;nbsp; You can use mysqlcheck for both.&lt;br /&gt;
First, consider the “virtual” database.&amp;nbsp; It has&amp;nbsp; one table called ‘accounts”.&amp;nbsp; You can check the whole database with the following command:&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;span style="color: #339966;"&gt;mysqlcheck -p -u root virtual&lt;/span&gt;&lt;br /&gt;
Enter password:&lt;br /&gt;
virtual.accounts&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OK&lt;/blockquote&gt;Now, what if we just want to check one table of the database?&lt;br /&gt;
&lt;blockquote&gt;&lt;span style="color: #339966;"&gt;mysqlcheck -p -u root virtual trivia&lt;/span&gt;&lt;br /&gt;
Enter password:&lt;br /&gt;
virtual.accounts&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OK&lt;/blockquote&gt;As you can see, all you have to do to check just one table is to specify the table name after you specify the database name.&amp;nbsp; Now, what if you have a database with more than two tables, and you want to check more than one, but not all of the tables?&amp;nbsp; That’s easy.&amp;nbsp; Just specify all of the tables that you want to check after you specify the database.&lt;br /&gt;
&lt;blockquote&gt;&lt;span style="color: #339966;"&gt;mysqlcheck -p -u root mysql db host proc&lt;/span&gt;&lt;br /&gt;
Enter password:&lt;br /&gt;
mysql.db&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OK&lt;br /&gt;
mysql.host&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OK&lt;br /&gt;
mysql.proc&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OK&lt;/blockquote&gt;You can also check more than one database at a time.&amp;nbsp; Let’s say that you want to check the “payroll” and the “contact” databases.&lt;br /&gt;
&lt;blockquote&gt;&lt;span style="color: #339966;"&gt;mysqlcheck -p -u root –databases payroll contact&lt;/span&gt;&lt;br /&gt;
Enter password:&lt;br /&gt;
payroll.last_name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OK&lt;br /&gt;
payroll.first_name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OK&lt;br /&gt;
payroll.SSN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OK&lt;br /&gt;
payroll.pay_rate&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OK&lt;br /&gt;
contact.last_name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OK&lt;br /&gt;
contact.first_name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OK&lt;br /&gt;
contact.phone_number&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OK&lt;/blockquote&gt;This time, by adding the “–databases” switch, all names that you enter on the command-line will be treated as database names.&lt;br /&gt;
It’s also a simple matter to check all databases at once, just by using the “–all-databases” switch:&lt;br /&gt;
&lt;blockquote&gt;&lt;span style="color: #339966;"&gt;mysqlcheck -p -u root –all-databases&lt;/span&gt;&lt;br /&gt;
Enter password:&lt;br /&gt;
contacts.names&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OK&lt;br /&gt;
contacts.phone_numbers&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OK&lt;br /&gt;
contacts.trivia&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OK&lt;br /&gt;
mysql.columns_priv&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OK&lt;br /&gt;
mysql.db&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OK&lt;br /&gt;
mysql.func&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OK&lt;br /&gt;
mysql.help_category&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OK&lt;br /&gt;
mysql.help_keyword&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OK&lt;br /&gt;
mysql.help_relation&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OK&lt;br /&gt;
mysql.help_topic&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OK&lt;br /&gt;
mysql.host&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OK&lt;br /&gt;
mysql.proc&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OK&lt;br /&gt;
mysql.procs_priv&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OK&lt;br /&gt;
mysql.tables_priv&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OK&lt;br /&gt;
mysql.time_zone&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OK&lt;br /&gt;
mysql.time_zone_leap_second&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OK&lt;br /&gt;
mysql.time_zone_name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OK&lt;br /&gt;
mysql.time_zone_transition&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OK&lt;br /&gt;
mysql.time_zone_transition_type&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OK&lt;br /&gt;
mysql.user&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OK&lt;/blockquote&gt;You can also use mysqlcheck to perform corrective maintenance.&amp;nbsp; There’s only one catch, though.&amp;nbsp; MySQL databases can use two different types of tables–either MyISAM tables or InnoDB tables.&amp;nbsp; While mysqlcheck can perform checks on either type of table, it can only repair MyISAM tables.&lt;br /&gt;
&lt;blockquote&gt;&lt;span style="color: #339966;"&gt;mysqlcheck -p -u root –repair virtual&lt;/span&gt;&lt;br /&gt;
Enter password:&lt;br /&gt;
virtual.accounts&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OK&lt;/blockquote&gt;You can do more extensive repairs by adding another switch:&lt;br /&gt;
&lt;blockquote&gt;mysqlcheck -p -u root –repair –extended virtual&lt;br /&gt;
Enter password:&lt;br /&gt;
virtual.accounts&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OK&lt;/blockquote&gt;Or, you can also do a quick repair:&lt;br /&gt;
&lt;blockquote&gt;&lt;span style="color: #339966;"&gt;mysqlcheck -p -u root –repair –quick virtual&lt;/span&gt;&lt;br /&gt;
Enter password:&lt;br /&gt;
virtual.accounts&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OK&lt;/blockquote&gt;&lt;div class="zemanta-pixie" style="height: 15px; margin-top: 10px;"&gt;&lt;img alt="" class="zemanta-pixie-img" src="http://img.zemanta.com/pixy.gif?x-id=d4aa65a2-b31b-488c-a272-5dd691d35e28" style="border: medium none; float: right;" /&gt;&lt;span class="zem-script more-related pretty-attribution"&gt;&lt;script defer="defer" src="http://static.zemanta.com/readside/loader.js" type="text/javascript"&gt;
&lt;/script&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-9613613059289325";
/* 336x280, created 4/22/09 */
google_ad_slot = "5016102081";
google_ad_width = 336;
google_ad_height = 280;
//--&gt;
&lt;/script&gt;
&lt;script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7056185066716314055-6074414007223801228?l=www.linux-masters.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=nScTzCNrJ9Y:z-bvSH8FYF0:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=nScTzCNrJ9Y:z-bvSH8FYF0:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=nScTzCNrJ9Y:z-bvSH8FYF0:4cEx4HpKnUU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=nScTzCNrJ9Y:z-bvSH8FYF0:4cEx4HpKnUU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=nScTzCNrJ9Y:z-bvSH8FYF0:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=nScTzCNrJ9Y:z-bvSH8FYF0:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=nScTzCNrJ9Y:z-bvSH8FYF0:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=nScTzCNrJ9Y:z-bvSH8FYF0:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=nScTzCNrJ9Y:z-bvSH8FYF0:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=nScTzCNrJ9Y:z-bvSH8FYF0:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=nScTzCNrJ9Y:z-bvSH8FYF0:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=nScTzCNrJ9Y:z-bvSH8FYF0:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=nScTzCNrJ9Y:z-bvSH8FYF0:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=nScTzCNrJ9Y:z-bvSH8FYF0:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=nScTzCNrJ9Y:z-bvSH8FYF0:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=nScTzCNrJ9Y:z-bvSH8FYF0:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=nScTzCNrJ9Y:z-bvSH8FYF0:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/JustAnotherLinuxLoverBlog/~4/nScTzCNrJ9Y" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.linux-masters.com/feeds/6074414007223801228/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.linux-masters.com/2010/02/maintaining-mysql-databases.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7056185066716314055/posts/default/6074414007223801228?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7056185066716314055/posts/default/6074414007223801228?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/JustAnotherLinuxLoverBlog/~3/nScTzCNrJ9Y/maintaining-mysql-databases.html" title="Maintaining MySQL Databases" /><author><name>ahmedhamdy_27</name><uri>http://www.blogger.com/profile/16172823431787723954</uri><email>ahmedhamdy27@gmail.com</email><gd:extendedProperty name="OpenSocialUserId" value="09075669023378700400" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.linux-masters.com/2010/02/maintaining-mysql-databases.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0cDRHw4eyp7ImA9WxBVEkU.&quot;"><id>tag:blogger.com,1999:blog-7056185066716314055.post-3725231223892328826</id><published>2010-02-15T17:49:00.000-08:00</published><updated>2010-02-15T17:51:15.233-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-02-15T17:51:15.233-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Linux backup tools" /><title>How To Back Up MySQL Databases With mylvmbackup</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/igOjppYnqxuTEj1pz5pwP0Y1bM4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/igOjppYnqxuTEj1pz5pwP0Y1bM4/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/igOjppYnqxuTEj1pz5pwP0Y1bM4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/igOjppYnqxuTEj1pz5pwP0Y1bM4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;span style="font-weight:bold;"&gt;How To Back Up MySQL Databases With mylvmbackup On Debian Lenny&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;mylvmbackup is a Perl script for quickly creating MySQL backups. It uses LVM's snapshot feature to do so.&lt;br /&gt;&lt;br /&gt;To perform a backup, mylvmbackup obtains a read lock on all tables and flushes all server caches to disk, creates a snapshot of the volume containing the MySQL data directory, and unlocks the tables again.&lt;br /&gt;&lt;br /&gt;This article shows how to use it on a Debian Lenny server.&lt;br /&gt;&lt;br /&gt;I do not issue any guarantee that this will work for you!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1 Preliminary Note&lt;br /&gt;I'm assuming that MySQL is already set up and running on your system. The system must use LVM, and the MySQL data directory (/var/lib/mysql) should have an LVM partition of its own (althouth that is optional).&lt;br /&gt;&lt;br /&gt;If you have read Back Up (And Restore) LVM Partitions With LVM Snapshots you know that LVM snapshots require some unused LVM partition for the snapshot.&lt;br /&gt;&lt;br /&gt;My test system has a second, currently unused hard drive /dev/sdb that will be used by mylvmbackup to create a temporary logical volume for the backup.&lt;br /&gt;&lt;br /&gt;This is my current situation:&lt;br /&gt;&lt;br /&gt;root@server1:~# df -h&lt;br /&gt;Filesystem            Size  Used Avail Use% Mounted on&lt;br /&gt;/dev/mapper/server1-root&lt;br /&gt;                       20G  808M   18G   5% /&lt;br /&gt;tmpfs                 252M     0  252M   0% /lib/init/rw&lt;br /&gt;varrun                252M   56K  251M   1% /var/run&lt;br /&gt;varlock               252M     0  252M   0% /var/lock&lt;br /&gt;udev                  252M  2.6M  249M   2% /dev&lt;br /&gt;tmpfs                 252M     0  252M   0% /dev/shm&lt;br /&gt;/dev/sda1             471M   23M  425M   6% /boot&lt;br /&gt;/dev/mapper/server1-mysql&lt;br /&gt;                      8.9G  170M  8.3G   2% /var/lib/mysql&lt;br /&gt;root@server1:~#&lt;br /&gt;&lt;br /&gt;As you see, I have two LVM partitions, / and /var/lib/mysql (plus an LVM swap partition not shown here).&lt;br /&gt;&lt;br /&gt;The volume group is named server1, and the volumes are named swap, root, and mysql:&lt;br /&gt;&lt;br /&gt;root@server1:~# pvdisplay&lt;br /&gt;  --- Physical volume ---&lt;br /&gt;  PV Name               /dev/sda5&lt;br /&gt;  VG Name               server1&lt;br /&gt;  PV Size               29.52 GB / not usable 3.66 MB&lt;br /&gt;  Allocatable           yes (but full)&lt;br /&gt;  PE Size (KByte)       4096&lt;br /&gt;  Total PE              7557&lt;br /&gt;  Free PE               0&lt;br /&gt;  Allocated PE          7557&lt;br /&gt;  PV UUID               0gCmpE-FGel-9ayg-E2yg-kkEu-B72X-kFvaye&lt;br /&gt;&lt;br /&gt;root@server1:~#&lt;br /&gt;&lt;br /&gt;root@server1:~# vgdisplay&lt;br /&gt;  --- Volume group ---&lt;br /&gt;  VG Name               server1&lt;br /&gt;  System ID&lt;br /&gt;  Format                lvm2&lt;br /&gt;  Metadata Areas        1&lt;br /&gt;  Metadata Sequence No  4&lt;br /&gt;  VG Access             read/write&lt;br /&gt;  VG Status             resizable&lt;br /&gt;  MAX LV                0&lt;br /&gt;  Cur LV                3&lt;br /&gt;  Open LV               3&lt;br /&gt;  Max PV                0&lt;br /&gt;  Cur PV                1&lt;br /&gt;  Act PV                1&lt;br /&gt;  VG Size               29.52 GB&lt;br /&gt;  PE Size               4.00 MB&lt;br /&gt;  Total PE              7557&lt;br /&gt;  Alloc PE / Size       7557 / 29.52 GB&lt;br /&gt;  Free  PE / Size       0 / 0&lt;br /&gt;  VG UUID               PH5Hpc-jqeP-BFYs-wWlA-hu03-qwuQ-0cNIu3&lt;br /&gt;&lt;br /&gt;root@server1:~#&lt;br /&gt;&lt;br /&gt;root@server1:~# lvdisplay&lt;br /&gt;  --- Logical volume ---&lt;br /&gt;  LV Name                /dev/server1/swap&lt;br /&gt;  VG Name                server1&lt;br /&gt;  LV UUID                RCeLCK-MO5p-xoMq-SwTT-n2NV-GaP6-GaemDp&lt;br /&gt;  LV Write Access        read/write&lt;br /&gt;  LV Status              available&lt;br /&gt;  # open                 2&lt;br /&gt;  LV Size                1.00 GB&lt;br /&gt;  Current LE             256&lt;br /&gt;  Segments               1&lt;br /&gt;  Allocation             inherit&lt;br /&gt;  Read ahead sectors     auto&lt;br /&gt;  - currently set to     256&lt;br /&gt;  Block device           254:0&lt;br /&gt;&lt;br /&gt;  --- Logical volume ---&lt;br /&gt;  LV Name                /dev/server1/root&lt;br /&gt;  VG Name                server1&lt;br /&gt;  LV UUID                5Wen7n-xYmh-MQz1-fKH5-0XXa-1y2t-V3PYbb&lt;br /&gt;  LV Write Access        read/write&lt;br /&gt;  LV Status              available&lt;br /&gt;  # open                 1&lt;br /&gt;  LV Size                19.53 GB&lt;br /&gt;  Current LE             5000&lt;br /&gt;  Segments               1&lt;br /&gt;  Allocation             inherit&lt;br /&gt;  Read ahead sectors     auto&lt;br /&gt;  - currently set to     256&lt;br /&gt;  Block device           254:1&lt;br /&gt;&lt;br /&gt;  --- Logical volume ---&lt;br /&gt;  LV Name                /dev/server1/mysql&lt;br /&gt;  VG Name                server1&lt;br /&gt;  LV UUID                wk8yb6-fDl8-4tg3-tneT-1dDe-wWdy-AfGZ5I&lt;br /&gt;  LV Write Access        read/write&lt;br /&gt;  LV Status              available&lt;br /&gt;  # open                 1&lt;br /&gt;  LV Size                8.99 GB&lt;br /&gt;  Current LE             2301&lt;br /&gt;  Segments               1&lt;br /&gt;  Allocation             inherit&lt;br /&gt;  Read ahead sectors     auto&lt;br /&gt;  - currently set to     256&lt;br /&gt;  Block device           254:2&lt;br /&gt;&lt;br /&gt;root@server1:~#&lt;br /&gt;&lt;br /&gt;Here's an overview of my two hard drives:&lt;br /&gt;root@server1:~# fdisk -l&lt;br /&gt;&lt;br /&gt;Disk /dev/sda: 32.2 GB, 32212254720 bytes&lt;br /&gt;255 heads, 63 sectors/track, 3916 cylinders&lt;br /&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;br /&gt;Disk identifier: 0x0009353f&lt;br /&gt;&lt;br /&gt;   Device Boot      Start         End      Blocks   Id  System&lt;br /&gt;/dev/sda1   *           1          62      497983+  83  Linux&lt;br /&gt;/dev/sda2              63        3916    30957255    5  Extended&lt;br /&gt;/dev/sda5              63        3916    30957223+  8e  Linux LVM&lt;br /&gt;&lt;br /&gt;Disk /dev/sdb: 10.7 GB, 10737418240 bytes&lt;br /&gt;255 heads, 63 sectors/track, 1305 cylinders&lt;br /&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;br /&gt;Disk identifier: 0x00000000&lt;br /&gt;&lt;br /&gt;Disk /dev/sdb doesn't contain a valid partition table&lt;br /&gt;root@server1:~#&lt;br /&gt;&lt;br /&gt;2 Preparing /dev/sdb&lt;br /&gt;Before we can create snapshots on /dev/sdb, we must partition it (Linux LVM) and add it to our volume group (server1). &lt;br /&gt;&lt;br /&gt;I will now create the partition /dev/sdb1 and add it to the server1 volume group:&lt;br /&gt;&lt;br /&gt;# fdisk /dev/sdb&lt;br /&gt;server1:~# fdisk /dev/sdb&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel Building a new DOS disklabel.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Changes will remain in memory only, until you decide to write them. After that, of course, the previous&lt;br /&gt;content won't be recoverable.&lt;br /&gt;&lt;br /&gt;The number of cylinders for this disk is set to 1305.&lt;br /&gt;&lt;br /&gt;There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with:&lt;br /&gt;1) software that runs at boot time (e.g., old versions of LILO)&lt;br /&gt;2) booting and partitioning software from other OSs&lt;br /&gt;   (e.g., DOS FDISK, OS/2 FDISK)&lt;br /&gt;Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)&lt;br /&gt;&lt;br /&gt;Command (m for help): &lt;-- n&lt;br /&gt;Command action&lt;br /&gt;   e   extended&lt;br /&gt;   p   primary partition (1-4)&lt;br /&gt;&lt;-- p&lt;br /&gt;Partition number (1-4): &lt;-- 1&lt;br /&gt;First cylinder (1-1305, default 1): &lt;-- [ENTER] &lt;br /&gt;Using default value 1&lt;br /&gt;Last cylinder or +size or +sizeM or +sizeK (1-1305, default 1305): &lt;-- [ENTER] &lt;br /&gt;Using default value 1305&lt;br /&gt;&lt;br /&gt;Command (m for help): &lt;-- t&lt;br /&gt;Selected partition 1&lt;br /&gt;Hex code (type L to list codes): &lt;-- 8e&lt;br /&gt;Changed system type of partition 1 to 8e (Linux LVM)&lt;br /&gt;&lt;br /&gt;Command (m for help): &lt;-- w&lt;br /&gt;The partition table has been altered!&lt;br /&gt;&lt;br /&gt;Calling ioctl() to re-read partition table.&lt;br /&gt;Syncing disks.&lt;br /&gt;pvcreate /dev/sdb1&lt;br /&gt;vgextend server1 /dev/sdb1&lt;br /&gt;&lt;br /&gt;That's it - we don't need to create any volumes on it - this will be done by mylvmbackup automatically.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;3 Installing And Using mylvmbackup&lt;br /&gt;Debian Lenny provides a package for mylvmbackup, therefore we can simply install it as follows:&lt;br /&gt;&lt;br /&gt;# aptitude install mylvmbackup&lt;br /&gt;&lt;br /&gt;Take a look at&lt;br /&gt;&lt;br /&gt;# man mylvmbackup&lt;br /&gt;&lt;br /&gt;to learn how to use it (read the part about InnoDB tables carefully if you're using InnoDB).&lt;br /&gt;&lt;br /&gt;The mylvmbackup configuration file is /etc/mylvmbackup.conf, so you can either specify your options on the command line or in that file (command line options will override the options in /etc/mylvmbackup.conf).&lt;br /&gt;&lt;br /&gt;The default backup directory is /var/cache/mylvmbackup/backup (unless you specify another location).&lt;br /&gt;&lt;br /&gt;A sample command for backing up MyISAM tables would be:&lt;br /&gt;&lt;br /&gt;# mylvmbackup --user=root --password=yourrootsqlpassword --mycnf=/etc/mysql/my.cnf --vgname=server1 --lvname=mysql --backuptype=tar&lt;br /&gt;&lt;br /&gt;And for InnoDB:&lt;br /&gt;# mylvmbackup --user=root --password=yourrootsqlpassword --innodb_recover --skip_flush_tables --mycnf=/etc/mysql/my.cnf --vgname=server1 --lvname=mysql --backuptype=tar&lt;br /&gt;&lt;br /&gt;Make sure you fill in the right password, volume group name (server1 here) and the volume name of the volume that contains the MySQL data (the volume is /dev/server1/mysql, therefore the name is mysql). &lt;br /&gt;&lt;br /&gt;I everything goes well, you should see lots of output:&lt;br /&gt;&lt;br /&gt;root@server1:~# mylvmbackup --user=root --password=yourrootsqlpassword --mycnf=/etc/mysql/my.cnf --vgname=server1 --lvname=mysql --backuptype=tar&lt;br /&gt;20100127 19:16:58 Info: Connecting to database...&lt;br /&gt;20100127 19:16:58 Info: Flushing tables with read lock...&lt;br /&gt;20100127 19:16:58 Info: Taking position record...&lt;br /&gt;20100127 19:16:58 Info: Taking snapshot...&lt;br /&gt;File descriptor 3 left open&lt;br /&gt;  Logical volume "mysql_snapshot" created&lt;br /&gt;20100127 19:16:58 Info: Unlocking tables...&lt;br /&gt;20100127 19:16:58 Info: Disconnecting from database...&lt;br /&gt;20100127 19:16:58 Info: Mounting snapshot...&lt;br /&gt;20100127 19:16:59 Info: Copying my.cnf...&lt;br /&gt;20100127 19:16:59 Info: Taking actual backup...&lt;br /&gt;20100127 19:16:59 Info: Creating tar archive /var/cache/mylvmbackup/backup/backup-20100127_191658_mysql.tar.gz&lt;br /&gt;backup/&lt;br /&gt;backup/mydb/&lt;br /&gt;backup/mydb/sys_modules.MYI&lt;br /&gt;backup/mydb/dns_a.frm&lt;br /&gt;backup/mydb/isp_dienste.MYD&lt;br /&gt;backup/mydb/isp_server_ip.frm&lt;br /&gt;backup/mydb/dns_spf.frm&lt;br /&gt;backup/mydb/dns_a.MYI&lt;br /&gt;backup/mydb/isp_fakt_dep.frm&lt;br /&gt;backup/mydb/multidoc_dep.frm&lt;br /&gt;backup/mydb/isp_isp_web_template.MYI&lt;br /&gt;backup/mydb/sys_nodes.MYD&lt;br /&gt;backup/mydb/listtype.MYD&lt;br /&gt;backup/mydb/help_documents.MYD&lt;br /&gt;backup/mydb/help_tickets.MYI&lt;br /&gt;backup/mydb/doctype.frm&lt;br /&gt;backup/mydb/login.MYI&lt;br /&gt;backup/mydb/isp_com.frm&lt;br /&gt;backup/mydb/help_documents.MYI&lt;br /&gt;backup/mydb/isp_dep.MYD&lt;br /&gt;backup/mydb/help_documents.frm&lt;br /&gt;backup/mydb/isp_server.MYD&lt;br /&gt;backup/mydb/isp_fakt_nodes.MYD&lt;br /&gt;backup/mydb/sys_config.MYD&lt;br /&gt;backup/mydb/dns_nodes.MYI&lt;br /&gt;backup/mydb/sys_config.MYI&lt;br /&gt;backup/mydb/isp_monitor.frm&lt;br /&gt;backup/mydb/isp_server_ip.MYI&lt;br /&gt;backup/mydb/isp_isp_datenbank.frm&lt;br /&gt;backup/mydb/dns_secondary.frm&lt;br /&gt;backup/mydb/isp_nodes.MYI&lt;br /&gt;backup/mydb/dns_isp_dns.MYI&lt;br /&gt;backup/mydb/help_nodes.frm&lt;br /&gt;backup/mydb/isp_fakt_nodes.frm&lt;br /&gt;backup/mydb/isp_server.MYI&lt;br /&gt;backup/mydb/isp_isp_domain.frm&lt;br /&gt;backup/mydb/dns_dep.frm&lt;br /&gt;backup/mydb/session.frm&lt;br /&gt;backup/mydb/isp_isp_cron.MYD&lt;br /&gt;backup/mydb/isp_fakt_record.MYI&lt;br /&gt;backup/mydb/isp_monitor.MYI&lt;br /&gt;backup/mydb/isp_fakt_rechnung.MYI&lt;br /&gt;backup/mydb/listtype.MYI&lt;br /&gt;backup/mydb/isp_fakt_rechnung.MYD&lt;br /&gt;backup/mydb/isp_traffic.frm&lt;br /&gt;backup/mydb/isp_fakt_dep.MYI&lt;br /&gt;backup/mydb/user_groups.frm&lt;br /&gt;backup/mydb/isp_fakt_record.frm&lt;br /&gt;backup/mydb/isp_fakt_artikel.MYD&lt;br /&gt;backup/mydb/isp_htaccess.MYD&lt;br /&gt;backup/mydb/sys_nodes.frm&lt;br /&gt;backup/mydb/groups.frm&lt;br /&gt;backup/mydb/login.MYD&lt;br /&gt;backup/mydb/isp_firewall.MYD&lt;br /&gt;backup/mydb/isp_server.frm&lt;br /&gt;backup/mydb/help_tickets.frm&lt;br /&gt;backup/mydb/multidoc_dep.MYD&lt;br /&gt;backup/mydb/dns_nodes.frm&lt;br /&gt;backup/mydb/dns_a.MYD&lt;br /&gt;backup/mydb/sys_config.frm&lt;br /&gt;backup/mydb/dns_isp_dns.frm&lt;br /&gt;backup/mydb/dns_mx.MYI&lt;br /&gt;backup/mydb/isp_isp_web.MYD&lt;br /&gt;backup/mydb/isp_serverstatus.MYI&lt;br /&gt;backup/mydb/isp_serverstatus.MYD&lt;br /&gt;backup/mydb/sys_dep.MYD&lt;br /&gt;backup/mydb/isp_isp_cron.MYI&lt;br /&gt;backup/mydb/session.MYD&lt;br /&gt;backup/mydb/isp_isp_admin.MYD&lt;br /&gt;backup/mydb/dns_ptr.frm&lt;br /&gt;backup/mydb/dns_mx.frm&lt;br /&gt;backup/mydb/isp_isp_domain.MYD&lt;br /&gt;backup/mydb/sys_dep.MYI&lt;br /&gt;backup/mydb/dns_spf.MYD&lt;br /&gt;backup/mydb/user_groups.MYD&lt;br /&gt;backup/mydb/sys_news.frm&lt;br /&gt;backup/mydb/isp_isp_actions.MYI&lt;br /&gt;backup/mydb/doctype.MYD&lt;br /&gt;backup/mydb/multidoc_nodes.frm&lt;br /&gt;backup/mydb/isp_fakt_artikel.frm&lt;br /&gt;backup/mydb/sys_news.MYD&lt;br /&gt;backup/mydb/isp_traffic.MYD&lt;br /&gt;backup/mydb/user_groups.MYI&lt;br /&gt;backup/mydb/sys_news.MYI&lt;br /&gt;backup/mydb/listtype.frm&lt;br /&gt;backup/mydb/del_status.frm&lt;br /&gt;backup/mydb/isp_fakt_nodes.MYI&lt;br /&gt;backup/mydb/isp_isp_kunde.MYD&lt;br /&gt;backup/mydb/isp_dienste.frm&lt;br /&gt;backup/mydb/dns_mx.MYD&lt;br /&gt;backup/mydb/doctype.MYI&lt;br /&gt;backup/mydb/help_tickets.MYD&lt;br /&gt;backup/mydb/dns_secondary.MYI&lt;br /&gt;backup/mydb/dns_ptr.MYD&lt;br /&gt;backup/mydb/isp_isp_reseller.frm&lt;br /&gt;backup/mydb/isp_dienste.MYI&lt;br /&gt;backup/mydb/isp_isp_datenbank.MYD&lt;br /&gt;backup/mydb/isp_isp_actions.MYD&lt;br /&gt;backup/mydb/isp_isp_web.frm&lt;br /&gt;backup/mydb/db.opt&lt;br /&gt;backup/mydb/isp_server_ip.MYD&lt;br /&gt;backup/mydb/multidoc_nodes.MYI&lt;br /&gt;backup/mydb/dns_nodes.MYD&lt;br /&gt;backup/mydb/isp_fakt_rechnung.frm&lt;br /&gt;backup/mydb/isp_isp_reseller.MYI&lt;br /&gt;backup/mydb/isp_nodes.MYD&lt;br /&gt;backup/mydb/isp_htaccess.MYI&lt;br /&gt;backup/mydb/isp_isp_web_template.frm&lt;br /&gt;backup/mydb/isp_isp_domain.MYI&lt;br /&gt;backup/mydb/dns_secondary.MYD&lt;br /&gt;backup/mydb/dns_dep.MYD&lt;br /&gt;backup/mydb/isp_firewall.MYI&lt;br /&gt;backup/mydb/help_nodes.MYI&lt;br /&gt;backup/mydb/isp_isp_admin.frm&lt;br /&gt;backup/mydb/isp_isp_cron.frm&lt;br /&gt;backup/mydb/isp_isp_datenbank.MYI&lt;br /&gt;backup/mydb/isp_traffic_ip.frm&lt;br /&gt;backup/mydb/isp_fakt_dep.MYD&lt;br /&gt;backup/mydb/isp_dep.MYI&lt;br /&gt;backup/mydb/dns_dep.MYI&lt;br /&gt;backup/mydb/isp_isp_reseller.MYD&lt;br /&gt;backup/mydb/dns_isp_dns.MYD&lt;br /&gt;backup/mydb/isp_fakt_artikel.MYI&lt;br /&gt;backup/mydb/multidoc_dep.MYI&lt;br /&gt;backup/mydb/multidoc_nodes.MYD&lt;br /&gt;backup/mydb/del_status.MYD&lt;br /&gt;backup/mydb/groups.MYD&lt;br /&gt;backup/mydb/isp_isp_web_template.MYD&lt;br /&gt;backup/mydb/isp_htaccess.frm&lt;br /&gt;backup/mydb/isp_dep.frm&lt;br /&gt;backup/mydb/isp_isp_web.MYI&lt;br /&gt;backup/mydb/isp_isp_user.frm&lt;br /&gt;backup/mydb/session.MYI&lt;br /&gt;backup/mydb/isp_isp_admin.MYI&lt;br /&gt;backup/mydb/isp_isp_kunde.MYI&lt;br /&gt;backup/mydb/isp_isp_user.MYI&lt;br /&gt;backup/mydb/isp_fakt_record.MYD&lt;br /&gt;backup/mydb/isp_nodes.frm&lt;br /&gt;backup/mydb/groups.MYI&lt;br /&gt;backup/mydb/del_status.MYI&lt;br /&gt;backup/mydb/dns_spf.MYI&lt;br /&gt;backup/mydb/isp_com.MYD&lt;br /&gt;backup/mydb/isp_isp_user.MYD&lt;br /&gt;backup/mydb/dns_cname.frm&lt;br /&gt;backup/mydb/isp_com.MYI&lt;br /&gt;backup/mydb/dns_cname.MYD&lt;br /&gt;backup/mydb/sys_modules.MYD&lt;br /&gt;backup/mydb/isp_traffic_ip.MYI&lt;br /&gt;backup/mydb/help_nodes.MYD&lt;br /&gt;backup/mydb/sys_user.frm&lt;br /&gt;backup/mydb/isp_traffic_ip.MYD&lt;br /&gt;backup/mydb/sys_user.MYD&lt;br /&gt;backup/mydb/sys_modules.frm&lt;br /&gt;backup/mydb/isp_serverstatus.frm&lt;br /&gt;backup/mydb/sys_dep.frm&lt;br /&gt;backup/mydb/isp_firewall.frm&lt;br /&gt;backup/mydb/isp_monitor.MYD&lt;br /&gt;backup/mydb/isp_isp_kunde.frm&lt;br /&gt;backup/mydb/dns_cname.MYI&lt;br /&gt;backup/mydb/isp_isp_actions.frm&lt;br /&gt;backup/mydb/sys_user.MYI&lt;br /&gt;backup/mydb/sys_nodes.MYI&lt;br /&gt;backup/mydb/dns_ptr.MYI&lt;br /&gt;backup/mydb/isp_traffic.MYI&lt;br /&gt;backup/mydb/login.frm&lt;br /&gt;backup/ib_logfile0&lt;br /&gt;backup/mysql_upgrade_info&lt;br /&gt;backup/debian-5.0.flag&lt;br /&gt;backup/mysql/&lt;br /&gt;backup/mysql/host.MYD&lt;br /&gt;backup/mysql/procs_priv.MYD&lt;br /&gt;backup/mysql/time_zone_transition.MYD&lt;br /&gt;backup/mysql/proc.MYI&lt;br /&gt;backup/mysql/time_zone_name.frm&lt;br /&gt;backup/mysql/time_zone_name.MYD&lt;br /&gt;backup/mysql/help_relation.MYI&lt;br /&gt;backup/mysql/user.MYD&lt;br /&gt;backup/mysql/help_category.MYI&lt;br /&gt;backup/mysql/time_zone.frm&lt;br /&gt;backup/mysql/func.MYD&lt;br /&gt;backup/mysql/help_category.MYD&lt;br /&gt;backup/mysql/time_zone_transition.frm&lt;br /&gt;backup/mysql/time_zone_name.MYI&lt;br /&gt;backup/mysql/help_category.frm&lt;br /&gt;backup/mysql/time_zone_leap_second.frm&lt;br /&gt;backup/mysql/time_zone_transition.MYI&lt;br /&gt;backup/mysql/help_relation.MYD&lt;br /&gt;backup/mysql/host.frm&lt;br /&gt;backup/mysql/db.frm&lt;br /&gt;backup/mysql/db.MYI&lt;br /&gt;backup/mysql/columns_priv.frm&lt;br /&gt;backup/mysql/time_zone.MYI&lt;br /&gt;backup/mysql/time_zone_leap_second.MYD&lt;br /&gt;backup/mysql/func.frm&lt;br /&gt;backup/mysql/columns_priv.MYI&lt;br /&gt;backup/mysql/help_topic.MYD&lt;br /&gt;backup/mysql/host.MYI&lt;br /&gt;backup/mysql/proc.frm&lt;br /&gt;backup/mysql/user.MYI&lt;br /&gt;backup/mysql/help_topic.MYI&lt;br /&gt;backup/mysql/help_relation.frm&lt;br /&gt;backup/mysql/tables_priv.frm&lt;br /&gt;backup/mysql/help_keyword.frm&lt;br /&gt;backup/mysql/user.frm&lt;br /&gt;backup/mysql/time_zone_transition_type.MYI&lt;br /&gt;backup/mysql/procs_priv.frm&lt;br /&gt;backup/mysql/help_topic.frm&lt;br /&gt;backup/mysql/procs_priv.MYI&lt;br /&gt;backup/mysql/time_zone_transition_type.MYD&lt;br /&gt;backup/mysql/func.MYI&lt;br /&gt;backup/mysql/proc.MYD&lt;br /&gt;backup/mysql/tables_priv.MYD&lt;br /&gt;backup/mysql/help_keyword.MYI&lt;br /&gt;backup/mysql/help_keyword.MYD&lt;br /&gt;backup/mysql/time_zone_leap_second.MYI&lt;br /&gt;backup/mysql/tables_priv.MYI&lt;br /&gt;backup/mysql/db.MYD&lt;br /&gt;backup/mysql/time_zone_transition_type.frm&lt;br /&gt;backup/mysql/time_zone.MYD&lt;br /&gt;backup/mysql/columns_priv.MYD&lt;br /&gt;backup/lost+found/&lt;br /&gt;backup/ibdata1&lt;br /&gt;backup/ib_logfile1&lt;br /&gt;backup-pos/backup-20100127_191658_mysql.pos&lt;br /&gt;backup-pos/backup-20100127_191658_my.cnf&lt;br /&gt;20100127 19:17:00 Info: DONE&lt;br /&gt;20100127 19:17:00 Info: Cleaning up...&lt;br /&gt;20100127 19:17:00 Info: LVM Usage stats:&lt;br /&gt;20100127 19:17:00 Info:   LV             VG      Attr   LSize Origin Snap%  Move Log Copy%  Convert&lt;br /&gt;20100127 19:17:00 Info:   mysql_snapshot server1 swi-a- 5.00G mysql    0.00&lt;br /&gt;  Logical volume "mysql_snapshot" successfully removed&lt;br /&gt;root@server1:~#&lt;br /&gt;&lt;br /&gt;Afterwards you can find the backup in the /var/cache/mylvmbackup/backup directory (unless you have specified another location):&lt;br /&gt;&lt;br /&gt;# ls -l /var/cache/mylvmbackup/backup&lt;br /&gt;root@server1:~# ls -l /var/cache/mylvmbackup/backup&lt;br /&gt;total 248&lt;br /&gt;-rw-r--r-- 1 root root 246847 2010-01-27 19:17 backup-20100127_191658_mysql.tar.gz&lt;br /&gt;root@server1:~#&lt;br /&gt;&lt;br /&gt;The tar.gz file contains two directories, backup (with the databases and tables from /var/lib/mysql which you can simply copy back after a database crash - the database should be stopped when you do this) and backup-pos which contains your my.cnf file (a backup of /etc/mysql/my.cnf):&lt;br /&gt;&lt;br /&gt;# cd /var/cache/mylvmbackup/backup&lt;br /&gt;tar xvfz backup-20100127_191658_mysql.tar.gz&lt;br /&gt;ls -l&lt;br /&gt;root@server1:/var/cache/mylvmbackup/backup# ls -l&lt;br /&gt;total 256&lt;br /&gt;drwxr-xr-x 5 mysql mysql   4096 2010-01-27 19:10 backup&lt;br /&gt;-rw-r--r-- 1 root  root  246847 2010-01-27 19:17 backup-20100127_191658_mysql.tar.gz&lt;br /&gt;drwxr-xr-x 2 root  root    4096 2010-01-27 19:24 backup-pos&lt;br /&gt;root@server1:/var/cache/mylvmbackup/backup#&lt;br /&gt;&lt;br /&gt;4 Links&lt;br /&gt;mylvmbackup: http://lenz.homelinux.org/mylvmbackup&lt;br /&gt;MySQL: http://www.mysql.com&lt;br /&gt;Debian: http://www.debian.org&lt;div class="blogger-post-footer"&gt;&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-9613613059289325";
/* 336x280, created 4/22/09 */
google_ad_slot = "5016102081";
google_ad_width = 336;
google_ad_height = 280;
//--&gt;
&lt;/script&gt;
&lt;script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7056185066716314055-3725231223892328826?l=www.linux-masters.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=7QeIB4PPxJM:YsYCramuHL8:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=7QeIB4PPxJM:YsYCramuHL8:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=7QeIB4PPxJM:YsYCramuHL8:4cEx4HpKnUU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=7QeIB4PPxJM:YsYCramuHL8:4cEx4HpKnUU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=7QeIB4PPxJM:YsYCramuHL8:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=7QeIB4PPxJM:YsYCramuHL8:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=7QeIB4PPxJM:YsYCramuHL8:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=7QeIB4PPxJM:YsYCramuHL8:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=7QeIB4PPxJM:YsYCramuHL8:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=7QeIB4PPxJM:YsYCramuHL8:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=7QeIB4PPxJM:YsYCramuHL8:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=7QeIB4PPxJM:YsYCramuHL8:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=7QeIB4PPxJM:YsYCramuHL8:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=7QeIB4PPxJM:YsYCramuHL8:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=7QeIB4PPxJM:YsYCramuHL8:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=7QeIB4PPxJM:YsYCramuHL8:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=7QeIB4PPxJM:YsYCramuHL8:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/JustAnotherLinuxLoverBlog/~4/7QeIB4PPxJM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.linux-masters.com/feeds/3725231223892328826/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.linux-masters.com/2010/02/how-to-back-up-mysql-databases-with.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7056185066716314055/posts/default/3725231223892328826?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7056185066716314055/posts/default/3725231223892328826?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/JustAnotherLinuxLoverBlog/~3/7QeIB4PPxJM/how-to-back-up-mysql-databases-with.html" title="How To Back Up MySQL Databases With mylvmbackup" /><author><name>Linux4all</name><uri>http://www.blogger.com/profile/02426226910465069002</uri><email>hossam.abdelmoniem@gmail.com</email><gd:extendedProperty name="OpenSocialUserId" value="15171461427387673935" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.linux-masters.com/2010/02/how-to-back-up-mysql-databases-with.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Dk4MQ349cCp7ImA9WxBVEkU.&quot;"><id>tag:blogger.com,1999:blog-7056185066716314055.post-3530800642285798292</id><published>2010-02-15T17:41:00.000-08:00</published><updated>2010-02-15T17:49:42.068-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-02-15T17:49:42.068-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Linux Tools" /><title>How to make Your Ubuntu Linux Enegy Efficient using PowerTop</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/oxPdv6CyWwwq179CTk60wG9KGhY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/oxPdv6CyWwwq179CTk60wG9KGhY/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/oxPdv6CyWwwq179CTk60wG9KGhY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/oxPdv6CyWwwq179CTk60wG9KGhY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;span style="font-weight:bold;"&gt;How to make Your Ubuntu Linux Enegy Efficient using PowerTop&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_ZJxSkuPMBj4/S3n5bLc66gI/AAAAAAAAABY/bhbI1JVrB6Q/s1600-h/PowerTool.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 211px;" src="http://2.bp.blogspot.com/_ZJxSkuPMBj4/S3n5bLc66gI/AAAAAAAAABY/bhbI1JVrB6Q/s320/PowerTool.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5438652270352460290" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;span style="font-weight:bold;"&gt;Since version 2.6.21, the Linux kernel has introduced a feature called tickless. the kernel no longer has a fixed 1000Hz timer tick.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;This will give a dramatic power savings because the CPU stays in low power mode for longer periods of time during system idle.&lt;br /&gt;&lt;br /&gt;A Nice handy tool, PowerTop has been created for reducing the Power Usage of Linux.&lt;br /&gt;&lt;br /&gt;This application will help to find the software components that are preventing optimal usage of your hardware and give proper suggestions for both hardware and software configurations to reduce power consumption of your system.&lt;br /&gt;&lt;br /&gt;So Now Your Ubuntu is energy Efficient.It is very useful for Laptop Users.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;How To Install PowerTop in Ubuntu&lt;br /&gt;&lt;br /&gt;Open a terminal and type the following&lt;br /&gt;&lt;br /&gt;$ sudo apt-get install powertop&lt;br /&gt;&lt;br /&gt;Or You can use Synaptic Package manager and select package powertop.&lt;div class="blogger-post-footer"&gt;&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-9613613059289325";
/* 336x280, created 4/22/09 */
google_ad_slot = "5016102081";
google_ad_width = 336;
google_ad_height = 280;
//--&gt;
&lt;/script&gt;
&lt;script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7056185066716314055-3530800642285798292?l=www.linux-masters.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=OVC1lvbC3oQ:tjjX3SkGAzE:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=OVC1lvbC3oQ:tjjX3SkGAzE:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=OVC1lvbC3oQ:tjjX3SkGAzE:4cEx4HpKnUU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=OVC1lvbC3oQ:tjjX3SkGAzE:4cEx4HpKnUU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=OVC1lvbC3oQ:tjjX3SkGAzE:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=OVC1lvbC3oQ:tjjX3SkGAzE:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=OVC1lvbC3oQ:tjjX3SkGAzE:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=OVC1lvbC3oQ:tjjX3SkGAzE:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=OVC1lvbC3oQ:tjjX3SkGAzE:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=OVC1lvbC3oQ:tjjX3SkGAzE:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=OVC1lvbC3oQ:tjjX3SkGAzE:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=OVC1lvbC3oQ:tjjX3SkGAzE:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=OVC1lvbC3oQ:tjjX3SkGAzE:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=OVC1lvbC3oQ:tjjX3SkGAzE:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=OVC1lvbC3oQ:tjjX3SkGAzE:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=OVC1lvbC3oQ:tjjX3SkGAzE:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=OVC1lvbC3oQ:tjjX3SkGAzE:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/JustAnotherLinuxLoverBlog/~4/OVC1lvbC3oQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.linux-masters.com/feeds/3530800642285798292/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.linux-masters.com/2010/02/how-to-make-your-ubuntu-linux-enegy.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7056185066716314055/posts/default/3530800642285798292?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7056185066716314055/posts/default/3530800642285798292?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/JustAnotherLinuxLoverBlog/~3/OVC1lvbC3oQ/how-to-make-your-ubuntu-linux-enegy.html" title="How to make Your Ubuntu Linux Enegy Efficient using PowerTop" /><author><name>Linux4all</name><uri>http://www.blogger.com/profile/02426226910465069002</uri><email>hossam.abdelmoniem@gmail.com</email><gd:extendedProperty name="OpenSocialUserId" value="15171461427387673935" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/_ZJxSkuPMBj4/S3n5bLc66gI/AAAAAAAAABY/bhbI1JVrB6Q/s72-c/PowerTool.jpg" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.linux-masters.com/2010/02/how-to-make-your-ubuntu-linux-enegy.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkQER3c4fyp7ImA9WxBVEkU.&quot;"><id>tag:blogger.com,1999:blog-7056185066716314055.post-1912992262483844887</id><published>2010-02-15T17:32:00.000-08:00</published><updated>2010-02-15T17:38:26.937-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-02-15T17:38:26.937-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Remote Desktop Solutions for Linux" /><title>15 Remote Desktop Solutions for Linux</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/RJRqZxM-j0-kK05IkPinrh2nYtk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/RJRqZxM-j0-kK05IkPinrh2nYtk/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/RJRqZxM-j0-kK05IkPinrh2nYtk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/RJRqZxM-j0-kK05IkPinrh2nYtk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; "&gt;&lt;span class="zo" style="margin-bottom: 0.4em; "&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;15 Remote Desktop Solutions for Linux.&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; "&gt;&lt;span class="zo" style="margin-bottom: 0.4em; "&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="HgYomf"&gt;&lt;span class="QGJaM Ig" style="display: block; "&gt;There are a wide range of remote desktop applications that are available that can be used to connect to Windows environment but there aren’t too many that can be used to remote desktop from Linux to Linux or Windows to Linux.&lt;br /&gt;&lt;br /&gt;With this I mean, getting entire desktop of remote Linux environment on your local workstation.&lt;br /&gt;&lt;br /&gt;Most people who are used to a Unix-style environment know that a machine can be reached over the network at the shell level using utilities like telnet or ssh.&lt;br /&gt;&lt;br /&gt;And some people realize that X Windows output can be redirected back to the client workstation. But many people don’t realize that it is easy to use an entire desktop over the network. There are a several of open source applications that can be used to achieve this.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;1)  VNC (Virtual Network Computing&lt;/strong&gt;)&lt;br /&gt;is a remote display system which allows the user to view the desktop of a remote machine anywhere on the internet. It can also be directed through SSH for security.&lt;br /&gt;&lt;br /&gt;Basically you install VNC server on the server and install client on your local PC. Setup is extremely easy and server is very stable.&lt;br /&gt;&lt;br /&gt;On client side, you can set the resolution and connect to IP of VNC server. It can be a bit slow compared to Windows remote desktop and also has the tendency to take more time refreshing over low-bandwidth links.&lt;br /&gt;&lt;br /&gt;All in all VNC is an amazing piece of free software that gets the job done.&lt;br /&gt;&lt;br /&gt;There is RealVNC , TightVNC and UltraVNC. Each has it’s advantages and disadvantages. Most popular one is RealVNC but if you’re upto it, experiment with all three and choose the one that works for you best.&lt;br /&gt;&lt;br /&gt;By default, communication between client and server is in clear text on port 5900. However, you can easily route all traffic via SSH tunnel.&lt;br /&gt;&lt;br /&gt;Here is a quick way of setting it up if you have access to command line shell:&lt;br /&gt;&lt;pre&gt;&lt;/pre&gt;&lt;pre&gt;# ssh -ND 5900 @&lt;a href="http://remote.server.com" class="ot-anchor"&gt;remote.server.com&lt;/a&gt;&lt;/pre&gt;&lt;pre&gt;&lt;/pre&gt;Wh&lt;wbr&gt;en you get prompted, enter your password. Pop open VNC client and connect to ‘localhost’. This’ll route your connection to VNC server on remote machine.&lt;br /&gt;&lt;br /&gt;You can download VNC from:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.realvnc.com/download.html"&gt;http://www.real&lt;wbr&gt;vnc.com/download.htm&lt;wbr&gt;l&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.tightvnc.com/download.html"&gt;http://www.tightvnc&lt;wbr&gt;.com/download.html&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.uvnc.com/"&gt;ht&lt;wbr&gt;tp://www.uvnc.com/&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;strong&gt;2) Then there is FreeNX.&lt;/strong&gt;&lt;br /&gt;FreeNX is a system that allows you to access your desktop from another machine over the internet. You can use this to login graphically to your desktop from a remote location.&lt;br /&gt;&lt;br /&gt;One example of its use would be to have a FreeNX server set up on your home computer, and graphically logging in to the home computer from your work computer, using a FreeNX client.&lt;br /&gt;&lt;br /&gt;It provides near local speed application responsiveness over high latency, low bandwidth links.&lt;br /&gt;&lt;br /&gt;FreeNX can be configured to run via SSH without any tunneling. It binds to your existing SSH install. Instead of guiding you through the installation of FreeNX in this article, you can visit the following URLs that’ll guide you through the installation on Ubuntu:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="https://help.ubuntu.com/community/FreeNX"&gt;https://help.&lt;wbr&gt;ubuntu.com/community&lt;wbr&gt;/FreeNX&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://ubuntuforums.org/showthread.php?t=97277&amp;amp;highlight=freenx"&gt;http://ubuntu&lt;wbr&gt;forums.org/showthrea&lt;wbr&gt;d.php?t=97277&amp;amp;highli&lt;wbr&gt;ght=freenx&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://freenx.berlios.de/"&gt;http://fre&lt;wbr&gt;enx.berlios.de/&lt;/a&gt; (FreeNX homepage)&lt;/li&gt;&lt;/ul&gt;&lt;strong&gt;3) The third free application is &lt;/strong&gt;&lt;strong&gt;2X Terminal Server for Linux.&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;2X TerminalServer for Linux is an Open Source project, licensed under the GPL and is free of charge.&lt;br /&gt;&lt;br /&gt;As far as performance goes, NoMachine’s technology is on par with Windows’ own Remote Desktop Protocol (RDP) suite, better than VNC.&lt;br /&gt;&lt;br /&gt;Both X2 and FreeNX is based on NoMachine technology.&lt;br /&gt;&lt;br /&gt;Here are some quick links if you’re interested in using this software:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Download at &lt;a href="http://www.2x.com/terminalserver/download.htm"&gt;http://www.2x.com/te&lt;wbr&gt;rminalserver/downloa&lt;wbr&gt;d.htm&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Forum is at &lt;a href="http://www.2x.com/forums"&gt;http://www.2x.com/fo&lt;wbr&gt;rums&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;strong&gt;4) Then there is is XDMCP.&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;The X Display Manager Control Protocol uses UDP port 177.&lt;br /&gt;&lt;br /&gt;Compared to the list above, it’s not as easy to setup for remote desktop but it’s the original way of doing this on Linux.&lt;br /&gt;&lt;br /&gt;You can get setup instructions and other tips in the following URL:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.tldp.org/HOWTO/XDMCP-HOWTO/intro.html"&gt;http://www.tldp.&lt;wbr&gt;org/HOWTO/XDMCP-HOWT&lt;wbr&gt;O/intro.html&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;strong&gt;5) CygwinX.&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;A complete Linux emulation on Windows. You’ll find every tool and app that you have on Linux on Cygwin.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Get it from &lt;a href="http://www.cygwin.com/"&gt;http://www.cygwin.co&lt;wbr&gt;m&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;strong&gt;6) XRDP.&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;RDP server that runs on Linux, thus allowing you to use Windows Remote Desktop Client or rdesktop to connect.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Get it from &lt;a href="http://sourceforge.net/projects/xrdp/"&gt;http://sourceforge.n&lt;wbr&gt;et/projects/xrdp/&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;strong&gt;7) x2vnc&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;great little utility that allows you to tie a linux and windows (or anything that can run the vncserver) together with a single keyboard/mouse, avoiding the need for a switcher box.&lt;br /&gt;&lt;br /&gt;Mousing cross screens transparently switches between machines, and cut and paste works.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Get it from &lt;a href="http://fredrik.hubbe.net/x2vnc.html"&gt;http://fredrik.hubbe&lt;wbr&gt;.net/x2vnc.html&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;strong&gt;8 ) Xming&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;It’s a great and lightweight implementation of X11 for Windows that allows you to connect to a Linux box.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;You can read about it at &lt;a href="http://freedesktop.org/wiki/Xming"&gt;http://freedesktop.o&lt;wbr&gt;rg/wiki/Xming&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;strong&gt;9) KDE Desktop Sharing (formerly krfb)&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;Part of KDE since version 3.1. It is located in the kdenetwork package. If your distribution splits the KDE applications into separate packets, you may find the client as ‘krdc’ and the server as ‘krfb’.&lt;br /&gt;&lt;br /&gt;Also uses VNC technology.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;10) X-Win32&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;Top rated PC X server solutions for Windows PCs connecting to remote Unix and Linux host systems.&lt;br /&gt;&lt;br /&gt;Works well over SSH.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Get it from &lt;a href="http://www.starnet.com/products/xwin32/"&gt;http://www.starnet.c&lt;wbr&gt;om/products/xwin32/&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;strong&gt;1&lt;wbr&gt;1) Single Click UltraVNC&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;In case you would like to remote control without any software installed on the target computer you need UltraVNC SC.&lt;br /&gt;&lt;br /&gt;The user on the to be controlled computer needs to simply click on a web page and remote controlling begins.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Get it from here &lt;a href="http://ultravnc.sourceforge.net/addons/singleclick.html"&gt;http://ultravnc.sour&lt;wbr&gt;ceforge.net/addons/s&lt;wbr&gt;ingleclick.html&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;strong&gt;12) CrossLoop&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;CrossLoop is a FREE secure screen sharing utility designed for people of all technical skill levels.&lt;br /&gt;&lt;br /&gt;CrossLoop extends the boundaries of VNC’s traditional screen sharing by enabling non-technical users to get connected from anywhere on the Internet in seconds without changing any firewall or router settings.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Get it from &lt;a href="http://www.crossloop.com/"&gt;http://www.crossloop&lt;wbr&gt;.com/&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;strong&gt;13) Thinstation&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;Although not a remote desktop app but worth mentioning here. Thin client linux distro for terminals using std. x86 hw.&lt;br /&gt;&lt;br /&gt;It can boot from network, pxe, syslinux,loadlin, CD, floppy or flash-disk and connect to servers using VNC, RDP, XDM, SSH and etc.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Get it from &lt;a href="http://sourceforge.net/projects/thinstation/"&gt;http://sourceforge.n&lt;wbr&gt;et/projects/thinstat&lt;wbr&gt;ion&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;strong&gt;14) rdesktop&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;an open source client for Windows NT Terminal Server and Windows 2000/2003 Terminal Services, capable of natively speaking Remote Desktop Protocol (RDP) in order to present the user’s NT desktop.&lt;br /&gt;&lt;br /&gt;rdesktop currently runs on most UNIX based platforms with the X Window System, and other ports should be fairly straightforward.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Down&lt;wbr&gt;load from: &lt;a href="http://www.rdesktop.org/"&gt;http://www.rdesktop.&lt;wbr&gt;org/&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;While you’re at it, get grdesktop from (&lt;a href="http://www.nongnu.org/grdesktop/" class="ot-anchor"&gt;http://www.nongnu.o&lt;wbr&gt;rg/grdesktop/&lt;/a&gt;). It is a GNOME frontend, for rdesktop.&lt;br /&gt;&lt;br /&gt;It can save several connections (including their options), and browse the network for available terminal servers.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;15) ssh -X&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;You can check out this great article written by a slashdot user sometime ago.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Read it here &lt;a href="http://slashdot.org/~Trolling4Dollars/journal/69740"&gt;http://slashdot.org/&lt;wbr&gt;~Trolling4Dollars/jo&lt;wbr&gt;urnal/69740&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h3&gt;&lt;span style="text-decoration: underline; "&gt;&lt;strong&gt;Windows to Mac / Mac to Windows&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/h3&gt;1) RDP Client for Mac&lt;br /&gt;allows you to connect to a Windows-based computer and work with programs and files on that computer from your Macintosh computer.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.microsoft.com/mac/downloads.aspx?pid=download&amp;amp;location=/mac/download/misc/rdc_update_103.xml&amp;amp;secid=80&amp;amp;ssid=10&amp;amp;flgnosysreq=True"&gt;Download it here&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;2) OSXVnc&lt;br /&gt;Vine Server is a full featured VNC server for Mac OS X providing remote access to the GUI, keyboard and mouse using Vine Viewer or any other VNC client.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Download it from&lt;a href="http://www.redstonesoftware.com/products/vine/server/vineosx/index.html"&gt; http://www.redstones&lt;wbr&gt;oftware.com/products&lt;wbr&gt;/vine/server/vineosx&lt;wbr&gt;/index.html&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;3) Chicken of the VNC&lt;br /&gt;A VNC client allows one to display and interact with a remote computer screen. In other words, you can use Chicken of the VNC to interact with a remote computer as though it’s right next to you.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Download it from &lt;a href="http://sourceforge.net/projects/cotvnc/"&gt;http://sourceforge.n&lt;wbr&gt;et/projects/cotvnc/&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;U&lt;wbr&gt;nfortunately I was not able to find too many available to connect to Mac from Windows other than VNC.&lt;br /&gt;&lt;br /&gt;I think Windows need to support RDP into Mac. Many people would benefit from this.&lt;br /&gt;&lt;br /&gt;If I am missing anything from the list, please let me know.&lt;div&gt;&lt;img width="1" height="1" src="https://blogger.googleusercontent.com/tracker/3950073089426506979-1564863121318568104?l=sattia.blogspot.com" alt="" /&gt;&lt;/div&gt;&lt;/span&gt;&lt;div class="Iw" style="clear: both; font-size: 0px; height: 0px; line-height: 0; "&gt;&lt;/div&gt;&lt;span class="Apple-style-span"  style="color:#55869C;"&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-9613613059289325";
/* 336x280, created 4/22/09 */
google_ad_slot = "5016102081";
google_ad_width = 336;
google_ad_height = 280;
//--&gt;
&lt;/script&gt;
&lt;script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7056185066716314055-1912992262483844887?l=www.linux-masters.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=9lyv2FcJc0Q:0G-U-8d_MmE:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=9lyv2FcJc0Q:0G-U-8d_MmE:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=9lyv2FcJc0Q:0G-U-8d_MmE:4cEx4HpKnUU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=9lyv2FcJc0Q:0G-U-8d_MmE:4cEx4HpKnUU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=9lyv2FcJc0Q:0G-U-8d_MmE:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=9lyv2FcJc0Q:0G-U-8d_MmE:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=9lyv2FcJc0Q:0G-U-8d_MmE:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=9lyv2FcJc0Q:0G-U-8d_MmE:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=9lyv2FcJc0Q:0G-U-8d_MmE:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=9lyv2FcJc0Q:0G-U-8d_MmE:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=9lyv2FcJc0Q:0G-U-8d_MmE:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=9lyv2FcJc0Q:0G-U-8d_MmE:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=9lyv2FcJc0Q:0G-U-8d_MmE:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=9lyv2FcJc0Q:0G-U-8d_MmE:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=9lyv2FcJc0Q:0G-U-8d_MmE:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=9lyv2FcJc0Q:0G-U-8d_MmE:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=9lyv2FcJc0Q:0G-U-8d_MmE:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/JustAnotherLinuxLoverBlog/~4/9lyv2FcJc0Q" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.linux-masters.com/feeds/1912992262483844887/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.linux-masters.com/2010/02/15-remote-desktop-solutions-for-linux.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7056185066716314055/posts/default/1912992262483844887?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7056185066716314055/posts/default/1912992262483844887?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/JustAnotherLinuxLoverBlog/~3/9lyv2FcJc0Q/15-remote-desktop-solutions-for-linux.html" title="15 Remote Desktop Solutions for Linux" /><author><name>Linux4all</name><uri>http://www.blogger.com/profile/02426226910465069002</uri><email>hossam.abdelmoniem@gmail.com</email><gd:extendedProperty name="OpenSocialUserId" value="15171461427387673935" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.linux-masters.com/2010/02/15-remote-desktop-solutions-for-linux.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEEEQXc-eip7ImA9WxBXGUk.&quot;"><id>tag:blogger.com,1999:blog-7056185066716314055.post-531306046425665001</id><published>2010-01-31T04:53:00.000-08:00</published><updated>2010-01-31T04:56:40.952-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-01-31T04:56:40.952-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Extract files from ISO" /><title>How to: Extract files from ISO CD images in Linux</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/iReX31AaGaI9d2r-VoN7pLsqsfs/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/iReX31AaGaI9d2r-VoN7pLsqsfs/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/iReX31AaGaI9d2r-VoN7pLsqsfs/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/iReX31AaGaI9d2r-VoN7pLsqsfs/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Under many situations you may  need to get a single file/many files from Linux ISO image.  &lt;/p&gt; &lt;p&gt;You can mount ISO images via the loop device. You need to use mount command. First login as a root user:&lt;/p&gt; &lt;h3&gt;Extract File(s) Under Linux OS&lt;/h3&gt; &lt;p&gt;Let us assume that your ISO image name is disk1.iso.&lt;/p&gt; &lt;h4&gt;Step # 1: First you need to create a directory /mnt/iso&lt;/h4&gt;  &lt;pre&gt;# mkdir /mnt/iso&lt;br /&gt;# mount -o loop disk1.iso /mnt/iso&lt;/pre&gt; &lt;h4&gt;Step # 3: Extract file&lt;/h4&gt; &lt;p&gt;Now you can easily copy file called file.txt from iso disk image to /tmp directory :&lt;/p&gt; &lt;pre&gt;# cd /mnt/iso&lt;br /&gt;# cp file.txt /tmp&lt;/pre&gt; &lt;h4&gt;Step # 4: Copy foo.rpm from ISO disk image:&lt;/h4&gt; &lt;pre&gt;# cd /mnt/iso/RedHat/RPMS&lt;br /&gt;# cp foo.rpm /tmp &lt;/pre&gt; &lt;h3&gt;Extract File(s) Under Windows XP or Vista Os&lt;/h3&gt; &lt;p&gt;Windows do not have in built capability as provided by Linux to extract file. Luckly many third party software exist my favorite is Winimage &lt;a href="http://www.winimage.com/"&gt;http://www.winimage.com/&lt;/a&gt;. Download trial version (I’m sure you will love to registered this tiny utility later):&lt;/p&gt; &lt;p&gt;1) Install Winimage software&lt;/p&gt; &lt;p&gt;2) Just double click on Linux ISO file&lt;/p&gt; &lt;p&gt;3) Select the desired file and hit CTRL + X (or from Image menu select extract)&lt;/p&gt; &lt;p&gt;For more information read man pages:&lt;/p&gt; &lt;pre&gt;man cp&lt;br /&gt;man mv&lt;br /&gt;man rpm&lt;br /&gt;man mount&lt;br /&gt;man mkdir&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-9613613059289325";
/* 336x280, created 4/22/09 */
google_ad_slot = "5016102081";
google_ad_width = 336;
google_ad_height = 280;
//--&gt;
&lt;/script&gt;
&lt;script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7056185066716314055-531306046425665001?l=www.linux-masters.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=14EmiP04vEk:x9eO8AKQAvU:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=14EmiP04vEk:x9eO8AKQAvU:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=14EmiP04vEk:x9eO8AKQAvU:4cEx4HpKnUU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=14EmiP04vEk:x9eO8AKQAvU:4cEx4HpKnUU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=14EmiP04vEk:x9eO8AKQAvU:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=14EmiP04vEk:x9eO8AKQAvU:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=14EmiP04vEk:x9eO8AKQAvU:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=14EmiP04vEk:x9eO8AKQAvU:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=14EmiP04vEk:x9eO8AKQAvU:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=14EmiP04vEk:x9eO8AKQAvU:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=14EmiP04vEk:x9eO8AKQAvU:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=14EmiP04vEk:x9eO8AKQAvU:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=14EmiP04vEk:x9eO8AKQAvU:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=14EmiP04vEk:x9eO8AKQAvU:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=14EmiP04vEk:x9eO8AKQAvU:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=14EmiP04vEk:x9eO8AKQAvU:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=14EmiP04vEk:x9eO8AKQAvU:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/JustAnotherLinuxLoverBlog/~4/14EmiP04vEk" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.linux-masters.com/feeds/531306046425665001/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.linux-masters.com/2010/01/how-to-extract-files-from-iso-cd-images.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7056185066716314055/posts/default/531306046425665001?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7056185066716314055/posts/default/531306046425665001?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/JustAnotherLinuxLoverBlog/~3/14EmiP04vEk/how-to-extract-files-from-iso-cd-images.html" title="How to: Extract files from ISO CD images in Linux" /><author><name>Linux4all</name><uri>http://www.blogger.com/profile/02426226910465069002</uri><email>hossam.abdelmoniem@gmail.com</email><gd:extendedProperty name="OpenSocialUserId" value="15171461427387673935" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.linux-masters.com/2010/01/how-to-extract-files-from-iso-cd-images.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A08EQn8_cSp7ImA9WxBQFUg.&quot;"><id>tag:blogger.com,1999:blog-7056185066716314055.post-7101535009287131562</id><published>2010-01-15T04:50:00.000-08:00</published><updated>2010-01-15T04:50:03.149-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-01-15T04:50:03.149-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="xsplash" /><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu" /><title>How To Change XSplash Themes in Ubuntu 9.10</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/qCjN58V18iZJhihwhoYIJ-sPDNA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/qCjN58V18iZJhihwhoYIJ-sPDNA/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/qCjN58V18iZJhihwhoYIJ-sPDNA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/qCjN58V18iZJhihwhoYIJ-sPDNA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;With every new release of Ubuntu, there s a new XSplash theme that comes in. Today we show you how to change it and also show you some cool themes you might want to add to your machine.&lt;br /&gt;
&lt;strong&gt;XSplash&lt;/strong&gt;&lt;br /&gt;
XSplash is a software project in the Ubuntu community that uses the X Window System to replace the scrolling-text screens that appear while booting a Linux-based computer with a graphical splash screen.&lt;br /&gt;
Previous versions of Ubuntu, &lt;em&gt;(before Karmic Koala)&lt;/em&gt; used USplash which now is history. The default XSplash screen in Karmic Koala looks something like the one below&amp;amp; which is actually not too bad.&lt;br /&gt;
&lt;img alt="Xsplash Default" class="alignnone size-full wp-image-7940" height="380" src="http://www.howtogeek.com/wp-content/uploads/2009/12/Xsplash-Default.png" width="600" /&gt;&lt;br /&gt;
However, you don t have to live with the default XSplash if you don t like it. You can always change your XSplash screen to make it look better, and customize it to your Ubuntu overall theme. The following is the XSplash screen that I am currently using.&lt;br /&gt;
&lt;img alt="XSplash New" class="alignnone size-full wp-image-7941" height="380" src="http://www.howtogeek.com/wp-content/uploads/2009/12/XSplash-New.png" width="600" /&gt;&lt;br /&gt;
&lt;strong&gt;Change Themes&lt;/strong&gt;&lt;br /&gt;
In order to change the XSplash screen in Ubuntu Karmic Koala follow these steps:&lt;br /&gt;
1. Open nautilus as root by typing  gksu nautilus  at the run prompt (Alt + F2).&lt;br /&gt;
2. Download the XSplash archive that you want to use and move the content of the archive to&lt;br /&gt;
&lt;br /&gt;
/usr/share/images/xsplash folder.&lt;br /&gt;
&lt;br /&gt;
&lt;em&gt;Note: Make sure that you take the back up of your current XSplash, by copying the default files to some safe location before copying the new XSplash theme files.&lt;/em&gt;&lt;br /&gt;
Once you have installed the new XSplash theme you can check how it looks by typing the following command at the terminal.&lt;br /&gt;
&lt;blockquote&gt;sudo xsplash&lt;br /&gt;
&lt;/blockquote&gt;&lt;strong&gt;Cool XSplash Themes&lt;/strong&gt;&lt;br /&gt;
Now that you know how to change it, let s take a look at some of the different themes. Here is a list of cool themes we ve found. &lt;br /&gt;
&lt;strong&gt;Fusion-GX-v00&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;/strong&gt; &lt;br /&gt;
&lt;strong&gt;&lt;img alt="Fusion-GX-v00 [200911-21]_1" class="alignnone size-full wp-image-8910" height="380" src="http://www.howtogeek.com/wp-content/uploads/2010/01/Fusion-GX-v00-200911-21_11.jpg" width="600" /&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;img alt="Fusion-GX-v00 [200911-21]_2" class="alignnone size-full wp-image-8911" height="380" src="http://www.howtogeek.com/wp-content/uploads/2010/01/Fusion-GX-v00-200911-21_2.jpg" width="600" /&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;img alt="Fusion-GX-v00 [200911-21]_3" class="alignnone size-full wp-image-8912" height="380" src="http://www.howtogeek.com/wp-content/uploads/2010/01/Fusion-GX-v00-200911-21_3.jpg" width="600" /&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;a href="http://gnome-look.org/content/show.php/Fusion-GX-v00+%5B200911-21%5D?content=115833"&gt;Download Fusion-GX-v00&lt;/a&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;br /&gt;
&lt;/strong&gt;&lt;strong&gt;Xsplash   Crunchy Branch&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;img alt="Xsplash - Crunchy Branch" class="alignnone size-full wp-image-8913" height="381" src="http://www.howtogeek.com/wp-content/uploads/2010/01/Xsplash-Crunchy-Branch.png" width="600" /&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;a href="http://gnome-look.org/content/show.php/Xsplash+-+Crunchy+Branch?content=115543"&gt;Download Xsplash Crunchy Branch&lt;/a&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;Ubuntu clean xsplash&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;img alt="Ubuntu clean xsplash" class="alignnone size-full wp-image-8914" height="454" src="http://www.howtogeek.com/wp-content/uploads/2010/01/Ubuntu-clean-xsplash.png" width="600" /&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;a href="http://gnome-look.org/content/show.php/Ubuntu+clean+xsplash?content=116667"&gt;Download Ubuntu clean xsplash&lt;/a&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;/strong&gt; &lt;br /&gt;
&lt;strong&gt;Mesh Grill&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;img alt="Mesh Grill" class="alignnone size-full wp-image-8915" height="492" src="http://www.howtogeek.com/wp-content/uploads/2010/01/Mesh-Grill.png" width="600" /&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;a href="http://gnome-look.org/content/show.php/Mesh+Grill+Xsplash?content=116102"&gt;Download Mesh Grill&lt;/a&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;XSplash-CF-GX&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;img alt="XSplash-CF-GX" class="alignnone size-full wp-image-8916" height="380" src="http://www.howtogeek.com/wp-content/uploads/2010/01/XSplash-CF-GX.png" width="600" /&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;a href="http://gnome-look.org/content/show.php/XSplash-CF-GX?content=115657"&gt;Download XSplash-CF-GX&lt;/a&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;br /&gt;
&lt;/strong&gt;&lt;strong&gt;PackoXsplash HD&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;img alt="PackoXsplash HD_1" class="alignnone size-full wp-image-8917" height="456" src="http://www.howtogeek.com/wp-content/uploads/2010/01/PackoXsplash-HD_1.png" width="600" /&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;img alt="PackoXsplash HD_2" class="alignnone size-full wp-image-8918" height="455" src="http://www.howtogeek.com/wp-content/uploads/2010/01/PackoXsplash-HD_2.png" width="600" /&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;a href="http://gnome-look.org/content/show.php/PackoXsplash+HD?content=115120"&gt;Download PackoXsplash HD&lt;/a&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;/strong&gt; &lt;br /&gt;
&lt;strong&gt;Xsplash (for netbook)&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;img alt="Xsplash (for netbook)" class="alignnone size-full wp-image-8919" height="457" src="http://www.howtogeek.com/wp-content/uploads/2010/01/Xsplash-for-netbook.png" width="600" /&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;a href="http://gnome-look.org/content/show.php/Xsplash+%28for+netbook%29?content=115052"&gt;Download Xsplash (for netbook)&lt;/a&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;Xsplash-Engranes-GX-01a&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;img alt="Xsplash-Engranes-GX-01a" class="alignnone size-full wp-image-8920" height="380" src="http://www.howtogeek.com/wp-content/uploads/2010/01/Xsplash-Engranes-GX-01a.png" width="600" /&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;a href="http://gnome-look.org/content/show.php/Xsplash-Engranes-GX-01a?content=115658"&gt;Download Xsplash-Engranes-GX-01a&lt;/a&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;/strong&gt; &lt;br /&gt;
&lt;strong&gt;Chromiu-GX&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;img alt="Chromiu-GX" class="alignnone size-full wp-image-8921" height="380" src="http://www.howtogeek.com/wp-content/uploads/2010/01/Chromiu-GX.png" width="600" /&gt;&lt;br /&gt;
&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;a href="http://gnome-look.org/content/show.php/Chromiu-GX?content=116004"&gt;Download Chromiu-GX&lt;/a&gt;&lt;/strong&gt;&lt;br /&gt;
This will allow you to customize your Ubuntu installation a bit more&amp;amp; especially if you match it with your overall unique Ubuntu theme. Have Fun!&lt;br /&gt;
&lt;br /&gt;
Original post by : &lt;a href="http://www.howtogeek.com/howto/7939/how-to-change-xsplash-themes-in-ubuntu-9.10/"&gt;HowToGeek&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-9613613059289325";
/* 336x280, created 4/22/09 */
google_ad_slot = "5016102081";
google_ad_width = 336;
google_ad_height = 280;
//--&gt;
&lt;/script&gt;
&lt;script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7056185066716314055-7101535009287131562?l=www.linux-masters.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=W8YEbfE-vfE:Sjv7nRiXNag:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=W8YEbfE-vfE:Sjv7nRiXNag:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=W8YEbfE-vfE:Sjv7nRiXNag:4cEx4HpKnUU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=W8YEbfE-vfE:Sjv7nRiXNag:4cEx4HpKnUU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=W8YEbfE-vfE:Sjv7nRiXNag:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=W8YEbfE-vfE:Sjv7nRiXNag:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=W8YEbfE-vfE:Sjv7nRiXNag:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=W8YEbfE-vfE:Sjv7nRiXNag:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=W8YEbfE-vfE:Sjv7nRiXNag:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=W8YEbfE-vfE:Sjv7nRiXNag:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=W8YEbfE-vfE:Sjv7nRiXNag:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=W8YEbfE-vfE:Sjv7nRiXNag:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=W8YEbfE-vfE:Sjv7nRiXNag:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=W8YEbfE-vfE:Sjv7nRiXNag:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=W8YEbfE-vfE:Sjv7nRiXNag:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=W8YEbfE-vfE:Sjv7nRiXNag:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=W8YEbfE-vfE:Sjv7nRiXNag:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/JustAnotherLinuxLoverBlog/~4/W8YEbfE-vfE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.linux-masters.com/feeds/7101535009287131562/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.linux-masters.com/2010/01/how-to-change-xsplash-themes-in-ubuntu.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7056185066716314055/posts/default/7101535009287131562?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7056185066716314055/posts/default/7101535009287131562?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/JustAnotherLinuxLoverBlog/~3/W8YEbfE-vfE/how-to-change-xsplash-themes-in-ubuntu.html" title="How To Change XSplash Themes in Ubuntu 9.10" /><author><name>ahmedhamdy_27</name><uri>http://www.blogger.com/profile/16172823431787723954</uri><email>ahmedhamdy27@gmail.com</email><gd:extendedProperty name="OpenSocialUserId" value="09075669023378700400" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.linux-masters.com/2010/01/how-to-change-xsplash-themes-in-ubuntu.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkIMQXY9fip7ImA9WxBQE0Q.&quot;"><id>tag:blogger.com,1999:blog-7056185066716314055.post-984093600322283545</id><published>2010-01-12T18:18:00.000-08:00</published><updated>2010-01-13T06:56:20.866-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-01-13T06:56:20.866-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Linux commands" /><title>10 Useful Linux Commands</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/YyuOgu2GzkH005zuRm1CT52RInw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/YyuOgu2GzkH005zuRm1CT52RInw/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/YyuOgu2GzkH005zuRm1CT52RInw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/YyuOgu2GzkH005zuRm1CT52RInw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;h3 class="post-title entry-title"&gt;10 Useful Linux Commands &lt;/h3&gt;Here's a list of 10 commands which may come handy when using the command  line in Linux:&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-weight: bold;"&gt;Search for all  files modified in the last N days containing a specific text in their  name&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;span style="color: #006600;"&gt;find DIR -mtime  -N -name "*TEXT*"&lt;/span&gt;&lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
For example:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt; &lt;span style="color: #006600;"&gt;find ~ -mtime -5 -name "*log*"&lt;/span&gt;&lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
Will  display all the files modified in the past 5 days which include the  text 'log' in their filename.&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-weight: bold;"&gt;Determine  which processes use the most memory&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt; &lt;span style="color: #006600;"&gt;ps aux | sort -nk 4 | tail&lt;/span&gt;&lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
Will show the  first 10 processes which use the most memory, using ascendant sorting.  Alternately:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt; &lt;span style="color: #006600;"&gt;ps aux | sort  -nrk 4 | head&lt;/span&gt;&lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
Will show the first 10 processes using most  memory, using descendent sorting.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style="text-align: center;"&gt;&lt;span style="font-size: 85%;"&gt;Output of ps aux | sort -nrk 4 |  head&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;a href="http://4.bp.blogspot.com/_D1EpnOVJuA8/SzTA0zNuowI/AAAAAAAAC4c/MX2N69gDQTE/s1600-h/psaux_mem.png" onblur="try  {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5419168264967070466" src="http://4.bp.blogspot.com/_D1EpnOVJuA8/SzTA0zNuowI/AAAAAAAAC4c/MX2N69gDQTE/s400/psaux_mem.png" style="cursor: pointer; display: block; height: 77px; margin: 0px auto 10px; text-align: center; width: 400px;" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;span style="font-weight: bold;"&gt;Display the username which is currently  logged in&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;span style="color: #006600;"&gt;whoami&lt;/span&gt;&lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
&lt;span style="font-weight: bold;"&gt;Show date using format modifiers&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;span style="color: #006600;"&gt;date +"%H:%M:%S&lt;/span&gt;"&lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
Will output time in format HOUR:MINUTE:SECOND. You can use any format specifiers explained in the man page. The double quotes are required in case you need to use spaces.&lt;br /&gt;
&lt;br /&gt;
&lt;div style="text-align: center;"&gt;&lt;span style="font-size: 85%;"&gt;Showing date in format month, day year&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;a href="http://3.bp.blogspot.com/_D1EpnOVJuA8/SzTA0RiDwhI/AAAAAAAAC4M/G19qrhL3CDU/s1600-h/date.png" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5419168255925535250" src="http://3.bp.blogspot.com/_D1EpnOVJuA8/SzTA0RiDwhI/AAAAAAAAC4M/G19qrhL3CDU/s400/date.png" style="cursor: pointer; display: block; height: 56px; margin: 0px auto 10px; text-align: center; width: 329px;" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;span style="font-weight: bold;"&gt;Show info about a specific user&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;span style="color: #006600;"&gt;finger $USER&lt;/span&gt;&lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
&lt;div style="text-align: center;"&gt;&lt;span style="font-size: 85%;"&gt;Output of  finger $USER&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;a href="http://4.bp.blogspot.com/_D1EpnOVJuA8/SzTA0vo_SDI/AAAAAAAAC4U/8OdyCHN2tiE/s1600-h/finger.png" onblur="try  {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5419168264007665714" src="http://4.bp.blogspot.com/_D1EpnOVJuA8/SzTA0vo_SDI/AAAAAAAAC4U/8OdyCHN2tiE/s400/finger.png" style="cursor: pointer; display: block; height: 94px; margin: 0px auto 10px; text-align: center; width: 400px;" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;span style="font-weight: bold;"&gt;Show disk usage separately for each  partition&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;span style="color: #006600;"&gt;df -h&lt;/span&gt;&lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
The  -h switch will tell df to show human-readable sizes (KB, MB and GB when  it is the case)&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;span style="color: #006600;"&gt;df -B 1K&lt;/span&gt;&lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
Will  show sizes in kilobytes.&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-weight: bold;"&gt;Show  which modules are loaded&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;span style="color: #006600;"&gt;lsmod&lt;/span&gt;&lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
&lt;span style="font-weight: bold;"&gt;Add or remove a  module to/from the Linux kernel&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Insert a module:&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;span style="color: #006600;"&gt;modprobe MODULE&lt;/span&gt;&lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
Remove a  module:&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;span style="color: #006600;"&gt;modprobe -r MODULE&lt;/span&gt;&lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
&lt;span style="font-weight: bold;"&gt;Search for a file using locate&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;span style="color: #006600;"&gt;locate FILENAME&lt;/span&gt;&lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
Will  search the locate database (created with updatedb) for any path or file  which contains FILENAME.&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-weight: bold;"&gt;Change  the encoding of a text file&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;span style="color: #006600;"&gt;iconv -f INITIAL_ENCODING -t DESIRED_ENCODING filename&lt;/span&gt;&lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
For  example:&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;span style="color: #006600;"&gt;iconv -f  ISO-8859-16 -t UTF-8 myfile.txt&lt;/span&gt;&lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
Will change the encoding  of myfile.txt from ISO-8859-16 (Romanian) to UTF-8.&lt;div class="blogger-post-footer"&gt;&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-9613613059289325";
/* 336x280, created 4/22/09 */
google_ad_slot = "5016102081";
google_ad_width = 336;
google_ad_height = 280;
//--&gt;
&lt;/script&gt;
&lt;script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7056185066716314055-984093600322283545?l=www.linux-masters.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=1hER_9ev05Y:-1uLqOUih7c:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=1hER_9ev05Y:-1uLqOUih7c:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=1hER_9ev05Y:-1uLqOUih7c:4cEx4HpKnUU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=1hER_9ev05Y:-1uLqOUih7c:4cEx4HpKnUU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=1hER_9ev05Y:-1uLqOUih7c:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=1hER_9ev05Y:-1uLqOUih7c:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=1hER_9ev05Y:-1uLqOUih7c:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=1hER_9ev05Y:-1uLqOUih7c:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=1hER_9ev05Y:-1uLqOUih7c:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=1hER_9ev05Y:-1uLqOUih7c:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=1hER_9ev05Y:-1uLqOUih7c:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=1hER_9ev05Y:-1uLqOUih7c:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=1hER_9ev05Y:-1uLqOUih7c:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=1hER_9ev05Y:-1uLqOUih7c:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=1hER_9ev05Y:-1uLqOUih7c:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=1hER_9ev05Y:-1uLqOUih7c:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=1hER_9ev05Y:-1uLqOUih7c:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/JustAnotherLinuxLoverBlog/~4/1hER_9ev05Y" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.linux-masters.com/feeds/984093600322283545/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.linux-masters.com/2010/01/10-useful-linux-commands-heres-list-of.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7056185066716314055/posts/default/984093600322283545?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7056185066716314055/posts/default/984093600322283545?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/JustAnotherLinuxLoverBlog/~3/1hER_9ev05Y/10-useful-linux-commands-heres-list-of.html" title="10 Useful Linux Commands" /><author><name>Linux4all</name><uri>http://www.blogger.com/profile/02426226910465069002</uri><email>hossam.abdelmoniem@gmail.com</email><gd:extendedProperty name="OpenSocialUserId" value="15171461427387673935" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/_D1EpnOVJuA8/SzTA0zNuowI/AAAAAAAAC4c/MX2N69gDQTE/s72-c/psaux_mem.png" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.linux-masters.com/2010/01/10-useful-linux-commands-heres-list-of.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ak4HSHs5fyp7ImA9WxBQE0k.&quot;"><id>tag:blogger.com,1999:blog-7056185066716314055.post-5237057066137328495</id><published>2010-01-12T18:00:00.000-08:00</published><updated>2010-01-12T18:15:39.527-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-01-12T18:15:39.527-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Windows vs Linux" /><title>Top Ten Things I Miss in Windows</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ubHtIpdBEUrBUXmCKG46HNWouOo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ubHtIpdBEUrBUXmCKG46HNWouOo/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/ubHtIpdBEUrBUXmCKG46HNWouOo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ubHtIpdBEUrBUXmCKG46HNWouOo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;h3 class="post-title entry-title"&gt; &lt;a href="http://jeffhoogland.blogspot.com/2009/12/top-ten-things-i-miss-in-windows.html"&gt;&lt;br /&gt;&lt;/a&gt; &lt;/h3&gt;   There is an old saying that goes "you can't miss what you never had" meaning that for those who have never had something of these things they will have no idea what they are missing out on.&lt;br /&gt;&lt;br /&gt;Typically I use Ubuntu or some Linux flavor as my operating system for every day tasks, however as most techs know using Windows is unavoidable at times. (Whether it be because I am fixing someone else's machine, at work/school, or queuing up some Netflix watch instantly on my home system)&lt;br /&gt;&lt;br /&gt;That being said the following are the top ten features/programs I find myself grumbling about/missing the most when I am working on the Windows platform:&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;10.) Klipper/Copy &amp;amp; Paste Manager&lt;/b&gt;  - I use this one &lt;i&gt;alot&lt;/i&gt; when I am either coding or writing a  research paper for school.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;More often than not I find I have copied something new only to discover I need to paste a link or block of code again from two copies back.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Having a tray icon where I can recall the  last ten copies or so is mighty useful.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;9.)  Desktop Notifications&lt;/b&gt; - This is something that was first largely  introduced in Ubuntu 9.04 and something I quickly grew accustomed to  having.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Basically it is a small message (notification) the pops up in the upper right hand corner of your screen for a few moments when something happens in one of your programs (a torrent finishes, you get a new instant message, ect.) or you adjust the volume/brightness settings on your system.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;8.) "Always on Top" Window  Option&lt;/b&gt; - This is something I find useful when I am instant messaging while typing a paper, surfing the net, or watching a movie on my computer.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Essentially what it does is make sure that the window you have this option toggled on is always at the top of your viewing regardless of what program you have selected/are working in.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;It is useful because it allows me to read instant messages with out having to click out of something else that I am working on.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;7.)  Multiple Work Spaces&lt;/b&gt; - When I get to really heavy multitasking on a system having multiple different desktops to assign applications to is a god send.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;It allows for better organization of the different things I  am working on and keeps me moving at a faster pace.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;6.)  Scrolling in the Window/Application the Cursor is Over&lt;/b&gt; - This one again is mostly applicable when some heavy multitasking is going on (but hey - its almost 2010, who isn't always doing at least three things at once right?).&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Basically in Ubuntu/Gnome desktop when I use the scroll on my mouse (whether it is the multi-touch on my track pad or the scroll wheel on my USB mouse) it will scroll in what ever program/window my mouse is currently over &lt;i&gt;instead&lt;/i&gt; of only scrolling in what ever  application I have selected. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;5.) Gnome-Do&lt;/b&gt; - Most anyone who uses the computer in their everyday work will tell you that less mouse clicks means faster speed and thus (typically) more productivity.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Gnome-Do is a program that allows you to cut down on mouse  clicks (so long as you know what program you are looking to load).&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The jist of what it does is this: you assign a series of hot keys to call up the search bar (personally I use control+alt+space) and then you start typing in the name of an application or folder you want to open and it will start searching for it - once the correct thing is displayed all you need to do is tap enter to load it up.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The best part is that it remembers which programs you use most often. Meaning that most times you only need to type the first letter or two of a commonly used application for it to find the one you are looking for.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;4.)  Tabbed File/Folder Viewing&lt;/b&gt; - Internet Explorer finally got tabs! Why can't the default Window's explorer for viewing files/folders join it in the world of twenty-first century computing?&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Tabs are very useful and are a much cleaner option when sorting through files as opposed to having several windows open on your screen.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;3.)  Removable Media Should &lt;i&gt;Not&lt;/i&gt; Have a Driver Letter&lt;/b&gt; - The system  Windows uses for assigning letters to storage devices was &lt;i&gt;clearly&lt;/i&gt;  invented before flash drives existed and I feel it works very poorly  for handling such devices.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;It is confusing to new computer users that their removable media appears as a different drive letter on most every machine (and even on the same machine sometimes if you have multiple drives attached).&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;A better solution is something like Gnome/KDE/OSX do: have the drive appear as an icon on the desktop and have the name of drive displayed &lt;i&gt;not&lt;/i&gt; the drive letter (its fine if the letter still exists - I under stand the media needs a mount point, just it adds confusion displaying this letter instead of the drive name)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;2.)  Hidden Files that are Easy/Make Sense&lt;/b&gt; - I love how Linux handles  hidden files. You simply prefix your file name with a "&lt;b&gt;.&lt;/b&gt;" and the  &lt;i&gt;poof&lt;/i&gt; its gone unless you have your file browser set to view  hidden folders.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I think it is goofy to have it setup as a togglbe option within the file's settings. Beyond that Windows has "hidden" files and "&lt;i&gt;hidden&lt;/i&gt;"  files to further confuse things.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;1.) System  Updates that Install/Configure Once&lt;/b&gt; - I've done more than my fair share of Windows installs and the update process it goes through each time irks me beyond belief.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The system downloads and "installs" the updates, then it needs to restart. Upon shutting down it "installs" the updates again and then proceeds to "configure" them.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Then once it comes back online it "installs" and "configures" the updates one last time. Why? On Ubuntu the only update I need to restart for is a kernel update - even then most times I stick with my older kernel most times unless I have a specific reason for changing to the new one.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;0.)  Wobby Windows&lt;/b&gt; - This one doesn't effect productivity or use-ability like the other ten, but I must say after using mostly Ubuntu for the last year and a half not having the windows wobble when I drag them around the screen is a &lt;i&gt;huge&lt;/i&gt; kill joy.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I'm aware that a few of my above mentioned things can be added to Windows through third party software- however like I said most times when I am using Windows it is at work, school, or for a few moments on a friends system. Meaning I'm not about to go installing extra things on them/changing configurations. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Anyone else have  some other key things/features they miss when using the Windows  platform when coming from else where?&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-9613613059289325";
/* 336x280, created 4/22/09 */
google_ad_slot = "5016102081";
google_ad_width = 336;
google_ad_height = 280;
//--&gt;
&lt;/script&gt;
&lt;script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7056185066716314055-5237057066137328495?l=www.linux-masters.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=9pUX_dfZn9s:Fmc4zKC1yYM:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=9pUX_dfZn9s:Fmc4zKC1yYM:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=9pUX_dfZn9s:Fmc4zKC1yYM:4cEx4HpKnUU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=9pUX_dfZn9s:Fmc4zKC1yYM:4cEx4HpKnUU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=9pUX_dfZn9s:Fmc4zKC1yYM:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=9pUX_dfZn9s:Fmc4zKC1yYM:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=9pUX_dfZn9s:Fmc4zKC1yYM:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=9pUX_dfZn9s:Fmc4zKC1yYM:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=9pUX_dfZn9s:Fmc4zKC1yYM:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=9pUX_dfZn9s:Fmc4zKC1yYM:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=9pUX_dfZn9s:Fmc4zKC1yYM:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=9pUX_dfZn9s:Fmc4zKC1yYM:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=9pUX_dfZn9s:Fmc4zKC1yYM:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=9pUX_dfZn9s:Fmc4zKC1yYM:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=9pUX_dfZn9s:Fmc4zKC1yYM:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=9pUX_dfZn9s:Fmc4zKC1yYM:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=9pUX_dfZn9s:Fmc4zKC1yYM:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/JustAnotherLinuxLoverBlog/~4/9pUX_dfZn9s" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.linux-masters.com/feeds/5237057066137328495/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.linux-masters.com/2010/01/top-ten-things-i-miss-in-windows.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7056185066716314055/posts/default/5237057066137328495?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7056185066716314055/posts/default/5237057066137328495?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/JustAnotherLinuxLoverBlog/~3/9pUX_dfZn9s/top-ten-things-i-miss-in-windows.html" title="Top Ten Things I Miss in Windows" /><author><name>Linux4all</name><uri>http://www.blogger.com/profile/02426226910465069002</uri><email>hossam.abdelmoniem@gmail.com</email><gd:extendedProperty name="OpenSocialUserId" value="15171461427387673935" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.linux-masters.com/2010/01/top-ten-things-i-miss-in-windows.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkAASX0zfSp7ImA9WxBQE0Q.&quot;"><id>tag:blogger.com,1999:blog-7056185066716314055.post-3310820555136776664</id><published>2010-01-12T17:54:00.000-08:00</published><updated>2010-01-13T06:59:08.385-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-01-13T06:59:08.385-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="open ssh" /><category scheme="http://www.blogger.com/atom/ns#" term="ssh" /><category scheme="http://www.blogger.com/atom/ns#" term="Open VPN" /><title>Three ways to securely access remote internal networks and work from home</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/l-Ymz9s_ZyAUIsXdtsJc3s3thvU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/l-Ymz9s_ZyAUIsXdtsJc3s3thvU/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/l-Ymz9s_ZyAUIsXdtsJc3s3thvU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/l-Ymz9s_ZyAUIsXdtsJc3s3thvU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;h3 class="post-title entry-title"&gt;Three ways to securely access remote internal networks and work from home &lt;/h3&gt;&lt;div class="content_begin"&gt;Remote access to a computer and internal network’s secured resources - all of it in a simple way that’s following well-known security’s best practices?&lt;br /&gt;
&lt;br /&gt;
Sounds impossible, but it’s not.  How to achieve it explains Bartosz Feński aka fEnIo.&lt;br /&gt;
&lt;br /&gt;
A computer network with a tight security should be separated from the  outside world as much, as it’s possible.&lt;br /&gt;
&lt;br /&gt;
It’s often the case. Even if there is a over a dozen of devices(PCs), that play different parts assigned to them in terms of company’s infrastructure, usually there is one that separates them from others, a firewall and a router.&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
On the assumption that the company’s policy is not too strict we often  have an free access to this kind of  devices.&lt;br /&gt;
&lt;br /&gt;
It can be various internal  services, databases, servers of whatever is necessary to run a current  company.&lt;br /&gt;
&lt;br /&gt;
What if, after work, when we are home safe and sound, we still need to connect to one of those servers that are not accessible outside the internal network.&lt;br /&gt;
&lt;br /&gt;
I’ll describe few ways to do it.&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: 24px; font-weight: bold;"&gt;SSH ProxyCommand&lt;/span&gt;&lt;br /&gt;
The simplest and, as far as I reckon, the most often case is when just behind firewall there is a 2nd server accessible by SSH, but only for LAN users.&lt;br /&gt;
&lt;br /&gt;
It’s similar to the situation, where router does NAT, and  server’s addresses behind him are from private address’ classes.&lt;br /&gt;
&lt;br /&gt;
Therefore, If we want to log in, we need to log in to the firewall  first.&lt;br /&gt;
&lt;br /&gt;
Sounds familiar ? How many times have you actually tried to do the  following:&lt;br /&gt;
&lt;blockquote&gt;&lt;pre&gt;&lt;code&gt;laptop$ ssh router
[password1]
router$ ssh server
[password2]
server$&lt;/code&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;br /&gt;
I’ve done it millions of times, and if someone does something often enough there is a chance that it would be so infuriating that eventually someone will try to automate it. SSH share the same story.&lt;br /&gt;
&lt;br /&gt;
Let’s make an configuration file on a laptop &lt;i&gt;~/.ssh/config&lt;/i&gt;:&lt;br /&gt;
&lt;blockquote&gt;&lt;pre&gt;&lt;code&gt;Host server
ProxyCommand ssh router nc %h %p 2&amp;gt; /dev/null&lt;/code&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;br /&gt;
For this configuration to work a program called netcat is necessary, but most of the distributions have it in high-priority packages so it’s often already installed, so… How does the server connection looks like ?&lt;br /&gt;
&lt;blockquote&gt;&lt;pre&gt;&lt;code&gt;laptop$ ssh server
[password1]
[password2]
server$&lt;/code&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;br /&gt;
Let’s generate a key so we won’t be bothered about all the passwords.&lt;br /&gt;
&lt;blockquote&gt;&lt;pre&gt;&lt;code&gt;laptop$ ssh-keygen
laptop$ ssh-copy-id router
laptop$ ssh-copy-id server&lt;/code&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;br /&gt;
Login process is much more easier now:&lt;br /&gt;
&lt;blockquote&gt;&lt;pre&gt;&lt;code&gt;laptop$ ssh server
server$&lt;/code&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;br /&gt;
The coolest thing about it all is the fact, that along with the possibility of logging in to a device that is not public-accessible, we also get the full set of SSH features.&lt;br /&gt;
&lt;br /&gt;
There is no problem in using scp,  sshfs, forwarding Xs or to set a tunnel to other device through a  server.&lt;br /&gt;
&lt;br /&gt;
But what if…&lt;br /&gt;
&lt;blockquote&gt;&lt;code&gt;laptop -&amp;gt; router1 -&amp;gt; router2 -&amp;gt; ... -&amp;gt; routerN  -&amp;gt; server&lt;/code&gt;&lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
There are no barriers to add several devices to &lt;i&gt;~/.ssh/config&lt;/i&gt; and automate the whole login process even if u need to log in to few middle devices before logging in to the right one. You just need to define the right proxy command.&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: 24px; font-weight: bold;"&gt;SSH SOCKS&lt;/span&gt;&lt;br /&gt;
SSH problem is solved, but what if the service we try to get to is, for example, a WWW server? We can use text browsers from the device we logged in, but it’s not really elegant or convenient.&lt;br /&gt;
&lt;br /&gt;
We can use,mentioned earlier, port forwarding, that along with automatic login to different devices is a pretty flexible solution, but we need to remember to add certain SSH commands to every service or setting it all up in &lt;i&gt;~/.ssh/config&lt;/i&gt;)….&lt;br /&gt;
… but SSH function SOCKS saves the day:&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;pre&gt;&lt;code&gt;laptop$ ssh -D 8080 router
[password1]
router$&lt;/code&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;br /&gt;
If we generated a key, then we don’t need to give a password. We need to set up localhost as a SOCKS server and port 8080 in our browser.&lt;br /&gt;
&lt;br /&gt;
All  connections will be tunneled to the router and visible for the WWW  server as if they were initiated from this device.&lt;br /&gt;
&lt;br /&gt;
Not every applications let’s you use SOCKS server though, but there  is a cure. It’s called &lt;b&gt;tsocks&lt;/b&gt;. It’s a simple program,  that with the help of LD_PRELOAD variable, makes applications use the  alternative versions of the &lt;i&gt;connect()&lt;/i&gt;, &lt;i&gt;sendto()&lt;/i&gt;, &lt;i&gt;socket()&lt;/i&gt;  functions.&lt;br /&gt;
&lt;br /&gt;
Thanks to that the applications can use middle servers  almost without any dedicated configuration, &lt;i&gt;unconsciously&lt;/i&gt;  if  we may use this term in reference to binary beings.&lt;br /&gt;
&lt;br /&gt;
The configuration file should look as follows:&lt;br /&gt;
&lt;blockquote&gt;&lt;pre&gt;&lt;code&gt;server = 127.0.0.1
server_type = 5
server_port = 8080&lt;/code&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;br /&gt;
Now the applications, we’d like to “deceive” should be run:&lt;br /&gt;
&lt;blockquote&gt;&lt;pre&gt;&lt;code&gt;laptop$ tsocks application_without_socks_support&lt;/code&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;br /&gt;
As I’ve just presented, with SSH and a simple program we can quite easily organize our work environment and bypass limitations caused by a firewall. We can’t solve all our problems though. Let’s take our old FTP for example.&lt;br /&gt;
&lt;br /&gt;
It needs 2 ports to communicate, so it can’t be deceived in the way shown above. Moreover, if there is 40 services run on 30 devices behind firewall SSH configuration will be exceptionally complex and hard to maintain.&lt;br /&gt;
&lt;br /&gt;
Perfect would be a solution, in which our laptop with a certain address’ class simply connects to through a channel to the targeted devices in a way, that the device knows the connection came from a secured and trusted network.&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: 24px; font-weight: bold;"&gt;OpenVPN&lt;/span&gt;&lt;br /&gt;
OpenVPN solves the problem. To the contrary to SSH-based solutions, that works on 7th layer (application), OpenVPN works on 3rd (network)or even 2nd (transport) layer so it’s entirely transparent for the software.&lt;br /&gt;
&lt;br /&gt;
Moreover, it comes with authentication and encryption, so we  don’t loose anything comparing to SSH.&lt;br /&gt;
&lt;br /&gt;
Although since version 4.3 OpenSSH makes 2/3 layer tunneling  possible,&lt;br /&gt;
but its &lt;a class="extlink" href="http://magazine.redhat.com/2007/11/27/advanced-ssh-configuration-and-tunneling-we-dont-need-no-stinking-vpn-software/"&gt;configuration&lt;/a&gt; stands next to impossible.&lt;br /&gt;
&lt;br /&gt;
OpenVPN allows making advanced configurations and, for instance, setting up a secured connection between several corporate branches.&lt;br /&gt;
&lt;br /&gt;
I’ll  limit the example and only show how to gain access in the case  described at the beginning of this article.&lt;br /&gt;
&lt;br /&gt;
Laptop will be a client and a  VPN server will be configured on a router.&lt;br /&gt;
&lt;br /&gt;
I assume, that openvpn package is installed on the laptop and the router. Let’s generate a key (that will be used to encrypt and authenticate the transmission) on the router.&lt;br /&gt;
&lt;blockquote&gt;&lt;pre&gt;&lt;code&gt;router$ openvpn --genkey --secret /etc/openvpn/static.key&lt;/code&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;br /&gt;
And a configuration file &lt;i&gt;/etc/openvpn/server.conf&lt;/i&gt;:&lt;br /&gt;
&lt;blockquote&gt;&lt;pre&gt;&lt;code&gt;dev tun
ifconfig 10.8.0.1 10.8.0.2
secret static.key&lt;/code&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;br /&gt;
10.8.x class’ addresses will be used to set up a tunnel. You are free  to choose your own addresses.&lt;br /&gt;
&lt;br /&gt;
One thing left is to run the server:&lt;br /&gt;
&lt;blockquote&gt;&lt;pre&gt;&lt;code&gt;router$ sudo /etc/init.d/openvpn start&lt;/code&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;br /&gt;
We should get one more interface&lt;br /&gt;
&lt;blockquote&gt;&lt;pre&gt;&lt;code&gt;tun0      Link encap:UNSPEC
HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:10.8.0.1  P-t-P:10.8.0.2  Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)&lt;/code&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;br /&gt;
Moreover we need to unlock the 1194 port in firewall setup.&lt;br /&gt;
We copy generated static.key on the laptop and we create client  configuration file  &lt;i&gt;/etc/openvpn/client.conf&lt;/i&gt;:&lt;br /&gt;
&lt;blockquote&gt;&lt;pre&gt;&lt;code&gt;remote routers_address
dev tun
ifconfig 10.8.0.2 10.8.0.1
secret static.key
route 192.168.0.0 255.255.255.0&lt;/code&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;br /&gt;
Now we switch routers_address to its actual address. Route option will make a new record in routing table visible and from now all transfer is directed to the set up tunnel.&lt;br /&gt;
&lt;br /&gt;
Last but not least thing we have to do is to run VPN on the laptop:&lt;br /&gt;
&lt;blockquote&gt;&lt;pre&gt;&lt;code&gt;laptop$ sudo /etc/init.d/openvpn start&lt;/code&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;br /&gt;
Let’s look at the routing table:&lt;br /&gt;
&lt;blockquote&gt;&lt;pre&gt;&lt;code&gt;10.8.0.1    0.0.0.0    255.255.255.255 UH  0    0    0 tun0
192.168.0.0 10.8.0.1   255.255.255.0   UG  0    0    0 tun0&lt;/code&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;br /&gt;
That’s the way to set up the simplest configuration. Of course, as  everything, It has its flaws.&lt;br /&gt;
&lt;br /&gt;
For example, everyone who has the key can  access our network – sometimes though the key may fall into the wrong  hands.&lt;br /&gt;
&lt;br /&gt;
OpenVPN has its own, more sophisticated authentication methods – simply get the generated key password-protected, but its security is far beyond this article framework.&lt;div class="blogger-post-footer"&gt;&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-9613613059289325";
/* 336x280, created 4/22/09 */
google_ad_slot = "5016102081";
google_ad_width = 336;
google_ad_height = 280;
//--&gt;
&lt;/script&gt;
&lt;script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7056185066716314055-3310820555136776664?l=www.linux-masters.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=vM2tPZk9IjU:bs0rMeKjQpg:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=vM2tPZk9IjU:bs0rMeKjQpg:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=vM2tPZk9IjU:bs0rMeKjQpg:4cEx4HpKnUU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=vM2tPZk9IjU:bs0rMeKjQpg:4cEx4HpKnUU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=vM2tPZk9IjU:bs0rMeKjQpg:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=vM2tPZk9IjU:bs0rMeKjQpg:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=vM2tPZk9IjU:bs0rMeKjQpg:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=vM2tPZk9IjU:bs0rMeKjQpg:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=vM2tPZk9IjU:bs0rMeKjQpg:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=vM2tPZk9IjU:bs0rMeKjQpg:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=vM2tPZk9IjU:bs0rMeKjQpg:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=vM2tPZk9IjU:bs0rMeKjQpg:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=vM2tPZk9IjU:bs0rMeKjQpg:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=vM2tPZk9IjU:bs0rMeKjQpg:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=vM2tPZk9IjU:bs0rMeKjQpg:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=vM2tPZk9IjU:bs0rMeKjQpg:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=vM2tPZk9IjU:bs0rMeKjQpg:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/JustAnotherLinuxLoverBlog/~4/vM2tPZk9IjU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.linux-masters.com/feeds/3310820555136776664/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.linux-masters.com/2010/01/three-ways-to-securely-access-remote.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7056185066716314055/posts/default/3310820555136776664?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7056185066716314055/posts/default/3310820555136776664?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/JustAnotherLinuxLoverBlog/~3/vM2tPZk9IjU/three-ways-to-securely-access-remote.html" title="Three ways to securely access remote internal networks and work from home" /><author><name>Linux4all</name><uri>http://www.blogger.com/profile/02426226910465069002</uri><email>hossam.abdelmoniem@gmail.com</email><gd:extendedProperty name="OpenSocialUserId" value="15171461427387673935" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.linux-masters.com/2010/01/three-ways-to-securely-access-remote.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUMASXkzcSp7ImA9WxBQEkk.&quot;"><id>tag:blogger.com,1999:blog-7056185066716314055.post-2707524961366479907</id><published>2010-01-11T14:04:00.000-08:00</published><updated>2010-01-11T14:04:08.789-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-01-11T14:04:08.789-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="linux live" /><title>Linux Live USB Creator</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/kTqXgOO-_ueS1jB5VtjSE5bxW2M/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/kTqXgOO-_ueS1jB5VtjSE5bxW2M/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/kTqXgOO-_ueS1jB5VtjSE5bxW2M/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/kTqXgOO-_ueS1jB5VtjSE5bxW2M/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://www.linuxliveusb.com/images/stories/lili/screenshot-lowres.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://www.linuxliveusb.com/images/stories/lili/screenshot-lowres.png" width="192" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;strong&gt;LiLi USB Creator&lt;/strong&gt; is a &lt;strong&gt;free software&lt;/strong&gt; for Windows that allows you to create a bootable &lt;strong&gt;Live USB&lt;/strong&gt; key with a Linux on it.&lt;br /&gt;
This software also offers an exclusive option of automatic virtualization to directly &lt;strong&gt;run Linux in Windows without any configuration nor installation&lt;/strong&gt;.&lt;br /&gt;
&lt;ul class="none"&gt;&lt;li&gt;&lt;span class="ticked"&gt;create bootable &lt;strong&gt;Live USB&lt;/strong&gt; of &lt;strong&gt;Ubuntu&lt;/strong&gt;, &lt;strong&gt;Fedora, Debian, Damn Small Linux, Puppy Linux and &lt;a href="http://www.linuxliveusb.com/en/supported-linuxes.html"&gt;many others&lt;/a&gt; !&lt;br /&gt;
&lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="ticked"&gt;enable &lt;strong&gt;persistency&lt;/strong&gt; of your data&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="ticked"&gt;&lt;strong&gt;launch Linux directly in Windows&lt;/strong&gt; with a special Portable VirtualBox&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="ticked"&gt;&lt;strong&gt;hide created files&lt;/strong&gt; on the key &lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;Anybody can use LiLi USB Creator. It's really easy to use and you don't have to be a computer geek !&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.linuxliveusb.com/downloads/?version=stable"&gt;DOWNLAD&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class="download_wrapper"&gt; &lt;div class="download_text"&gt;&lt;br /&gt;
&lt;span class="download_version" style="margin-left: 29px;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;Use the link below to follow a step by step procedure on how to use LiLi :&lt;br /&gt;
&lt;a href="http://www.linuxliveusb.com/en/how-to.html"&gt;http://www.linuxliveusb.com/en/how-to.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-9613613059289325";
/* 336x280, created 4/22/09 */
google_ad_slot = "5016102081";
google_ad_width = 336;
google_ad_height = 280;
//--&gt;
&lt;/script&gt;
&lt;script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7056185066716314055-2707524961366479907?l=www.linux-masters.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=VxqmLAIVhnQ:cJfktXAgNFs:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=VxqmLAIVhnQ:cJfktXAgNFs:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=VxqmLAIVhnQ:cJfktXAgNFs:4cEx4HpKnUU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=VxqmLAIVhnQ:cJfktXAgNFs:4cEx4HpKnUU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=VxqmLAIVhnQ:cJfktXAgNFs:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=VxqmLAIVhnQ:cJfktXAgNFs:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=VxqmLAIVhnQ:cJfktXAgNFs:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=VxqmLAIVhnQ:cJfktXAgNFs:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=VxqmLAIVhnQ:cJfktXAgNFs:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=VxqmLAIVhnQ:cJfktXAgNFs:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=VxqmLAIVhnQ:cJfktXAgNFs:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=VxqmLAIVhnQ:cJfktXAgNFs:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=VxqmLAIVhnQ:cJfktXAgNFs:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=VxqmLAIVhnQ:cJfktXAgNFs:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=VxqmLAIVhnQ:cJfktXAgNFs:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=VxqmLAIVhnQ:cJfktXAgNFs:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=VxqmLAIVhnQ:cJfktXAgNFs:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/JustAnotherLinuxLoverBlog/~4/VxqmLAIVhnQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.linux-masters.com/feeds/2707524961366479907/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.linux-masters.com/2010/01/linux-live-usb-creator.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7056185066716314055/posts/default/2707524961366479907?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7056185066716314055/posts/default/2707524961366479907?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/JustAnotherLinuxLoverBlog/~3/VxqmLAIVhnQ/linux-live-usb-creator.html" title="Linux Live USB Creator" /><author><name>ahmedhamdy_27</name><uri>http://www.blogger.com/profile/16172823431787723954</uri><email>ahmedhamdy27@gmail.com</email><gd:extendedProperty name="OpenSocialUserId" value="09075669023378700400" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.linux-masters.com/2010/01/linux-live-usb-creator.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0MER346cCp7ImA9WxBQEUk.&quot;"><id>tag:blogger.com,1999:blog-7056185066716314055.post-8298033311386540339</id><published>2010-01-10T08:36:00.000-08:00</published><updated>2010-01-10T08:36:46.018-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-01-10T08:36:46.018-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="man" /><category scheme="http://www.blogger.com/atom/ns#" term="help" /><title>Color man pages</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/qgGoF-Xd9hq80sjqHaYOdQPbrY0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/qgGoF-Xd9hq80sjqHaYOdQPbrY0/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/qgGoF-Xd9hq80sjqHaYOdQPbrY0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/qgGoF-Xd9hq80sjqHaYOdQPbrY0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;A nice feature of less which enables you to set termcap colors by environment variables.&lt;br /&gt;
&lt;b&gt;&lt;br style="color: red;" /&gt;&lt;span style="color: red;"&gt; Just use&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;blockquote&gt;export LESS_TERMCAP_mb=$'\E[01;31m'&lt;br /&gt;
export LESS_TERMCAP_md=$'\E[01;31m'&lt;br /&gt;
export LESS_TERMCAP_me=$'\E[0m'&lt;br /&gt;
export LESS_TERMCAP_se=$'\E[0m'&lt;br /&gt;
export LESS_TERMCAP_so=$'\E[01;44;33m'&lt;br /&gt;
export LESS_TERMCAP_ue=$'\E[0m'&lt;br /&gt;
export LESS_TERMCAP_us=$'\E[01;32m'&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;br /&gt;
in your ~/.$SHELLrc to get this effect.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style="color: #38761d;"&gt;Thanks to&lt;/span&gt;&lt;/b&gt; : http://nion.modprobe.de/blog/archives/572-less-colors-for-man-pages.html&lt;div class="blogger-post-footer"&gt;&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-9613613059289325";
/* 336x280, created 4/22/09 */
google_ad_slot = "5016102081";
google_ad_width = 336;
google_ad_height = 280;
//--&gt;
&lt;/script&gt;
&lt;script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7056185066716314055-8298033311386540339?l=www.linux-masters.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=RBvjqZcj43U:qdnifCz_B8A:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=RBvjqZcj43U:qdnifCz_B8A:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=RBvjqZcj43U:qdnifCz_B8A:4cEx4HpKnUU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=RBvjqZcj43U:qdnifCz_B8A:4cEx4HpKnUU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=RBvjqZcj43U:qdnifCz_B8A:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=RBvjqZcj43U:qdnifCz_B8A:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=RBvjqZcj43U:qdnifCz_B8A:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=RBvjqZcj43U:qdnifCz_B8A:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=RBvjqZcj43U:qdnifCz_B8A:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=RBvjqZcj43U:qdnifCz_B8A:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=RBvjqZcj43U:qdnifCz_B8A:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=RBvjqZcj43U:qdnifCz_B8A:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=RBvjqZcj43U:qdnifCz_B8A:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=RBvjqZcj43U:qdnifCz_B8A:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=RBvjqZcj43U:qdnifCz_B8A:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=RBvjqZcj43U:qdnifCz_B8A:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=RBvjqZcj43U:qdnifCz_B8A:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/JustAnotherLinuxLoverBlog/~4/RBvjqZcj43U" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.linux-masters.com/feeds/8298033311386540339/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.linux-masters.com/2010/01/color-man-pages.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7056185066716314055/posts/default/8298033311386540339?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7056185066716314055/posts/default/8298033311386540339?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/JustAnotherLinuxLoverBlog/~3/RBvjqZcj43U/color-man-pages.html" title="Color man pages" /><author><name>ahmedhamdy_27</name><uri>http://www.blogger.com/profile/16172823431787723954</uri><email>ahmedhamdy27@gmail.com</email><gd:extendedProperty name="OpenSocialUserId" value="09075669023378700400" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.linux-masters.com/2010/01/color-man-pages.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEUNQHY4eCp7ImA9WxBREks.&quot;"><id>tag:blogger.com,1999:blog-7056185066716314055.post-6388658424185139808</id><published>2009-12-31T05:31:00.000-08:00</published><updated>2009-12-31T05:31:31.830-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-12-31T05:31:31.830-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="caching" /><category scheme="http://www.blogger.com/atom/ns#" term="gzip" /><category scheme="http://www.blogger.com/atom/ns#" term="apache" /><title>Saving Bandwidth and Speeding Up Your Site With GZIP and Browser Caching</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/vnOs3wWLrIsWiU0-0i6OPY3bP9w/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/vnOs3wWLrIsWiU0-0i6OPY3bP9w/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/vnOs3wWLrIsWiU0-0i6OPY3bP9w/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/vnOs3wWLrIsWiU0-0i6OPY3bP9w/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;There are a couple of easy adjustments you can make to your web server in order to decrease page loading times, save bandwidth, and reduce load on the server. All you have to do is add a couple of code snippets to either your Apache server configuration file (httpd.conf or apache2.conf) or an .htaccess file.&lt;br /&gt;
Note that these require that your server have certain modules installed for this to work. You will need either mod_deflate or mod_gzip for GZIP compression and mod_expires for the browser caching trick.&lt;br /&gt;
&lt;h3 style="color: #990000;"&gt;Enable Browser Caching&lt;/h3&gt;When a web browser loads a page, it checks each item it requests (JavaScript, CSS, images, etc) against its local cache. If an item, say the stylesheet, hasn’t &lt;em&gt;expired&lt;/em&gt; yet, then it will load the local copy instead of requesting a new one. Now if you were to instruct your server to set the expiration time for images, CSS, and JavaScript files to one month from the present, users viewing multiple pages of your site (even across multiple days) won’t tax your resources as much, as they will use the copies of your stylesheets and images that have already been downloaded.&lt;span id="more-2570"&gt;&lt;/span&gt;&lt;br /&gt;
Insert this into your .htaccess file or Apache config, restarting Apache if you chose the latter:&lt;br /&gt;
&lt;div class="syntaxhighlighter plain" id="highlighter_562845"&gt;&lt;div class="bar"&gt;&lt;div class="toolbar"&gt;&lt;br /&gt;
&lt;a class="item about" href="http://www.webmaster-source.com/2009/09/23/saving-bandwidth-and-speeding-up-your-site-with-gzip-and-browser-caching/#about" style="height: 16px; width: 16px;" title="?"&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="lines no-wrap"&gt;&lt;div class="line alt1"&gt;&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;&lt;br /&gt;
&lt;/code&gt;&lt;/td&gt;&lt;td class="content"&gt;&lt;code class="plain plain"&gt;&lt;filesmatch \.(ico|flv|jpe?g|png|gif|js|css|swf)$=""&gt;&lt;/filesmatch&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="line alt2"&gt;&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;&lt;/code&gt;&lt;br /&gt;
&lt;/td&gt;&lt;td class="content"&gt;&lt;code class="spaces"&gt;&amp;nbsp;&lt;/code&gt;&lt;code class="plain plain"&gt;ExpiresActive On&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="line alt1"&gt;&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;&lt;/code&gt;&lt;br /&gt;
&lt;/td&gt;&lt;td class="content"&gt;&lt;code class="spaces"&gt;&amp;nbsp;&lt;/code&gt;&lt;code class="plain plain"&gt;ExpiresDefault "access plus 1 month"&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="line alt2"&gt;&lt;table height="25" style="width: 101px;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;&lt;/code&gt;&lt;br /&gt;
&lt;/td&gt;&lt;td class="content"&gt;&lt;code class="plain plain"&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;Now any file with an extension of ICO, JPG, JPEG, PNG, GIF, JS, CSS, SWF will be set to expire one month from the time the browser caches it.&lt;br /&gt;
&lt;h3 style="color: #990000;"&gt;GZIP Compression&lt;/h3&gt;Now wouldn’t it be nice if you could cut down on the &lt;em&gt;size&lt;/em&gt; of the file? There’s no point in doing it for images (which are already compressed) but you can greatly reduce the size of text-based files (HTML, JavaScript, CSS) by having the server compress them before sending them out.&lt;br /&gt;
Add this to your .htaccess or Apache config (restarting Apache if you chose the latter) as before:&lt;br /&gt;
&lt;div class="syntaxhighlighter plain" id="highlighter_868190"&gt;&lt;div class="bar"&gt;&lt;div class="toolbar"&gt;&lt;div class="item copyToClipboard"&gt;&lt;embed allowscriptaccess="always" flashvars="highlighterId=highlighter_868190" height="16" id="highlighter_868190_clipboard" menu="false" src="http://www.webmaster-source.com/wp-content/plugins/syntaxhighlighter/syntaxhighlighter/scripts/clipboard.swf" title="copy to clipboard" type="application/x-shockwave-flash" width="16" wmode="transparent"&gt;&lt;/embed&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="lines no-wrap"&gt;&lt;div class="line alt1"&gt;&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;&lt;/code&gt;&lt;br /&gt;
&lt;/td&gt;&lt;td class="content"&gt;&lt;code class="plain plain"&gt;SetOutputFilter DEFLATE&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="line alt2"&gt;&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;&lt;/code&gt;&lt;br /&gt;
&lt;/td&gt;&lt;td class="content"&gt;&lt;code class="plain plain"&gt;SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ \&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="line alt1"&gt;&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;&lt;/code&gt;&lt;br /&gt;
&lt;/td&gt;&lt;td class="content"&gt;&lt;code class="spaces"&gt;&amp;nbsp;&lt;/code&gt;&lt;code class="plain plain"&gt;no-gzip dont-vary&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="line alt2"&gt;&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;&lt;/code&gt;&lt;br /&gt;
&lt;/td&gt;&lt;td class="content"&gt;&lt;code class="plain plain"&gt;SetEnvIfNoCase Request_URI \&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="line alt1"&gt;&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;&lt;/code&gt;&lt;br /&gt;
&lt;/td&gt;&lt;td class="content"&gt;&lt;code class="spaces"&gt;&amp;nbsp;&lt;/code&gt;&lt;code class="plain plain"&gt;\.(?:exe|t?gz|zip|bz2|sit|rar)$ \&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="line alt2"&gt;&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;&lt;/code&gt;&lt;br /&gt;
&lt;/td&gt;&lt;td class="content"&gt;&lt;code class="spaces"&gt;&amp;nbsp;&lt;/code&gt;&lt;code class="plain plain"&gt;no-gzip dont-vary&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="line alt1"&gt;&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;&lt;/code&gt;&lt;br /&gt;
&lt;/td&gt;&lt;td class="content"&gt;&lt;code class="plain plain"&gt;SetEnvIfNoCase Request_URI \.pdf$ no-gzip dont-vary&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="line alt2"&gt;&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;&lt;/code&gt;&lt;br /&gt;
&lt;/td&gt;&lt;td class="content"&gt;&lt;code class="plain plain"&gt;BrowserMatch ^Mozilla/4 gzip-only-text/html&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="line alt1"&gt;&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;&lt;/code&gt;&lt;br /&gt;
&lt;/td&gt;&lt;td class="content"&gt;&lt;code class="plain plain"&gt;BrowserMatch ^Mozilla/4\.0[678] no-gzip&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="line alt2"&gt;&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class="number"&gt;&lt;code&gt;&lt;/code&gt;&lt;br /&gt;
&lt;/td&gt;&lt;td class="content"&gt;&lt;code class="plain plain"&gt;BrowserMatch \bMSIE !no-gzip !gzip-only-text/html&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;This beast does several things. The first directive tells mod_deflate to get to work. The next several lines determine how mod_deflate will work. It will not affect GIF, JPG, PNG images or already-compressed archive files (e.g. ZIP or RAR), as there is no real benefit in doing so. The final three “BrowserMatch” lines deal with Internet Explorer’s funkiness.&lt;br /&gt;
&lt;h3 style="color: #990000;"&gt;Is it Working?&lt;/h3&gt;If you have &lt;a href="http://getfirebug.com/"&gt;Firebug&lt;/a&gt; and the handy &lt;a href="http://code.google.com/speed/"&gt;Google Page Speed&lt;/a&gt; extension installed, you can run a quick test to make sure everything is working right. There should be two lines mentioning “Leverage browser caching” and “Enable gzip compression.” They should be checked-off instead of having a red icon.&lt;br /&gt;
&lt;br /&gt;
&lt;div style="text-align: center;"&gt;&lt;img alt="Firebug Speed Test: GZIP Compression" class="aligncenter size-full wp-image-2572 imgborder" height="174" src="http://www.webmaster-source.com/wp-content/uploads/firebug-gzip-compression.jpg" title="Firebug Speed Test: GZIP Compression" width="548" /&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-9613613059289325";
/* 336x280, created 4/22/09 */
google_ad_slot = "5016102081";
google_ad_width = 336;
google_ad_height = 280;
//--&gt;
&lt;/script&gt;
&lt;script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7056185066716314055-6388658424185139808?l=www.linux-masters.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=H_1yO7Hd3_4:KdzJfDSLUFY:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=H_1yO7Hd3_4:KdzJfDSLUFY:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=H_1yO7Hd3_4:KdzJfDSLUFY:4cEx4HpKnUU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=H_1yO7Hd3_4:KdzJfDSLUFY:4cEx4HpKnUU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=H_1yO7Hd3_4:KdzJfDSLUFY:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=H_1yO7Hd3_4:KdzJfDSLUFY:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=H_1yO7Hd3_4:KdzJfDSLUFY:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=H_1yO7Hd3_4:KdzJfDSLUFY:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=H_1yO7Hd3_4:KdzJfDSLUFY:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=H_1yO7Hd3_4:KdzJfDSLUFY:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=H_1yO7Hd3_4:KdzJfDSLUFY:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=H_1yO7Hd3_4:KdzJfDSLUFY:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=H_1yO7Hd3_4:KdzJfDSLUFY:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=H_1yO7Hd3_4:KdzJfDSLUFY:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=H_1yO7Hd3_4:KdzJfDSLUFY:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=H_1yO7Hd3_4:KdzJfDSLUFY:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=H_1yO7Hd3_4:KdzJfDSLUFY:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/JustAnotherLinuxLoverBlog/~4/H_1yO7Hd3_4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.linux-masters.com/feeds/6388658424185139808/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.linux-masters.com/2009/12/saving-bandwidth-and-speeding-up-your.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7056185066716314055/posts/default/6388658424185139808?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7056185066716314055/posts/default/6388658424185139808?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/JustAnotherLinuxLoverBlog/~3/H_1yO7Hd3_4/saving-bandwidth-and-speeding-up-your.html" title="Saving Bandwidth and Speeding Up Your Site With GZIP and Browser Caching" /><author><name>ahmedhamdy_27</name><uri>http://www.blogger.com/profile/16172823431787723954</uri><email>ahmedhamdy27@gmail.com</email><gd:extendedProperty name="OpenSocialUserId" value="09075669023378700400" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.linux-masters.com/2009/12/saving-bandwidth-and-speeding-up-your.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DU4DQnc7fyp7ImA9WxBREkg.&quot;"><id>tag:blogger.com,1999:blog-7056185066716314055.post-8312183517811337651</id><published>2009-12-31T03:09:00.000-08:00</published><updated>2009-12-31T03:12:53.907-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-12-31T03:12:53.907-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="mod_deflate" /><category scheme="http://www.blogger.com/atom/ns#" term="easyapache" /><category scheme="http://www.blogger.com/atom/ns#" term="cpanel" /><category scheme="http://www.blogger.com/atom/ns#" term="apache" /><title>How to enable mod_deflate globally in cPanel/WHM</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/i0tIsOu36AlbXvj0e7UD36Pva9M/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/i0tIsOu36AlbXvj0e7UD36Pva9M/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/i0tIsOu36AlbXvj0e7UD36Pva9M/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/i0tIsOu36AlbXvj0e7UD36Pva9M/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;b&gt;How to enable mod_deflate globally in cPanel/WHM&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
This will be a quick one folks.&amp;nbsp; The Apache module mod_deflate helps in reducing the size of the information sent to a user, by compressing things prior.&amp;nbsp; It seems to work very well.&amp;nbsp; To test if your site already has mod_deflate installed and working, you can go here:&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.whatsmyip.org/http_compression/"&gt;http://www.whatsmyip.org/http_compression/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
To enable mod_deflate on your WHM / cPanel server, make sure you run EasyApache through WHM, and select to install mod_deflate.&amp;nbsp; Once done, you’ll notice that it is not active globally.&amp;nbsp; In your cPanel control panel for your domain, you should notice that under “Software / Services” an icon called “Optimize Website” is now there.&lt;br /&gt;
If however, you wish enable it globally, so that all websites on your server can benifit from this, you need to venture back into WHM, and this time go to:&lt;br /&gt;
&lt;br /&gt;
Services Configuration &amp;gt;&amp;gt; Apache Configuration &amp;gt;&amp;gt; Include Editor &amp;gt;&amp;gt; Post VirtualHost Include, and select All Versions&lt;br /&gt;
&lt;br /&gt;
Now, paste the following into this file, and hit Update:&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;ifmodule mod_deflate.c=""&gt;&lt;br /&gt;
SetOutputFilter DEFLATE&lt;br /&gt;
&lt;ifmodule mod_setenvif.c=""&gt;&lt;br /&gt;
# Netscape 4.x has some problems…&lt;br /&gt;
BrowserMatch ^Mozilla/4 gzip-only-text/html&lt;br /&gt;
&lt;br /&gt;
# Netscape 4.06-4.08 have some more problems&lt;br /&gt;
BrowserMatch ^Mozilla/4\.0[678] no-gzip&lt;br /&gt;
&lt;br /&gt;
# MSIE masquerades as Netscape, but it is fine&lt;br /&gt;
# BrowserMatch \bMSIE !no-gzip !gzip-only-text/html&lt;br /&gt;
&lt;br /&gt;
# NOTE: Due to a bug in mod_setenvif up to Apache 2.0.48&lt;br /&gt;
# the above regex won’t work. You can use the following&lt;br /&gt;
# workaround to get the desired effect:&lt;br /&gt;
BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html&lt;br /&gt;
&lt;br /&gt;
# Don’t compress images&lt;br /&gt;
SetEnvIfNoCase Request_URI .(?:gif|jpe?g|png)$ no-gzip dont-vary&lt;br /&gt;
&lt;/ifmodule&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ifmodule mod_headers.c=""&gt;&lt;br /&gt;
# Make sure proxies don’t deliver the wrong content&lt;br /&gt;
Header append Vary User-Agent env=!dont-vary&lt;br /&gt;
&lt;/ifmodule&gt;&lt;br /&gt;
&lt;/ifmodule&gt;&lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
That’s it, now, go back to the site I gave you at the start, load up your website, and verify that compression is now functioning.&lt;br /&gt;
&lt;br /&gt;
For you command line users, you can achieve this my running the easy apache command line build (&lt;span style="color: red;"&gt;/scripts/easyapache&lt;/span&gt;), and select to include mod_deflate.&amp;nbsp; Once that is done, you can edit the “/usr/local/apache/conf/includes/post_virtualhost_2.conf” file, and paste the above code into it to achieve the same results.&amp;nbsp; Remember to restart apache once you’ve edited the file.&lt;div class="blogger-post-footer"&gt;&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-9613613059289325";
/* 336x280, created 4/22/09 */
google_ad_slot = "5016102081";
google_ad_width = 336;
google_ad_height = 280;
//--&gt;
&lt;/script&gt;
&lt;script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7056185066716314055-8312183517811337651?l=www.linux-masters.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=JZQmcAFHKVA:RW_hZEQHp8U:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=JZQmcAFHKVA:RW_hZEQHp8U:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=JZQmcAFHKVA:RW_hZEQHp8U:4cEx4HpKnUU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=JZQmcAFHKVA:RW_hZEQHp8U:4cEx4HpKnUU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=JZQmcAFHKVA:RW_hZEQHp8U:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=JZQmcAFHKVA:RW_hZEQHp8U:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=JZQmcAFHKVA:RW_hZEQHp8U:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=JZQmcAFHKVA:RW_hZEQHp8U:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=JZQmcAFHKVA:RW_hZEQHp8U:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=JZQmcAFHKVA:RW_hZEQHp8U:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=JZQmcAFHKVA:RW_hZEQHp8U:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=JZQmcAFHKVA:RW_hZEQHp8U:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=JZQmcAFHKVA:RW_hZEQHp8U:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=JZQmcAFHKVA:RW_hZEQHp8U:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=JZQmcAFHKVA:RW_hZEQHp8U:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=JZQmcAFHKVA:RW_hZEQHp8U:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=JZQmcAFHKVA:RW_hZEQHp8U:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/JustAnotherLinuxLoverBlog/~4/JZQmcAFHKVA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.linux-masters.com/feeds/8312183517811337651/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.linux-masters.com/2009/12/how-to-enable-moddeflate-globally-in.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7056185066716314055/posts/default/8312183517811337651?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7056185066716314055/posts/default/8312183517811337651?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/JustAnotherLinuxLoverBlog/~3/JZQmcAFHKVA/how-to-enable-moddeflate-globally-in.html" title="How to enable mod_deflate globally in cPanel/WHM" /><author><name>ahmedhamdy_27</name><uri>http://www.blogger.com/profile/16172823431787723954</uri><email>ahmedhamdy27@gmail.com</email><gd:extendedProperty name="OpenSocialUserId" value="09075669023378700400" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.linux-masters.com/2009/12/how-to-enable-moddeflate-globally-in.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUMMR3s8fCp7ImA9WxBREkg.&quot;"><id>tag:blogger.com,1999:blog-7056185066716314055.post-5047433341065350864</id><published>2009-12-31T03:04:00.000-08:00</published><updated>2009-12-31T03:04:46.574-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-12-31T03:04:46.574-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="mod_deflate" /><category scheme="http://www.blogger.com/atom/ns#" term="gzip" /><category scheme="http://www.blogger.com/atom/ns#" term="apache" /><title>Configure mod deflate for Apache 2.2.x</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/uSJdP1vuVsTtWDzZnl02zxXJ6_k/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/uSJdP1vuVsTtWDzZnl02zxXJ6_k/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/uSJdP1vuVsTtWDzZnl02zxXJ6_k/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/uSJdP1vuVsTtWDzZnl02zxXJ6_k/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;Mod Deflate comes built into &lt;a href="http://www.freebsdmadeeasy.com/tutorials/web-server/configure-apache-web-server-on-freebsd.php" title="Install Apache"&gt;Apache&lt;/a&gt;, but is not enabled by default. This tutorial will  explain the simplest way of enabling it and setting which mime times to compress. Mod Deflate  will increase your server load, but decreases the amount of time that clients are connected  and can usually reduce the page size by 60 to 80 percent.&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;Loading Mod Deflate&lt;/h2&gt;First make sure that you are loading mod_deflate.so, this line should be at the top of your httpd.conf file  and is usually loaded by default.&lt;br /&gt;
&lt;blockquote&gt;&lt;pre&gt;LoadModule deflate_module libexec/apache22/mod_deflate.so&lt;/pre&gt;&lt;/blockquote&gt;&lt;h2&gt;Mod Deflate Settings&lt;/h2&gt;Second create a new config file to keep the deflate options in.&lt;br /&gt;
&lt;blockquote&gt;&lt;pre&gt;# ee /usr/local/etc/apache22/Include/mod_deflate.conf&lt;/pre&gt;&lt;/blockquote&gt;This file will be included in the main httpd.conf file. Inside the file add the following:&lt;br /&gt;
&lt;blockquote&gt;&lt;pre&gt;AddOutputFilterByType DEFLATE text/html text/plain
#Highest 9 - Lowest 1
DeflateCompressionLevel 9

#Optional
#Skip browsers with known problems
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html

#Optional
#Logging
DeflateFilterNote ratio
LogFormat '"%r" %b (%{ratio}n) "%{User-agent}i"' deflate
CustomLog /usr/local/www/logs/deflate_log deflate
&lt;/pre&gt;&lt;/blockquote&gt;The compression level can be adjusted. 9 gives the highest compression, the smallest file sizes, and also uses the  most CPU cycles.&lt;br /&gt;
Once you have this config file added restart apache.&lt;br /&gt;
&lt;blockquote&gt;&lt;pre&gt;# apachectl graceful&lt;/pre&gt;&lt;/blockquote&gt;&lt;br /&gt;
&lt;h2&gt;Testing Mod Deflate&lt;/h2&gt;To test your compression you can compare the file size by looking at the apache logs or a tool use as   &lt;a href="http://port80software.com/support/p80tools" ref="nofollow"&gt;port80 tools&lt;/a&gt;.&lt;br /&gt;
&lt;h2&gt;Compressing additional types&lt;/h2&gt;You can compression additional mime types coming out of your server by adding them to the AddOutputFilterByType list  in the mod_deflate.conf file. Some you might want to add are text/css, application/x-javascript, text/xml, and  any others that are would benefit from being compressed.&lt;div class="blogger-post-footer"&gt;&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-9613613059289325";
/* 336x280, created 4/22/09 */
google_ad_slot = "5016102081";
google_ad_width = 336;
google_ad_height = 280;
//--&gt;
&lt;/script&gt;
&lt;script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7056185066716314055-5047433341065350864?l=www.linux-masters.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=dT9BYNpFzqE:uSCG0mVJ4Qk:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=dT9BYNpFzqE:uSCG0mVJ4Qk:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=dT9BYNpFzqE:uSCG0mVJ4Qk:4cEx4HpKnUU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=dT9BYNpFzqE:uSCG0mVJ4Qk:4cEx4HpKnUU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=dT9BYNpFzqE:uSCG0mVJ4Qk:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=dT9BYNpFzqE:uSCG0mVJ4Qk:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=dT9BYNpFzqE:uSCG0mVJ4Qk:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=dT9BYNpFzqE:uSCG0mVJ4Qk:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=dT9BYNpFzqE:uSCG0mVJ4Qk:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=dT9BYNpFzqE:uSCG0mVJ4Qk:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=dT9BYNpFzqE:uSCG0mVJ4Qk:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=dT9BYNpFzqE:uSCG0mVJ4Qk:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=dT9BYNpFzqE:uSCG0mVJ4Qk:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=dT9BYNpFzqE:uSCG0mVJ4Qk:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=dT9BYNpFzqE:uSCG0mVJ4Qk:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=dT9BYNpFzqE:uSCG0mVJ4Qk:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=dT9BYNpFzqE:uSCG0mVJ4Qk:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/JustAnotherLinuxLoverBlog/~4/dT9BYNpFzqE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.linux-masters.com/feeds/5047433341065350864/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.linux-masters.com/2009/12/configure-mod-deflate-for-apache-22x.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7056185066716314055/posts/default/5047433341065350864?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7056185066716314055/posts/default/5047433341065350864?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/JustAnotherLinuxLoverBlog/~3/dT9BYNpFzqE/configure-mod-deflate-for-apache-22x.html" title="Configure mod deflate for Apache 2.2.x" /><author><name>ahmedhamdy_27</name><uri>http://www.blogger.com/profile/16172823431787723954</uri><email>ahmedhamdy27@gmail.com</email><gd:extendedProperty name="OpenSocialUserId" value="09075669023378700400" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.linux-masters.com/2009/12/configure-mod-deflate-for-apache-22x.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkABQX85fip7ImA9WxBREkg.&quot;"><id>tag:blogger.com,1999:blog-7056185066716314055.post-8765049136417839429</id><published>2009-12-31T02:19:00.000-08:00</published><updated>2009-12-31T02:19:10.126-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-12-31T02:19:10.126-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu" /><category scheme="http://www.blogger.com/atom/ns#" term="gnome" /><title>How To Install Gnome 3 Shell in Ubuntu Karmic Koala</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/yU_3Q-CTZLa1et4L7uJQNphSRd0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/yU_3Q-CTZLa1et4L7uJQNphSRd0/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/yU_3Q-CTZLa1et4L7uJQNphSRd0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/yU_3Q-CTZLa1et4L7uJQNphSRd0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;If you want to experience it first hand, we will tell you what you how to do it in this article. Just to start off here is a screenshot of the Gnome 3 Shell: &lt;br /&gt;
&lt;div style="text-align: center;"&gt;&lt;a href="http://digitizor.com/wp-content/uploads/2009/11/gnome3_11.png"&gt;&lt;img alt="gnome3_11" class="aligncenter size-medium wp-image-4883" height="224" src="http://digitizor.com/wp-content/uploads/2009/11/gnome3_11-300x224.png" width="300" /&gt;&lt;/a&gt;&lt;span id="more-4912"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;em&gt;&lt;span style="text-decoration: underline;"&gt;Note: Gnome-Shell is still in the development stage and there is always the possibility of something breaking.&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;
&lt;/div&gt;1. Open terminal and run the command below to install the Gnome Shell&lt;br /&gt;
&lt;blockquote&gt;&lt;pre&gt;sudo apt-get install gnome-shell&lt;/pre&gt;&lt;/blockquote&gt;2. After the installaton is done you can start it using the command below in terminal&lt;br /&gt;
&lt;blockquote&gt;&lt;pre&gt;gnome-shell --replace&lt;/pre&gt;&lt;/blockquote&gt;3. If you have intel graphics and get just a blank screen after the above command run the command given below before the command in step 2.&lt;br /&gt;
&lt;div style="text-align: left;"&gt;&lt;blockquote&gt;&lt;pre&gt;export GNOME_SHELL_DISABLE_TFP=1&lt;/pre&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-9613613059289325";
/* 336x280, created 4/22/09 */
google_ad_slot = "5016102081";
google_ad_width = 336;
google_ad_height = 280;
//--&gt;
&lt;/script&gt;
&lt;script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7056185066716314055-8765049136417839429?l=www.linux-masters.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=IsDYAxJDfFM:FS83kBYXst8:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=IsDYAxJDfFM:FS83kBYXst8:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=IsDYAxJDfFM:FS83kBYXst8:4cEx4HpKnUU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=IsDYAxJDfFM:FS83kBYXst8:4cEx4HpKnUU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=IsDYAxJDfFM:FS83kBYXst8:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=IsDYAxJDfFM:FS83kBYXst8:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=IsDYAxJDfFM:FS83kBYXst8:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=IsDYAxJDfFM:FS83kBYXst8:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=IsDYAxJDfFM:FS83kBYXst8:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=IsDYAxJDfFM:FS83kBYXst8:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=IsDYAxJDfFM:FS83kBYXst8:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=IsDYAxJDfFM:FS83kBYXst8:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=IsDYAxJDfFM:FS83kBYXst8:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=IsDYAxJDfFM:FS83kBYXst8:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=IsDYAxJDfFM:FS83kBYXst8:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=IsDYAxJDfFM:FS83kBYXst8:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=IsDYAxJDfFM:FS83kBYXst8:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/JustAnotherLinuxLoverBlog/~4/IsDYAxJDfFM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.linux-masters.com/feeds/8765049136417839429/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.linux-masters.com/2009/12/how-to-install-gnome-3-shell-in-ubuntu.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7056185066716314055/posts/default/8765049136417839429?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7056185066716314055/posts/default/8765049136417839429?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/JustAnotherLinuxLoverBlog/~3/IsDYAxJDfFM/how-to-install-gnome-3-shell-in-ubuntu.html" title="How To Install Gnome 3 Shell in Ubuntu Karmic Koala" /><author><name>ahmedhamdy_27</name><uri>http://www.blogger.com/profile/16172823431787723954</uri><email>ahmedhamdy27@gmail.com</email><gd:extendedProperty name="OpenSocialUserId" value="09075669023378700400" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.linux-masters.com/2009/12/how-to-install-gnome-3-shell-in-ubuntu.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUMNSXo6cCp7ImA9WxBREkg.&quot;"><id>tag:blogger.com,1999:blog-7056185066716314055.post-8606953590455124619</id><published>2009-12-31T01:58:00.000-08:00</published><updated>2009-12-31T01:58:18.418-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-12-31T01:58:18.418-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="K9Copy" /><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu" /><title>K9Copy Ubuntu</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/A6oDjq9Q99JnbGDmRMZIeiO1Upo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/A6oDjq9Q99JnbGDmRMZIeiO1Upo/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/A6oDjq9Q99JnbGDmRMZIeiO1Upo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/A6oDjq9Q99JnbGDmRMZIeiO1Upo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;ul id="pagelocation" style="text-align: left;"&gt;&lt;li&gt;K9Copy&lt;/li&gt;
&lt;/ul&gt;&lt;!--3--&gt;&lt;span class="anchor" id="top"&gt;&lt;/span&gt; &lt;span class="anchor" id="line-1"&gt;&lt;/span&gt;&lt;div&gt;&lt;table height="1" style="-moz-background-clip: -moz-initial; -moz-background-inline-policy: -moz-initial; -moz-background-origin: -moz-initial; background: rgb(241, 241, 237) none repeat scroll 0% 0%; float: right; font-size: 0.9em; margin: 0pt 0pt 1em 1em; width: 1px;"&gt;&lt;tbody&gt;
&lt;tr&gt;  &lt;td style="padding: 0.5em;"&gt;&lt;/td&gt; &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;span class="anchor" id="line-2"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-3"&gt;&lt;/span&gt;&lt;div class="line867" style="text-align: center;"&gt;&lt;img alt="IconsPage/dvd-video.png" class="attachment" src="https://help.ubuntu.com/community/IconsPage?action=AttachFile&amp;amp;do=get&amp;amp;target=dvd-video.png" title="IconsPage/dvd-video.png" /&gt; K9Copy is a program that allows you to copy DVDs (and other audio-video media) in Linux. It has the following features: &lt;span class="anchor" id="line-4"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;ul&gt;&lt;li&gt;Video compression (to make the video fit on a 4.7GB recordable DVD, or any size desired) &lt;span class="anchor" id="line-5"&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;DVD burning &lt;span class="anchor" id="line-6"&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Creation of ISO images &lt;span class="anchor" id="line-7"&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Choice of audio and subtitle tracks to be copied &lt;span class="anchor" id="line-8"&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Title preview (video only) &lt;span class="anchor" id="line-9"&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Preservation of original menus &lt;span class="anchor" id="line-10"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-11"&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div class="line862"&gt;Homepage: &lt;a class="http" href="http://k9copy.sourceforge.net/"&gt;http://k9copy.sourceforge.net/&lt;/a&gt; &lt;span class="anchor" id="line-12"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-13"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="line867"&gt;&lt;img alt="IconsPage/warning.png" class="attachment" src="https://help.ubuntu.com/community/IconsPage?action=AttachFile&amp;amp;do=get&amp;amp;target=warning.png" title="IconsPage/warning.png" /&gt; &lt;em&gt;Warning: As always, check the relevant copyright laws for your country regarding the backup of any copyright-protected DVDs and other media.&lt;/em&gt; &lt;span class="anchor" id="line-14"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-15"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="line867"&gt; &lt;br /&gt;
&lt;/div&gt;&lt;h1 id="Installing K9Copy from the Repositories"&gt;Installing K9Copy from the Repositories&lt;/h1&gt;&lt;span class="anchor" id="line-16"&gt;&lt;/span&gt;&lt;div class="line867"&gt;K9Copy requires the &lt;em&gt;multiverse&lt;/em&gt; repository - enable this in &lt;em&gt;Software Sources&lt;/em&gt; &lt;span class="anchor" id="line-17"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-18"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="line867"&gt;&lt;img alt="software-sources.png" class="attachment" src="https://help.ubuntu.com/community/K9Copy?action=AttachFile&amp;amp;do=get&amp;amp;target=software-sources.png" title="software-sources.png" /&gt; &lt;span class="anchor" id="line-19"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-20"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="line862"&gt;Search for the package &lt;tt&gt;k9copy&lt;/tt&gt; in Synaptic, Adept, KPackageKit, or other package manager. &lt;span class="anchor" id="line-21"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-22"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="line867"&gt;&lt;img alt="IconsPage/IconGNOMETerminal.png" class="attachment" src="https://help.ubuntu.com/community/IconsPage?action=AttachFile&amp;amp;do=get&amp;amp;target=IconGNOMETerminal.png" title="IconsPage/IconGNOMETerminal.png" /&gt; Or, to install via terminal: &lt;span class="anchor" id="line-23"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;ul&gt;&lt;li style="list-style-type: none;"&gt;&lt;span class="anchor" id="line-24"&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;pre&gt;sudo apt-get install k9copy&lt;/pre&gt;&lt;/blockquote&gt;&lt;span class="anchor" id="line-25"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-26"&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div class="line867"&gt; &lt;br /&gt;
&lt;/div&gt;&lt;h1 id="Activate Support for Encrypted DVDs"&gt;Activate Support for Encrypted DVDs&lt;/h1&gt;&lt;span class="anchor" id="line-27"&gt;&lt;/span&gt;&lt;div class="line862"&gt;Encrypted DVD playback requires the installation of &lt;tt&gt;libdvdcss2&lt;/tt&gt; from the Medibuntu repositories. libdvdcss will need to be enabled for K9Copy to have full functionality. &lt;span class="anchor" id="line-28"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-29"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="line874"&gt;* You can install libdvdcss2 from a command line terminal as a 64-bit .deb package without installing the Medibuntu repositories: &lt;span class="anchor" id="line-30"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-31"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-32"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-33"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;blockquote&gt;&lt;pre&gt;wget -c http://packages.medibuntu.org/pool/free/libd/libdvdcss/libdvdcss2_1.2.10-0.2medibuntu1_amd64.deb
sudo dpkg -i libdvdcss2_1.2.10-0.2medibuntu1_amd64.deb&lt;/pre&gt;&lt;/blockquote&gt;&lt;span class="anchor" id="line-34"&gt;&lt;/span&gt;&lt;ul&gt;&lt;li style="list-style-type: none;"&gt;or a 32-bit .deb package:  &lt;span class="anchor" id="line-35"&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div class="line867"&gt;&lt;span class="anchor" id="line-36"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-37"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-38"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;blockquote&gt;&lt;pre&gt;wget -c http://packages.medibuntu.org/pool/free/libd/libdvdcss/libdvdcss2_1.2.10-0.2medibuntu1_i386.deb
sudo dpkg -i libdvdcss2_1.2.10-0.2medibuntu1_i386.deb&lt;/pre&gt;&lt;/blockquote&gt;&lt;span class="anchor" id="line-39"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-40"&gt;&lt;/span&gt;&lt;div class="line862"&gt;See RestrictedFormats for more information on playing encrypted DVDs and other non-free media. &lt;span class="anchor" id="line-41"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-42"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="line867"&gt; &lt;br /&gt;
&lt;/div&gt;&lt;h1 id="Using K9Copy"&gt;Using K9Copy&lt;/h1&gt;&lt;span class="anchor" id="line-43"&gt;&lt;/span&gt;&lt;div class="line867"&gt;&lt;img alt="IconsPage/navigate.png" class="attachment" src="https://help.ubuntu.com/community/IconsPage?action=AttachFile&amp;amp;do=get&amp;amp;target=navigate.png" title="IconsPage/navigate.png" /&gt; K9Copy should now appear under &lt;strong&gt;Menu -&amp;gt; Applications -&amp;gt; Sound &amp;amp; Video&lt;/strong&gt; in Gnome (Ubuntu) or  &lt;strong&gt;Menu -&amp;gt; Multimedia&lt;/strong&gt; in KDE (Kubuntu) or XFCE (Xubuntu). You can also start K9Copy from a command-line terminal (or by pressing Alt + F2): &lt;span class="anchor" id="line-44"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-45"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-46"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;pre&gt;k9copy&lt;/pre&gt;&lt;span class="anchor" id="line-47"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-48"&gt;&lt;/span&gt;&lt;div class="line867"&gt; &lt;br /&gt;
&lt;/div&gt;&lt;h2 id="Quickstart guide"&gt;Quickstart guide&lt;/h2&gt;&lt;span class="anchor" id="line-49"&gt;&lt;/span&gt;&lt;div class="line867"&gt;K9Copy works in both KDE and Gnome. To copy a normal DVD and shrink it down to 4.7Gb, set the input device to your DVD and output as ISO image. Open the video using the 'folder' icon at top left. Under the MPEG4 Encoding tab, select Video codec as copy. Ticking the 2 pass box will give a higher quality copy. Set file size to say, 4700MB (note that there have been reports e.g. that this value is sometimes slightly exceeded).   &lt;span class="anchor" id="line-50"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-51"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="line874"&gt;Select the title(s) of interest. Then press the circular to DVD icon. It will ask for a location to create the iso copy. Note that when it starts, it misleadingly says 'Burning DVD' - what its actually doing is creating the iso copy on the hard drive - rest assured the DVD is NOT being overwritten! &lt;span class="anchor" id="line-52"&gt;&lt;/span&gt;A dvd can then be created from the resulting iso file with another program eg. Nautilus (right click on the iso) or K3b.  Although k9copy can also burn the iso (or a DVD structure), using a separate program has been reported to be more reliable.  &lt;span class="anchor" id="line-53"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-54"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="line874"&gt;Tip: To preview the titles, highlight the title/chapter of interest and click on the 'movie camera' icon - only THEN can you use the stop/play buttons in the preview window. &lt;span class="anchor" id="line-55"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-56"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="line874"&gt;If you wish to change the Menu structure (reauthor the DVD), you can use qdvdauthor. &lt;span class="anchor" id="line-57"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-58"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="line867"&gt; &lt;br /&gt;
&lt;/div&gt;&lt;h1 id="Similar and related programs"&gt;Similar and related programs&lt;/h1&gt;&lt;span class="anchor" id="line-59"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-60"&gt;&lt;/span&gt;&lt;div class="line862"&gt;*DVD::Rip is another full-featured solution for DVD ripping in Linux. &lt;span class="anchor" id="line-61"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-62"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;*DVDShrink is a Windows-based program that must be run in Wine in Linux.&lt;div class="blogger-post-footer"&gt;&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-9613613059289325";
/* 336x280, created 4/22/09 */
google_ad_slot = "5016102081";
google_ad_width = 336;
google_ad_height = 280;
//--&gt;
&lt;/script&gt;
&lt;script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7056185066716314055-8606953590455124619?l=www.linux-masters.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=_m5d5Pw9bAo:mrLSMxhc1X8:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=_m5d5Pw9bAo:mrLSMxhc1X8:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=_m5d5Pw9bAo:mrLSMxhc1X8:4cEx4HpKnUU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=_m5d5Pw9bAo:mrLSMxhc1X8:4cEx4HpKnUU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=_m5d5Pw9bAo:mrLSMxhc1X8:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=_m5d5Pw9bAo:mrLSMxhc1X8:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=_m5d5Pw9bAo:mrLSMxhc1X8:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=_m5d5Pw9bAo:mrLSMxhc1X8:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=_m5d5Pw9bAo:mrLSMxhc1X8:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=_m5d5Pw9bAo:mrLSMxhc1X8:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=_m5d5Pw9bAo:mrLSMxhc1X8:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=_m5d5Pw9bAo:mrLSMxhc1X8:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=_m5d5Pw9bAo:mrLSMxhc1X8:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=_m5d5Pw9bAo:mrLSMxhc1X8:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=_m5d5Pw9bAo:mrLSMxhc1X8:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=_m5d5Pw9bAo:mrLSMxhc1X8:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=_m5d5Pw9bAo:mrLSMxhc1X8:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/JustAnotherLinuxLoverBlog/~4/_m5d5Pw9bAo" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.linux-masters.com/feeds/8606953590455124619/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.linux-masters.com/2009/12/k9copy-ubuntu.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7056185066716314055/posts/default/8606953590455124619?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7056185066716314055/posts/default/8606953590455124619?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/JustAnotherLinuxLoverBlog/~3/_m5d5Pw9bAo/k9copy-ubuntu.html" title="K9Copy Ubuntu" /><author><name>ahmedhamdy_27</name><uri>http://www.blogger.com/profile/16172823431787723954</uri><email>ahmedhamdy27@gmail.com</email><gd:extendedProperty name="OpenSocialUserId" value="09075669023378700400" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.linux-masters.com/2009/12/k9copy-ubuntu.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0ADQ3oyeSp7ImA9WxBREkg.&quot;"><id>tag:blogger.com,1999:blog-7056185066716314055.post-973366352317301273</id><published>2009-12-31T01:29:00.000-08:00</published><updated>2009-12-31T01:29:32.491-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-12-31T01:29:32.491-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="backup" /><category scheme="http://www.blogger.com/atom/ns#" term="rsync" /><title>Using Rsync</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/-edBYb8azJY4JmpyUoZ-VUFuv04/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/-edBYb8azJY4JmpyUoZ-VUFuv04/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/-edBYb8azJY4JmpyUoZ-VUFuv04/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/-edBYb8azJY4JmpyUoZ-VUFuv04/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;h2&gt;What is rsync?&lt;/h2&gt;Rysnc helps you transfer data from one location to another in an efficient manner. It is one of those tools that you learn to use and wonder how you lived without it. Rsync is the de facto standard in backup solutions because of its flexibility and power.&lt;br /&gt;
Rsync checks each file and transfers only what has changed. What does this mean exactly? Rsync will actually look and see what in the file has changed and upload only the part of the file that has changed. Unlike ftp and other transfer solutions rsync doesn’t simply re-upload the entire file.&lt;br /&gt;
The difference in the files are then compressed (an optionally encrypted through ssh) then sent so the transfer uses the minimal amount of bandwidth. Rsync is often used by Amazon S3 users as they must pay for bandwidth.  When you are paying bandwidth bit by bit you can’t afford anything but rsync.&lt;br /&gt;
&lt;h2&gt;Rsync is Efficient but What Else Can it Do?&lt;/h2&gt;As you can probably tell by the name rsync is really good at syncing files across a network. If a file has changed it can detect the change and transfer only that change. This makes rsync a perfect candidate for doing incremental backups or mirroring a website.&lt;br /&gt;
For example to mirror one folder to another you could do:&lt;br /&gt;
&lt;div class="term"&gt;rsync –av /path/to/source /home/nixtutor/rsync/daily&lt;/div&gt;You can also use the same technique to sync from one computer to another:&lt;br /&gt;
&lt;div class="term"&gt;rsync –av /path/to/source user@nixutor.com:/home/nixtutor/rsync/daily&lt;/div&gt;By default this will only upload new files and changes but not delete or remove files that no longer exist. To do this you can add the &lt;strong&gt;–delete&lt;/strong&gt; flag.  This is rsync’s way of protecting yourself from mirroring a blank directory.&lt;br /&gt;
&lt;div class="term"&gt;rsync –av –delete /path/to/source user@nixutor.com:/home/nixtutor/rsync/daily&lt;/div&gt;&lt;h4&gt;Want to Sync Specific Files?&lt;/h4&gt;In this example we only sync &lt;strong&gt;.iso&lt;/strong&gt; files.&lt;br /&gt;
&lt;div class="term"&gt;rsync -zrv –include=”*.iso” host:/home/nixtutor /home/&lt;/div&gt;&lt;h2&gt;Things to Keep in Mind&lt;/h2&gt;&lt;ul&gt;&lt;li&gt;Rsync is powerful but unforgiving&lt;/li&gt;
&lt;li&gt;Rsync follows the unix methodology, do one thing and do it well. Thus it doesn’t provide encryption only efficient file transferring. Run rsync through SSH if you need encryption.&lt;/li&gt;
&lt;li&gt;Rsync will not delete files that have been removed unless you supply the –delete flag.&lt;/li&gt;
&lt;li&gt;Windows doesn’t keep file modification times to better than two seconds. Use the &lt;strong&gt;–modify-window=2&lt;/strong&gt; option to get around this when syncing to Windows file shares.&lt;/li&gt;
&lt;/ul&gt;Most backup senarios can be done with rsync and cron.&lt;div class="blogger-post-footer"&gt;&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-9613613059289325";
/* 336x280, created 4/22/09 */
google_ad_slot = "5016102081";
google_ad_width = 336;
google_ad_height = 280;
//--&gt;
&lt;/script&gt;
&lt;script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7056185066716314055-973366352317301273?l=www.linux-masters.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=MfGkZrE0boI:eQAQbiwSfHc:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=MfGkZrE0boI:eQAQbiwSfHc:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=MfGkZrE0boI:eQAQbiwSfHc:4cEx4HpKnUU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=MfGkZrE0boI:eQAQbiwSfHc:4cEx4HpKnUU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=MfGkZrE0boI:eQAQbiwSfHc:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=MfGkZrE0boI:eQAQbiwSfHc:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=MfGkZrE0boI:eQAQbiwSfHc:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=MfGkZrE0boI:eQAQbiwSfHc:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=MfGkZrE0boI:eQAQbiwSfHc:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=MfGkZrE0boI:eQAQbiwSfHc:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=MfGkZrE0boI:eQAQbiwSfHc:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=MfGkZrE0boI:eQAQbiwSfHc:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=MfGkZrE0boI:eQAQbiwSfHc:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=MfGkZrE0boI:eQAQbiwSfHc:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=MfGkZrE0boI:eQAQbiwSfHc:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?i=MfGkZrE0boI:eQAQbiwSfHc:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?a=MfGkZrE0boI:eQAQbiwSfHc:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/JustAnotherLinuxLoverBlog?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/JustAnotherLinuxLoverBlog/~4/MfGkZrE0boI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.linux-masters.com/feeds/973366352317301273/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.linux-masters.com/2009/12/using-rsync.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7056185066716314055/posts/default/973366352317301273?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7056185066716314055/posts/default/973366352317301273?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/JustAnotherLinuxLoverBlog/~3/MfGkZrE0boI/using-rsync.html" title="Using Rsync" /><author><name>ahmedhamdy_27</name><uri>http://www.blogger.com/profile/16172823431787723954</uri><email>ahmedhamdy27@gmail.com</email><gd:extendedProperty name="OpenSocialUserId" value="09075669023378700400" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.linux-masters.com/2009/12/using-rsync.html</feedburner:origLink></entry></feed>
