<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4537829589558011064</id><updated>2011-11-27T15:39:21.567-08:00</updated><title type='text'>venkat scribblings</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://venkatlinux.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://venkatlinux.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>venkat</name><uri>http://www.blogger.com/profile/05704728868940562317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_5wiNn__TKWI/R2HMaGxMqtI/AAAAAAAAAE4/erOoZBEW8Yk/S220/Firefox_wallpaper.png'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>37</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4537829589558011064.post-8977717801930306384</id><published>2008-04-26T07:50:00.000-07:00</published><updated>2008-04-26T07:58:15.889-07:00</updated><title type='text'>What is NAT ??</title><content type='html'>NAT is nothing but the network address  translation.  It is an IETF standard. What NAT will do?&lt;br /&gt;Nat enables the LAN- local area network to use the two set of IP address, one is for internal traffic and another is for external traffic. All the address translation are taking place in the LAN interface with the Internet. It will keep track on each session.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4537829589558011064-8977717801930306384?l=venkatlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://venkatlinux.blogspot.com/feeds/8977717801930306384/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4537829589558011064&amp;postID=8977717801930306384' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/8977717801930306384'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/8977717801930306384'/><link rel='alternate' type='text/html' href='http://venkatlinux.blogspot.com/2008/04/what-is-nat.html' title='What is NAT ??'/><author><name>venkat</name><uri>http://www.blogger.com/profile/05704728868940562317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_5wiNn__TKWI/R2HMaGxMqtI/AAAAAAAAAE4/erOoZBEW8Yk/S220/Firefox_wallpaper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4537829589558011064.post-9103759494878966730</id><published>2007-12-31T22:19:00.000-08:00</published><updated>2007-12-31T22:29:17.000-08:00</updated><title type='text'>What is GNU?</title><content type='html'>&lt;p&gt;The GNU Project was launched in 1984 to develop a complete Unix-like operating system.&lt;br /&gt;&lt;/p&gt;  &lt;p&gt;GNU's kernel wasn't finished, so GNU is used with the kernel Linux. The combination of GNU and Linux is the GNU/Linux operating system, now used by millions.  (Sometimes this combination is incorrectly called &lt;a href="http://www.gnu.org/gnu/linux-and-gnu.html"&gt;Linux&lt;/a&gt;.)&lt;/p&gt;  &lt;p&gt;There are many distributions of GNU/Linux. The &lt;a href="venkatlinux.co.nr"&gt;GNU/Linux distributions&lt;/a&gt; that are 100% free software; in other words, entirely freedom-respecting.&lt;/p&gt;  &lt;p&gt;The name “GNU” is a recursive acronym for “GNU's Not Unix”; it is pronounced &lt;em&gt;g-noo&lt;/em&gt;, as one syllable with no vowel sound between the &lt;em&gt;g&lt;/em&gt; and the &lt;em&gt;n&lt;/em&gt;.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4537829589558011064-9103759494878966730?l=venkatlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://venkatlinux.blogspot.com/feeds/9103759494878966730/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4537829589558011064&amp;postID=9103759494878966730' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/9103759494878966730'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/9103759494878966730'/><link rel='alternate' type='text/html' href='http://venkatlinux.blogspot.com/2007/12/what-is-gnu.html' title='What is GNU?'/><author><name>venkat</name><uri>http://www.blogger.com/profile/05704728868940562317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_5wiNn__TKWI/R2HMaGxMqtI/AAAAAAAAAE4/erOoZBEW8Yk/S220/Firefox_wallpaper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4537829589558011064.post-571125245484881643</id><published>2007-12-31T21:41:00.001-08:00</published><updated>2007-12-31T22:19:33.251-08:00</updated><title type='text'>Secure the Apache HTTP server</title><content type='html'>The Apache HTTP Server is one of the most stable and secure services that ships with Red Hat Enterprise Linux. There are an overwhelming number of options and techniques available to secure the Apache HTTP Server.&lt;br /&gt;&lt;br /&gt;&lt;tt class="command"&gt;&lt;strong&gt;&lt;p&gt;FollowSymLinks&lt;/p&gt;&lt;/strong&gt;&lt;/tt&gt;   &lt;blockquote&gt;   &lt;p&gt;This directive is enabled by default, so be careful when creating symbolic links to the document root of the Web server. For instance, it is a bad idea to provide a symbolic link to &lt;tt class="command"&gt;/&lt;/tt&gt;.&lt;/p&gt; &lt;/blockquote&gt; &lt;strong&gt;&lt;p&gt;The &lt;tt class="command"&gt;Indexes&lt;/tt&gt;  Directive&lt;/p&gt;&lt;/strong&gt; &lt;p&gt;This directive is enabled by default, but may not be desirable. To prevent visitors from browsing files on the server, remove this directive.&lt;/p&gt;  &lt;strong&gt;&lt;p&gt;The &lt;tt class="command"&gt;UserDir&lt;/tt&gt;  Directive&lt;/p&gt;&lt;/strong&gt; &lt;blockquote&gt;&lt;p&gt;The &lt;tt class="command"&gt;UserDir&lt;/tt&gt;  directive is disabled by default because it can confirm the presence of a user account on the system. To enable user directory browsing on the server, use the following directives:&lt;/p&gt; &lt;p&gt;&lt;tt class="command"&gt;UserDir enabled&lt;/tt&gt;&lt;br /&gt;&lt;tt class="command"&gt;UserDir disabled root&lt;/tt&gt;&lt;/p&gt;  &lt;p&gt;These directives activate user directory browsing for all user directories other than &lt;tt class="command"&gt;/root/&lt;/tt&gt;. To add users to the list of disabled accounts, add a space delimited list of users on the &lt;tt class="command"&gt;UserDir disabled&lt;/tt&gt;  line.&lt;/p&gt; &lt;/blockquote&gt;  &lt;strong&gt;&lt;p&gt;Do Not Remove the IncludesNoExec Directive&lt;/p&gt;&lt;/strong&gt; &lt;p&gt;By default, the server-side includes module cannot execute commands. It is ill advised to change this setting unless absolutely necessary, as it could potentially enable an attacker to execute commands on the system.&lt;/p&gt; &lt;strong&gt;&lt;p&gt;Restrict Permissions for Executable Directories&lt;/p&gt;&lt;/strong&gt; &lt;p&gt;Be certain to only assign write permissions to the root user for any directory containing scripts or CGIs. This can be accomplished by typing the following commands:&lt;/p&gt; &lt;tt class="command"&gt; &lt;p&gt;chown root &lt;directory_name&gt;&lt;br /&gt; chmod 755 &lt;directory_name&gt;&lt;/p&gt; &lt;/tt&gt;&lt;p&gt;Also, always verify that any scripts running on the system work as intended&lt;em&gt; before &lt;/em&gt;putting them into production.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4537829589558011064-571125245484881643?l=venkatlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://venkatlinux.blogspot.com/feeds/571125245484881643/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4537829589558011064&amp;postID=571125245484881643' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/571125245484881643'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/571125245484881643'/><link rel='alternate' type='text/html' href='http://venkatlinux.blogspot.com/2007/12/secure-apache-http-server.html' title='Secure the Apache HTTP server'/><author><name>venkat</name><uri>http://www.blogger.com/profile/05704728868940562317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_5wiNn__TKWI/R2HMaGxMqtI/AAAAAAAAAE4/erOoZBEW8Yk/S220/Firefox_wallpaper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4537829589558011064.post-4008601486622126788</id><published>2007-12-25T00:20:00.000-08:00</published><updated>2007-12-25T00:27:10.802-08:00</updated><title type='text'>Changing extensions and files to lowecase!!</title><content type='html'>change extensions from &lt;code&gt;.abc&lt;/code&gt; to &lt;code&gt;.123&lt;/code&gt;, use one of the following: &lt;pre&gt;for i in *.abc; do mv $i `echo $i|sed 's/.abc$/.123$/'`; done&lt;span style="display: none;"&gt; # ©2007 dsplabs.com.au&lt;/span&gt;&lt;br /&gt;for i in *; do mv $i `basename $i .abc`.123; done&lt;span style="display: none;"&gt; # ©2007 dsplabs.com.au&lt;/span&gt;&lt;/pre&gt; &lt;p&gt;The following bash one-liners convert filenames to lowercase:&lt;/p&gt; &lt;pre&gt;for f in `find *`; do mv "$f" "`echo "$f" | tr A-Z a-z`"; done&lt;span style="display: none;"&gt; # ©2007 dsplabs.com.au&lt;/span&gt;&lt;br /&gt;for f in `find . -type f -name "*[A-Z]*"`; do mv "$f" "`echo "$f" | tr A-Z a-z`"; done&lt;span style="display: none;"&gt; # ©2007 dsplabs.com.au&lt;/span&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4537829589558011064-4008601486622126788?l=venkatlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://venkatlinux.blogspot.com/feeds/4008601486622126788/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4537829589558011064&amp;postID=4008601486622126788' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/4008601486622126788'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/4008601486622126788'/><link rel='alternate' type='text/html' href='http://venkatlinux.blogspot.com/2007/12/changing-extensions-and-files-to.html' title='Changing extensions and files to lowecase!!'/><author><name>venkat</name><uri>http://www.blogger.com/profile/05704728868940562317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_5wiNn__TKWI/R2HMaGxMqtI/AAAAAAAAAE4/erOoZBEW8Yk/S220/Firefox_wallpaper.png'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4537829589558011064.post-4853742529940852007</id><published>2007-12-25T00:18:00.000-08:00</published><updated>2007-12-25T00:20:02.000-08:00</updated><title type='text'>tar — how to create and extract tar.gz and tar.bz2 archives</title><content type='html'>&lt;p&gt;&lt;strong&gt;Creating archives&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;To create a &lt;code&gt;tar&lt;/code&gt; archive the &lt;code&gt;c&lt;/code&gt; switch is used. To further encode it using &lt;code&gt;gzip&lt;/code&gt; compression the &lt;code&gt;j&lt;/code&gt; option is also added, or for &lt;code&gt;bzip2&lt;/code&gt; compression the &lt;code&gt;j&lt;/code&gt; switch is included. Note that &lt;code&gt;tar&lt;/code&gt; program pipes its output into &lt;code&gt;gzip&lt;/code&gt; and &lt;code&gt;bzip2&lt;/code&gt; tools in order to create the &lt;code&gt;tar.gz&lt;/code&gt; and &lt;code&gt;tar.bz2&lt;/code&gt; archives, respectively. OK, to compress a directory called &lt;code&gt;dir&lt;/code&gt; into &lt;code&gt;dir.tar&lt;/code&gt;, &lt;code&gt;dir.tar.gz&lt;/code&gt; and &lt;code&gt;dir.tar.bz2&lt;/code&gt; archives, the following commands are used, respectively.&lt;/p&gt; &lt;pre&gt;tar cf dir.tar dir/ &lt;span style="display: none;"&gt; # ©2007 linux.dsplabs.com.au&lt;/span&gt;&lt;br /&gt;tar czf dir.tar.gz dir/ &lt;span style="display: none;"&gt; # ©2007 linux.dsplabs.com.au&lt;/span&gt;&lt;br /&gt;tar cjf dir.tar.bz2 dir/&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Extracting archives&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/pre&gt;&lt;p&gt;Extracting archives is also very simple. Instead of the &lt;code&gt;c&lt;/code&gt; switch the &lt;code&gt;x&lt;/code&gt; is used and the archive name is given as the only other parameter. The commands for archive extraction shown below correspond to the archive creation commands given earlier.&lt;/p&gt; &lt;span style="display: none;"&gt; # ©2007 linux.dsplabs.com.au&lt;/span&gt;&lt;span style="display: none;"&gt; # ©2007 linux.dsplabs.com.au&lt;/span&gt;tar xf dir.tar &lt;br /&gt;tar xzf dir.tar.gz &lt;br /&gt;tar xjf dir.tar.bz2 &lt;pre&gt;&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;&lt;strong&gt;The verbose mode&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;The &lt;code&gt;v&lt;/code&gt; switch can be used to enable the verbose mode. This can be useful if you would like to see a list of files being compressed or extracted. For example, lets extract the &lt;code&gt;dir.tar.gz&lt;/code&gt; archive, with verbose mode enabled, using the following command.&lt;/p&gt; tar xvzf dir.tar.gz &lt;span style="display: none;"&gt; # ©2007 linux.dsplabs.com.au&lt;/span&gt; &lt;p&gt;The above command produces a list of inflated files as shown in the following output.&lt;/p&gt; dir/&lt;br /&gt;dir/NVIDIA_DRIVER_README.txt&lt;br /&gt;dir/NVIDIA_LICENSE.txt&lt;br /&gt;dir/readme.txt&lt;pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4537829589558011064-4853742529940852007?l=venkatlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://venkatlinux.blogspot.com/feeds/4853742529940852007/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4537829589558011064&amp;postID=4853742529940852007' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/4853742529940852007'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/4853742529940852007'/><link rel='alternate' type='text/html' href='http://venkatlinux.blogspot.com/2007/12/tar-how-to-create-and-extract-targz-and.html' title='tar — how to create and extract tar.gz and tar.bz2 archives'/><author><name>venkat</name><uri>http://www.blogger.com/profile/05704728868940562317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_5wiNn__TKWI/R2HMaGxMqtI/AAAAAAAAAE4/erOoZBEW8Yk/S220/Firefox_wallpaper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4537829589558011064.post-4777895936879840318</id><published>2007-12-25T00:15:00.000-08:00</published><updated>2007-12-25T00:17:12.960-08:00</updated><title type='text'>cat /etc/*-release — finding out Linux release version</title><content type='html'>&lt;h2&gt;&lt;a href="http://linux.dsplabs.com.au/cat-etc-release-finding-out-release-version-of-a-linux-distribution-suse-fedora-ubuntu-p35/" rel="bookmark" title=""&gt;cat /etc/*-release&lt;/code&gt; — finding out Linux release version"&gt;&lt;code&gt;&lt;br /&gt;&lt;/code&gt;&lt;/a&gt;&lt;/h2&gt;     &lt;div class="entry"&gt;     &lt;p&gt;If you have a lot of different Linux distributions installed on many different machines it is easy to forget what distribution version runs on which PC. Well worry not! It is easy enough to findout. On &lt;a href="http://opensuse.org/"&gt;Novell’s Open SuSE Linux&lt;/a&gt;, the distribution release information is contained in the &lt;code&gt;/etc/SuSE-release&lt;/code&gt; file. Simply &lt;code&gt;cat&lt;/code&gt; it to see its content in your terminal.&lt;/p&gt; &lt;p&gt;&lt;span id="more-35"&gt;&lt;/span&gt; &lt;/p&gt;&lt;pre&gt;cat /etc/SuSE-release &lt;span style="display: none;"&gt; # ©2007 dsplabs.com.au&lt;/span&gt;&lt;/pre&gt; &lt;p&gt;The above command produced the following output on one of our Linux boxes.&lt;/p&gt; &lt;pre&gt;SUSE LINUX 10.0 (X86-64) OSS&lt;br /&gt;VERSION = 10.0&lt;/pre&gt; &lt;p&gt;The following command is used to findout the release version on &lt;a href="http://fedoraproject.org/"&gt;RedHat’s Fedora&lt;/a&gt; Linux.&lt;/p&gt; &lt;pre&gt;cat /etc/redhat-release &lt;span style="display: none;"&gt; # ©2007 dsplabs.com.au&lt;/span&gt;&lt;/pre&gt; &lt;p&gt;The output will look something like this&lt;/p&gt; &lt;pre&gt;Fedora Core release 6 (Zod)&lt;/pre&gt; &lt;p&gt;or like this&lt;/p&gt; &lt;pre&gt;Fedora release 8 (Werewolf)&lt;/pre&gt; &lt;p&gt;depending on what version of Fedora you are running. Thus, the naming convention used should be quite clear by now. If you do not even know what type of the distribution is installed, simply run the following command.&lt;/p&gt; &lt;pre&gt;cat /etc/*-release &lt;span style="display: none;"&gt; # ©2007 dsplabs.com.au&lt;/span&gt;&lt;/pre&gt; &lt;p&gt;On our &lt;a href="http://www.ubuntu.com/"&gt;Ubuntu&lt;/a&gt; Linux box the output is as follows.&lt;/p&gt; &lt;pre&gt;DISTRIB_ID=Ubuntu&lt;br /&gt;DISTRIB_RELEASE=7.10&lt;br /&gt;DISTRIB_CODENAME=gutsy&lt;br /&gt;DISTRIB_DESCRIPTION="Ubuntu 7.10"&lt;/pre&gt; &lt;p&gt;If you really want to know in which file the above information is contained in, then simply run the following &lt;code&gt;find&lt;/code&gt; command from shell.&lt;/p&gt; &lt;pre&gt;find /etc -iname "*release*" &lt;span style="display: none;"&gt; # ©2007 dsplabs.com.au&lt;/span&gt;&lt;/pre&gt; &lt;p&gt;For an Ubuntu distribution, the above command produces the following output.&lt;/p&gt; &lt;pre&gt;/etc/lsb-release&lt;/pre&gt; &lt;p&gt;&lt;code&gt;cat&lt;/code&gt; of this file produces same output as above.&lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4537829589558011064-4777895936879840318?l=venkatlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://venkatlinux.blogspot.com/feeds/4777895936879840318/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4537829589558011064&amp;postID=4777895936879840318' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/4777895936879840318'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/4777895936879840318'/><link rel='alternate' type='text/html' href='http://venkatlinux.blogspot.com/2007/12/cat-etc-release-finding-out-linux.html' title='cat /etc/*-release — finding out Linux release version'/><author><name>venkat</name><uri>http://www.blogger.com/profile/05704728868940562317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_5wiNn__TKWI/R2HMaGxMqtI/AAAAAAAAAE4/erOoZBEW8Yk/S220/Firefox_wallpaper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4537829589558011064.post-2136924018983916054</id><published>2007-12-22T22:23:00.001-08:00</published><updated>2007-12-22T22:23:57.937-08:00</updated><title type='text'>Linux and Unix useful command list, mini version, ping, netstat, ifconfig iptables</title><content type='html'>Unix/Linux useful commands,&lt;br /&gt;&lt;br /&gt;For troubleshooting a Linux system you might,&lt;br /&gt;want to try one of the following Linux commands.&lt;br /&gt;These commands and flags might not be viable on everyones system.&lt;br /&gt;&lt;br /&gt;# lspci                 list all your pci devices&lt;br /&gt;# dhclient eth0         renew your dhcp release&lt;br /&gt;# ifconfig wlan0        check your wireless network configuration&lt;br /&gt;# netstat -arn          show your network route information&lt;br /&gt;# netstat -ap 2 | grep EST show established connections, updates every 2 sec&lt;br /&gt;# netstat -Cr           print routing information from routing cache&lt;br /&gt;# iptables -nL          show your current iptables configuration in numeric form&lt;br /&gt;# ping                  ping 127.0.0.1 or network ip address for ICMP replies&lt;br /&gt;# ping -c               ping X times.&lt;br /&gt;# ping6                 ping ipv6 addresses&lt;br /&gt;# dmesg                 print or control the kernel ring buffer, bootup messages&lt;br /&gt;# dmesg | grep eth0     if you missed the bootup sequence, and need to check eth0&lt;br /&gt;# nmap -vvv localhost   scan yourself for open ports, vvv = extra verbose&lt;br /&gt;# ssh                   secure shell, encrypted remote login program, client&lt;br /&gt;# ssh -l user host      ssh as user to host, ssh -l donald server1.sshexample.com&lt;br /&gt;# uptime                check your linux servers uptime and load&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4537829589558011064-2136924018983916054?l=venkatlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://venkatlinux.blogspot.com/feeds/2136924018983916054/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4537829589558011064&amp;postID=2136924018983916054' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/2136924018983916054'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/2136924018983916054'/><link rel='alternate' type='text/html' href='http://venkatlinux.blogspot.com/2007/12/linux-and-unix-useful-command-list-mini.html' title='Linux and Unix useful command list, mini version, ping, netstat, ifconfig iptables'/><author><name>venkat</name><uri>http://www.blogger.com/profile/05704728868940562317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_5wiNn__TKWI/R2HMaGxMqtI/AAAAAAAAAE4/erOoZBEW8Yk/S220/Firefox_wallpaper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4537829589558011064.post-1745190568575830321</id><published>2007-12-22T22:19:00.000-08:00</published><updated>2007-12-22T22:20:10.423-08:00</updated><title type='text'>Unix Linux Install Command List</title><content type='html'>&lt;p&gt;This mini guide is ment to be of some help for rookies on Linux/Unix started on&lt;br /&gt;installing applications and software on Unix/Linux systems.&lt;br /&gt;&lt;br /&gt;Install Howto, commands, mini guide.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Unix Systems/Dialects&lt;br /&gt;&lt;br /&gt;Solaris/SunOS Examples: As user root. ( # sign = root, $ sign = user )&lt;br /&gt;&lt;br /&gt;# pkgadd -d gcc-2.95.2-sol7-sparc-local (Installs solaris package)&lt;br /&gt;# pkginfo -l (Verify installation)&lt;br /&gt;# pkgrm (Remove package, you will have to answer yes/no)&lt;br /&gt;# patchadd /var/spool/patch/104945-02&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Linux Systems/Dialects&lt;br /&gt;&lt;br /&gt;Red Hat, Examples: As user root. (# symbolizes user root)&lt;br /&gt;&lt;br /&gt;# rpm -ivh kernel-2.6.9-5.EL.rpm (Install command)&lt;br /&gt;# rpm -q kernel-2.6.9-5.EL.rpm (Query/Verify)&lt;br /&gt;# rpm -e kernel-2.6.9-5.EL.rpm (Remove/Delete)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Debian, Examples: As user root.&lt;br /&gt;&lt;br /&gt;# apt-get install xchat&lt;br /&gt;# apt-get remove gnome-panel&lt;br /&gt;# apt-get update (update to the latest package info)&lt;br /&gt;# apt-get -u upgrade&lt;br /&gt;&lt;br /&gt;# apt-get -u dist-upgrade (upgrade to a new release)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;SuSE&lt;br /&gt;&lt;br /&gt;Same as Red Hat.&lt;br /&gt;&lt;br /&gt;GCC Gnu Cross Compiler&lt;br /&gt;&lt;br /&gt;When downloading the source code in a tarball format, you will&lt;br /&gt;usually need to decompress the files. This is done with tar, bunzip,&lt;br /&gt;gunzip, or unzip, depending on how the file is packed.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4537829589558011064-1745190568575830321?l=venkatlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://venkatlinux.blogspot.com/feeds/1745190568575830321/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4537829589558011064&amp;postID=1745190568575830321' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/1745190568575830321'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/1745190568575830321'/><link rel='alternate' type='text/html' href='http://venkatlinux.blogspot.com/2007/12/unix-linux-install-command-list.html' title='Unix Linux Install Command List'/><author><name>venkat</name><uri>http://www.blogger.com/profile/05704728868940562317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_5wiNn__TKWI/R2HMaGxMqtI/AAAAAAAAAE4/erOoZBEW8Yk/S220/Firefox_wallpaper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4537829589558011064.post-3882018561732337126</id><published>2007-12-22T21:58:00.000-08:00</published><updated>2007-12-22T21:59:15.122-08:00</updated><title type='text'>Enhancing security on Linux and Unix systems.</title><content type='html'>Here are some applications and tools that can help you harden and tighten the security on your Linux or Unix box. Examples will follow for each application, tool or module in separate blog posts.&lt;br /&gt;&lt;div class="post-body"&gt;&lt;blockquote&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;span onclick="BLOG_clickHandler(this)" class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;bastille&lt;/span&gt;  &lt;/span&gt;            System hardening. OS &lt;span onclick="BLOG_clickHandler(this)" class="blsp-spelling-corrected" id="SPELLING_ERROR_1"&gt;lock down&lt;/span&gt; program. Configures daemons, system                                            settings and firewalls to be more secure.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;span onclick="BLOG_clickHandler(this)" class="blsp-spelling-error" id="SPELLING_ERROR_2"&gt;tcpwrapper&lt;/span&gt;&lt;/span&gt;     Add some security to your system with &lt;span onclick="BLOG_clickHandler(this)" class="blsp-spelling-error" id="SPELLING_ERROR_3"&gt;tcwrapper&lt;/span&gt;. /etc/hosts.allow and /etc/hosts.deny&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;span onclick="BLOG_clickHandler(this)" class="blsp-spelling-error" id="SPELLING_ERROR_4"&gt;samhain&lt;/span&gt; &lt;/span&gt;            File integrity checks on the fly!&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;tripwire  &lt;/span&gt;            File integrity checks and much more.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;span onclick="BLOG_clickHandler(this)" class="blsp-spelling-error" id="SPELLING_ERROR_5"&gt;SELinux&lt;/span&gt; &lt;/span&gt; Security-Enhanced Linux. Implements mandatory access control using Linux Security Modules in the Linux kernel. NSA started the development, and the project was later released to the open source community for further development.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;span onclick="BLOG_clickHandler(this)" class="blsp-spelling-error" id="SPELLING_ERROR_6"&gt;Apparmor&lt;/span&gt;&lt;/span&gt; (&lt;span onclick="BLOG_clickHandler(this)" class="blsp-spelling-error" id="SPELLING_ERROR_7"&gt;Novell&lt;/span&gt;, &lt;span onclick="BLOG_clickHandler(this)" class="blsp-spelling-error" id="SPELLING_ERROR_8"&gt;SuSE&lt;/span&gt;). Discretionary access control (&lt;span onclick="BLOG_clickHandler(this)" class="blsp-spelling-error" id="SPELLING_ERROR_9"&gt;DAC&lt;/span&gt;) model by providing mandatory access control. (MAC)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;span onclick="BLOG_clickHandler(this)" class="blsp-spelling-error" id="SPELLING_ERROR_10"&gt;iptables&lt;/span&gt;/&lt;span onclick="BLOG_clickHandler(this)" class="blsp-spelling-error" id="SPELLING_ERROR_11"&gt;netfilter&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;                       Packet filter for &lt;span onclick="BLOG_clickHandler(this)" class="blsp-spelling-error" id="SPELLING_ERROR_12"&gt;IPv&lt;/span&gt;4 and NAT. Packet filter rules in in the kernel.&lt;br /&gt;                        The &lt;span onclick="BLOG_clickHandler(this)" class="blsp-spelling-error" id="SPELLING_ERROR_13"&gt;iptables&lt;/span&gt; command is for administration of the packet filtering rules and NAT. (Network Address Translation).&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.andutteye.com/news.php"&gt;&lt;span style="font-weight: bold;" onclick="BLOG_clickHandler(this)" class="blsp-spelling-error" id="SPELLING_ERROR_14"&gt;Andutteye&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;                     Monitor your systems in a most excellent way.&lt;br /&gt;&lt;/blockquote&gt;These are just a few of the security tools and programs out there, but if you master these, you will most &lt;span onclick="BLOG_clickHandler(this)" class="blsp-spelling-corrected" id="SPELLING_ERROR_15"&gt;definitely&lt;/span&gt; have a more secure system or server.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4537829589558011064-3882018561732337126?l=venkatlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://venkatlinux.blogspot.com/feeds/3882018561732337126/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4537829589558011064&amp;postID=3882018561732337126' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/3882018561732337126'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/3882018561732337126'/><link rel='alternate' type='text/html' href='http://venkatlinux.blogspot.com/2007/12/enhancing-security-on-linux-and-unix.html' title='Enhancing security on Linux and Unix systems.'/><author><name>venkat</name><uri>http://www.blogger.com/profile/05704728868940562317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_5wiNn__TKWI/R2HMaGxMqtI/AAAAAAAAAE4/erOoZBEW8Yk/S220/Firefox_wallpaper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4537829589558011064.post-7081870953954524016</id><published>2007-12-22T21:14:00.000-08:00</published><updated>2007-12-22T21:15:17.171-08:00</updated><title type='text'>Three Linux Modules Commands</title><content type='html'>lsmod - program to show the status of modules in the Linux Kernel&lt;br /&gt;rmmod - simple program to remove a module from the Linux Kernel&lt;br /&gt;modprobe - program to add and remove modules from the Linux Kernel&lt;br /&gt;See /etc/modprobe.conf&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4537829589558011064-7081870953954524016?l=venkatlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://venkatlinux.blogspot.com/feeds/7081870953954524016/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4537829589558011064&amp;postID=7081870953954524016' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/7081870953954524016'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/7081870953954524016'/><link rel='alternate' type='text/html' href='http://venkatlinux.blogspot.com/2007/12/three-linux-modules-commands.html' title='Three Linux Modules Commands'/><author><name>venkat</name><uri>http://www.blogger.com/profile/05704728868940562317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_5wiNn__TKWI/R2HMaGxMqtI/AAAAAAAAAE4/erOoZBEW8Yk/S220/Firefox_wallpaper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4537829589558011064.post-5466584632014195753</id><published>2007-12-22T20:43:00.000-08:00</published><updated>2007-12-22T20:51:31.823-08:00</updated><title type='text'>Playing mp3 files on a Linux system</title><content type='html'>Due to patent issues, many of the Linux distributions does not support mp3 files out of the box.&lt;br /&gt;This is old news, but if you want to support for playing mp3 files, you can simply download xmms-mp3 for the&lt;a href="http://xmms.org/"&gt; xmms player&lt;/a&gt;, or use the excellent mplayer (movie player) from &lt;a href="http://www3.mplayerhq.hu/"&gt;http://www3.mplayerhq.hu&lt;/a&gt;. The mplayer is movie player but it can use several kinds of codecs, and is usable from the command line for playing mp3 fles etc.&lt;br /&gt;&lt;br /&gt;Make sure you download the Windows Codec Binaries and add them to your /usr/lib/codecs or what ever directory that fits your Linux system. You will need to be root user if you choose the /usr directory.&lt;br /&gt;&lt;br /&gt;mp3 support to xmms for Fedora or Red Hat.&lt;br /&gt;# yum install xmms-mp3&lt;br /&gt;&lt;br /&gt;Command line syntax for playing mp3 files with xmms or mplayer&lt;br /&gt;&lt;br /&gt;$ xmms file.mp3&lt;br /&gt;$ mplayer file.mp3&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4537829589558011064-5466584632014195753?l=venkatlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://venkatlinux.blogspot.com/feeds/5466584632014195753/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4537829589558011064&amp;postID=5466584632014195753' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/5466584632014195753'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/5466584632014195753'/><link rel='alternate' type='text/html' href='http://venkatlinux.blogspot.com/2007/12/playing-mp3-files-on-linux-system.html' title='Playing mp3 files on a Linux system'/><author><name>venkat</name><uri>http://www.blogger.com/profile/05704728868940562317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_5wiNn__TKWI/R2HMaGxMqtI/AAAAAAAAAE4/erOoZBEW8Yk/S220/Firefox_wallpaper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4537829589558011064.post-1075220653712614453</id><published>2007-12-22T20:29:00.001-08:00</published><updated>2007-12-22T20:29:39.128-08:00</updated><title type='text'>Bash Shell Shortcuts</title><content type='html'>&lt;div class="post-body"&gt; &lt;div class="KonaBody"&gt;        &lt;div style="text-align: justify;"&gt;&lt;span style="font-size: 180%;"&gt;B&lt;/span&gt;ash, which is the default shell in Linux contains a whole lot of key bindings which makes it really easy to use . The most commonly used shortcuts are listed below :&lt;br /&gt;&lt;/div&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;____________&lt;span style="color: rgb(0, 0, 153); font-size: 130%;"&gt;&lt;span style="font-family: courier new;"&gt;CTRL&lt;/span&gt;  Key Bound&lt;/span&gt;_____________&lt;br /&gt;&lt;span style="font-weight: bold; font-family: courier new;"&gt;Ctrl + a&lt;/span&gt;         - Jump to the start of the line&lt;br /&gt;&lt;span style="font-weight: bold; font-family: courier new;"&gt;Ctrl + b&lt;/span&gt;         - Move back a char&lt;br /&gt;&lt;span style="font-weight: bold; font-family: courier new;"&gt;Ctrl + c&lt;/span&gt;         - Terminate the command&lt;br /&gt;&lt;span style="font-weight: bold; font-family: courier new;"&gt;Ctrl + d&lt;/span&gt;         - Delete from under the &lt;a id="KonaLink1" target="_top" class="kLink" style="text-decoration: underline ! important; position: static;" href="http://linuxhelp.blogspot.com/2005/08/bash-shell-shortcuts.html#"&gt;&lt;span style="color: rgb(68, 157, 52) ! important; font-family: Georgia,Serif; font-weight: 400; font-size: 13px; position: static;color:#449d34;" &gt;&lt;span class="kLink" style="color: rgb(68, 157, 52) ! important; font-family: Georgia,Serif; font-weight: 400; font-size: 13px; position: static;"&gt;cursor&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-family: courier new;"&gt;Ctrl + e&lt;/span&gt;         - Jump to the end of the line&lt;br /&gt;&lt;span style="font-weight: bold; font-family: courier new;"&gt;Ctrl + f&lt;/span&gt;         - Move forward a char&lt;br /&gt;&lt;span style="font-weight: bold; font-family: courier new;"&gt;Ctrl + k&lt;/span&gt;         - Delete to EOL&lt;br /&gt;&lt;span style="font-weight: bold; font-family: courier new;"&gt;Ctrl + l&lt;/span&gt;         - Clear the screen&lt;br /&gt;&lt;span style="font-weight: bold; font-family: courier new;"&gt;Ctrl + r&lt;/span&gt;         - Search the history backwards&lt;br /&gt;&lt;span style="font-weight: bold; font-family: courier new;"&gt;Ctrl + R&lt;/span&gt;         - Search the history backwards with multi occurrence&lt;br /&gt;&lt;span style="font-weight: bold; font-family: courier new;"&gt;Ctrl + u&lt;/span&gt;         - Delete backward from cursor&lt;br /&gt;&lt;span style="font-weight: bold; font-family: courier new;"&gt;Ctrl + xx&lt;/span&gt;       - Move between EOL and current cursor position&lt;br /&gt;&lt;span style="font-weight: bold; font-family: courier new;"&gt;Ctrl + x @&lt;/span&gt;        - Show possible &lt;span style="font-family: courier new;"&gt;hostname&lt;/span&gt; completions&lt;br /&gt;&lt;span style="font-weight: bold; font-family: courier new;"&gt;Ctrl + z&lt;/span&gt;        - Suspend/ Stop the command&lt;br /&gt;____________&lt;span style="color: rgb(0, 0, 153); font-size: 130%;"&gt;&lt;span style="font-family: courier new;"&gt;ALT&lt;/span&gt;  Key Bound&lt;/span&gt;___________&lt;br /&gt;&lt;span style="font-weight: bold; font-family: courier new;"&gt;Alt + &lt;&lt;/span&gt;        - Move to the first line in the history&lt;br /&gt;&lt;span style="font-weight: bold; font-family: courier new;"&gt;Alt + &gt;&lt;/span&gt;        - Move to the last line in the history&lt;br /&gt;&lt;span style="font-weight: bold; font-family: courier new;"&gt;Alt + ?&lt;/span&gt;        - Show current completion list&lt;br /&gt;&lt;span style="font-weight: bold; font-family: courier new;"&gt;Alt + *&lt;/span&gt;        - Insert all possible completions&lt;br /&gt;&lt;span style="font-weight: bold; font-family: courier new;"&gt;Alt + /&lt;/span&gt;       - Attempt to complete filename&lt;br /&gt;&lt;span style="font-weight: bold; font-family: courier new;"&gt;Alt + .&lt;/span&gt;       - Yank last argument to previous command&lt;br /&gt;&lt;span style="font-weight: bold; font-family: courier new;"&gt;Alt + b&lt;/span&gt;        - Move backward&lt;br /&gt;&lt;span style="font-weight: bold; font-family: courier new;"&gt;Alt + c&lt;/span&gt;       - Capitalize the word&lt;br /&gt;&lt;span style="font-weight: bold; font-family: courier new;"&gt;Alt + d&lt;/span&gt;       - Delete word&lt;br /&gt;&lt;span style="font-weight: bold; font-family: courier new;"&gt;Alt + f&lt;/span&gt;       - Move forward&lt;br /&gt;&lt;span style="font-weight: bold; font-family: courier new;"&gt;Alt + l&lt;/span&gt;       - Make word lowercase&lt;br /&gt;&lt;span style="font-weight: bold; font-family: courier new;"&gt;Alt + n&lt;/span&gt;       - Search the history forwards non-incremental&lt;br /&gt;&lt;span style="font-weight: bold; font-family: courier new;"&gt;Alt + p&lt;/span&gt;       - Search the history backwards non-incremental&lt;br /&gt;&lt;span style="font-weight: bold; font-family: courier new;"&gt;Alt + r&lt;/span&gt;       - Recall command&lt;br /&gt;&lt;span style="font-weight: bold; font-family: courier new;"&gt;Alt + t&lt;/span&gt;       - Move words around&lt;br /&gt;&lt;span style="font-weight: bold; font-family: courier new;"&gt;Alt + u&lt;/span&gt;       - Make word uppercase&lt;br /&gt;&lt;span style="font-weight: bold; font-family: courier new;"&gt;Alt + back-space&lt;/span&gt;       - Delete backward from cursor&lt;br /&gt;&lt;br /&gt;----------------&lt;span style="color: rgb(0, 0, 153); font-size: 130%;"&gt;More Special Keybindings&lt;/span&gt;-------------------&lt;br /&gt;&lt;br /&gt;Here "&lt;span style="font-weight: bold; font-family: courier new;"&gt;2T&lt;/span&gt;"  means Press &lt;span style="font-weight: bold; font-family: courier new;"&gt;TAB&lt;/span&gt; twice&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;$ &lt;span style="font-weight: bold;"&gt;2T&lt;/span&gt;&lt;/span&gt;           -    All available commands(common)&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;$ &lt;span style="font-weight: bold;"&gt;(string)2T&lt;/span&gt;&lt;/span&gt;    -    All available commands starting with (string)&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;$ &lt;span style="font-weight: bold;"&gt;/2T&lt;/span&gt;&lt;/span&gt;         -    Entire &lt;span style="font-family: courier new;"&gt;directory &lt;/span&gt;structure including &lt;span style="font-family: courier new;"&gt;Hidden&lt;/span&gt; one&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;$ &lt;span style="font-weight: bold;"&gt;2T&lt;/span&gt;&lt;/span&gt;         -    Only Sub Dirs inside including Hidden one&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;$ &lt;span style="font-weight: bold;"&gt;*2T&lt;/span&gt;&lt;/span&gt;         -    Only Sub Dirs inside without Hidden one&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;$ &lt;span style="font-weight: bold;"&gt;~2T&lt;/span&gt;&lt;/span&gt;           -    All Present Users on system from "&lt;span style="font-family: courier new;"&gt;/etc/passwd&lt;/span&gt;"&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;$ &lt;span style="font-weight: bold;"&gt;$2T&lt;/span&gt;&lt;/span&gt;        -    All &lt;span style="font-family: courier new;"&gt;Sys&lt;/span&gt; variables&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;$ &lt;span style="font-weight: bold;"&gt;@2T&lt;/span&gt;&lt;/span&gt;        -    Entries from "&lt;span style="font-family: courier new;"&gt;/etc/hosts&lt;/span&gt;"&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;$ &lt;span style="font-weight: bold;"&gt;=2T&lt;/span&gt;&lt;/span&gt;    - Output like  &lt;span style="font-family: courier new;"&gt;ls&lt;/span&gt; or &lt;span style="font-family: courier new;"&gt;dir&lt;/span&gt;&lt;/span&gt; &lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4537829589558011064-1075220653712614453?l=venkatlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://venkatlinux.blogspot.com/feeds/1075220653712614453/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4537829589558011064&amp;postID=1075220653712614453' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/1075220653712614453'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/1075220653712614453'/><link rel='alternate' type='text/html' href='http://venkatlinux.blogspot.com/2007/12/bash-shell-shortcuts.html' title='Bash Shell Shortcuts'/><author><name>venkat</name><uri>http://www.blogger.com/profile/05704728868940562317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_5wiNn__TKWI/R2HMaGxMqtI/AAAAAAAAAE4/erOoZBEW8Yk/S220/Firefox_wallpaper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4537829589558011064.post-3660099806935026137</id><published>2007-12-22T20:17:00.000-08:00</published><updated>2008-12-11T17:31:43.933-08:00</updated><title type='text'>RHCE Study Guide for RHEL5</title><content type='html'>&lt;h3 class="post-title"&gt;&lt;a href="http://systemnotesorg.blogspot.com/2007/12/rhce-study-guide-for-rhel5.html"&gt;RHCE Study Guide for RHEL5&lt;/a&gt;                      &lt;/h3&gt;                 &lt;div class="post-body"&gt;       &lt;div style="float: right; margin-left: 10px;"&gt;  &lt;script type="text/javascript"&gt;  digg_url = "http://systemnotesorg.blogspot.com/2007/12/rhce-study-guide-for-rhel5.html";  &lt;/script&gt;  &lt;script src="http://digg.com/tools/diggthis.js" type="text/javascript"&gt;&lt;/script&gt;&lt;iframe src="http://digg.com/tools/diggthis.php?u=http%3A//systemnotesorg.blogspot.com/2007/12/rhce-study-guide-for-rhel5.html" frameborder="0" height="80" scrolling="no" width="52"&gt;&lt;/iframe&gt;  &lt;/div&gt;  &lt;p&gt;I hope people find it useful.  Please feel free to comment below.  I want to make sure the information is complete and accurate.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Here is the complete guide:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;PDF format:&lt;br /&gt;----------------&lt;br /&gt;&lt;br /&gt; &lt;a href="http://www.systemnotes.org/download/RHCE_Notes_RHEL5.pdf"&gt;http://www.systemnotes.org/download/RHCE_Notes_RHEL5.pdf&lt;/a&gt; -- pdf, 104k  &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.systemnotes.org/download/RHCE_Notes_RHEL5.pdfhttp://www.systemnotes.org/download/RHCE_Notes_RHEL5.pdf"&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_R7E8CEdseRg/R2JFiQxSe8I/AAAAAAAAAP0/2v64WZjRyOE/s320/pdficon_small.gif" alt="" id="BLOGGER_PHOTO_ID_5143750179330096066" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;HTML format (single page):&lt;br /&gt;----------------------------------&lt;br /&gt;&lt;br /&gt;-------------------------------------------------------------------------------&lt;br /&gt;---- &lt;a href="http://systemnotes.org/"&gt;Systemnotes.org&lt;/a&gt; &lt;span style="font-weight: bold;"&gt;RHCE Study Guide for RHEL 5&lt;/span&gt; ----&lt;br /&gt;&lt;br /&gt;-- by scottm, v1.0 2007/12/02 --&lt;br /&gt;-------------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;It is very important to study the official objectives for any exam, as that is the only way to know what to expect. This is not meant to replace official training courses and manuals, but is meant to help students quickly review, so they can determine where to focus their efforts and study in more detail.&lt;br /&gt;&lt;br /&gt;-------------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;This guide is based on the official redhat objectives for the RHEL5 exam.  see:&lt;br /&gt;&lt;a href="https://www.redhat.com/certification/rhce/prep_guide/"&gt;https://www.redhat.com/certification/rhce/prep_guide/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This guide is freely available from &lt;a href="http://systemnotesorg.blogspot.com/"&gt;systemnotesorg.blogspot.com &lt;/a&gt; at this permalink:&lt;br /&gt;&lt;a href="http://systemnotesorg.blogspot.com/2007/12/rhce-study-guide-for-rhel5.html"&gt;http://systemnotesorg.blogspot.com/2007/12/rhce-study-guide-for-rhel5.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;For more detailed study info on each objective see:&lt;br /&gt;&lt;a href="http://systemnotesorg.blogspot.com/search/label/RHCE"&gt;http://systemnotesorg.blogspot.com/search/label/RHCE&lt;/a&gt;&lt;br /&gt;-------------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;This guide was prepared by looking at each objective, and asking the questions:&lt;br /&gt;-- What could they ask in order to test for knowledge of this objective?, or&lt;br /&gt;-- What kind of troubleshooting might be required?&lt;br /&gt;-- How can this requirement be met?&lt;br /&gt;&lt;br /&gt;Q: is used to denote possible questions, and&lt;br /&gt;A: for possible answers.&lt;br /&gt;&lt;br /&gt;Note that there may be more than one answer based on what the objective is, or depending which method is preferred to meet the objective. Some items and ideas were taken from labs in the RHCE course book, and great care was taken to not give away any hints about what might be on the exam, other than what the labs and official objectives lead one to infer.&lt;br /&gt;&lt;br /&gt;-------------------------------------------------------------------------------&lt;br /&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0in; page-break-before: always;"&gt;&lt;b&gt;RHCT skills&lt;/b&gt;&lt;/p&gt; &lt;p style="border-style: none none solid; border-color: -moz-use-text-color -moz-use-text-color rgb(0, 0, 0); border-width: medium medium 1px; padding: 0in 0in 0.03in; margin-bottom: 0in;"&gt; &lt;b&gt;Troubleshooting and System Maintenance&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;b&gt;RHCTs should be able to:&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;b&gt;1) boot systems into different run levels for troubleshooting and system maintenance&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; boot single to set root password, or fix mounting, or init problem&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; Q: Machine won't boot&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; A: modify /boot/grub/grub.conf&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;      root (hd0,0)&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; A: Check files&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  /etc/rc.local&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  /etc/inittab&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; A: Fix initrd&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; mkinitrd initrd-`uname -r`.img `uname -r`&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; Q: root password not known&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; A: 1) boot single (at grub screen, "a", "space", "1", enter),  &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;    2) passwd root&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; Items to study: grub, initrd,vmlinuz, inittab, rc.sysinit...&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;b&gt;2) diagnose and correct misconfigured networking&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; system-config-network, or&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; vi /etc/sysconfig/network-scripts/ifcfg-eth0&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;      check IPADDR, NETMASK, GATEWAY&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;      ONBOOT=yes&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; PEERDNS=no&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; vi /etc/sysconfig/network&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;b&gt;3) diagnose and correct hostname resolution problems&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; /etc/resolv.conf&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; /etc/hosts&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;b&gt;4) configure the X Window System and a desktop environment&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;Remember X troubleshooting should be done from the command prompt, and&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;not within X.&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; Files:&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; /etc/X11/xinit/xinitrc.d&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; /etc/X11/xorg.conf&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; Q: Boot to X&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; A: Set runlevel 5 in /etc/inittab  &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  vi /etc/inittab&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  change&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  id:3:initdefault:&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  to&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  id:5:initdefault:&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; Q: X won't load&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; A: Check config files&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; A: system-config-display --reconfig&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; A: /tmp or /home is full&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;b&gt;5) add new partitions, filesystems, and swap to existing systems&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;This one is a little hard to explain.  It just takes some practice to understand.&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; Tools available:&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; fdisk /dev/hda&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  t / fd (raid)&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; partprobe&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; mdadm -C /dev/md0 -l 5 -n 3 /dev/hda6 /dev/hda7 /dev/hda8&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; mke2fs -j /dev/md0&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; Q: mount something, such as: /dev/hda7 on /data &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; A: make directory, mount, modify /etc/fstab&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  1) mkdir /data&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  2) mount -t ext3 /dev/hda7 /data&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  3) vi /etc/fstab&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  /data        /data           ext3    defaults      1 2&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; view or change label:&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;   e2label /dev/hda2&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;   e2label /dev/vg0/data0 /data&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;b&gt;6) use standard command-line tools to analyze problems and configure system&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; ls, cp, mv, rm, tail, cat, etc&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; system-config-&lt;tab&gt;&lt;/tab&gt;&lt;/p&gt;&lt;br /&gt;&lt;p style="border-style: none none solid; border-color: -moz-use-text-color -moz-use-text-color rgb(0, 0, 0); border-width: medium medium 1px; padding: 0in 0in 0.03in; margin-bottom: 0in; page-break-before: always;"&gt; &lt;b&gt;Installation and Configuration&lt;/b&gt;&lt;/p&gt;  &lt;p style="margin-bottom: 0in;"&gt;&lt;b&gt;RHCTs must be able to:&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;b&gt;1) perform network OS installation&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; Enter the nfs, or ftp server address and path&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;b&gt;2) implement a custom partitioning scheme&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; Probably easiest during GUI install&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;b&gt;3) configure printing&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; probably the easiest thing to do is use:&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; system-config-printer  &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; /etc/cups/cupsd.conf&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; lpadmin&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; lpstat, lpq&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; reject disable&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; accept /usr/bin/enable&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;b&gt;4) configure the scheduling of tasks using cron and at&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; Understand how cron fields work:&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; min hr month_day month weekday&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;        copy script to /etc/cron.daily, /etc.cron.monthly, etc. or&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; Modify /etc/crontab: crontab -e&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; List cron jobs: crontab -l&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; Add an at job: at [-f file] TIME&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; View at queue: atq&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; Remove at jog: atrm job&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;b&gt;5) attach system to a network directory service, such as NIS or LDAP&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;     1) Install ypbind, portmap&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;     2) system-config-authentication&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; check: Enable NIS Support, or Enable LDAP Support&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; click: Configure NIS..., or Configure LDAP...&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;     3) configure firewall, if required&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; iptables -A INPUT -s 192.168.0.0/255.255.255.0 -p tcp -m tcp --dport 835:837 -j ACCEPT  &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; service iptables save&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; test:&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  ypwhich&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  nisdomainname -y&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  genent services&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  getent passwd smith&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  rpcinfo -p&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; files:&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  /etc/yp.conf&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  /etc/sysconfig/network&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  /etc/pam.d/system-auth&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  /etc/nsswitch.conf&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;b&gt;6) configure autofs&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; /etc/auto.master&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  /home/guests /etc/auto.guests --timeout=60&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; /etc/auto.guests&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  * -rw,soft,intr  server1:/home/guests/&amp;amp;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; service autofs restart&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; chkconfig portmap on&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; chkconfig autofs on&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;b&gt;7) add and manage users, groups, quotas, and File Access Control Lists&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; Q: Create group, add users, set primary group&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; A: Use groupadd, useradd, usermod&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; groupadd -g 1000 groupname&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; useradd username&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; usermod -G groupname username&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  (-G for primary group)&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; quotas  &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; Q: Setup a 70kb hard block user quota for user tim on /home/tim:&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; A: Use a Hard Block user quota (or Soft depending on question).   &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  1) modify /etc/fstab&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;   change defaults to usrquota for /home&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  2) mount -o remount /home&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  3) quotacheck -cuf /home&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  4) quotaon /home&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  5) setquota -u tim 0 60 0 0 /home&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;     or&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  5a) edquota tim&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; Disk quotas for user tim (uid 502):&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; Filesystem           blocks       soft       hard     inodes     soft     hard&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; /dev/hda5                16          0          0          8        0        0&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; 6) repquota /home&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  or&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;    quota tim&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; 7) test&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  a) quota tim&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  b) su - tim&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  c) dd if=/dev/zero of=/home/tim/somefile bs=1024 count=70&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  d) ls -l&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  file should be less than 70 kilobytes &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; Quota Command to remember:&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; quotacheck -cuf /home&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; quotaon /home&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; edquota tim&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; quota tim&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; repquota /home&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  *** Lab: Set a user soft block quota of 1MB for user diskhog on /blackhole,  &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; (or hard block, hard / soft inode).  Know when to use each type of quota ***&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; Enable quotas:&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  quotacheck -cuf /blackhole&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  quotaon /blackhole&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; Set Quota:&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;       block  inode&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;       h  s   h s&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  setquota -u diskhog 0 1024 0 0 /blackhole&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  or&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  edquota -u diskhog&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; Report on Quota for user or directory:&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  quota -u diskhog&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  repquota /blackhole&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; Password&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; defaults:  &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  /etc/login.defs&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  chage [options] username&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; password files:&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  /etc/passwd&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  /etc/shadow&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  /etc/group&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;b&gt;8) configure filesystem permissions for collaboration&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; Q: Make user alex a member of sales with write permissions to /depts/sales&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; Q: Make user sales, hr, and web groups in /depts/&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; A:&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; mkdir -p /depts/{sales,hr,web}&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; for GROUP in sales hr web;do chgrp $GROUP /depts/$GROUP;done&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; chmod 770 /depts/*&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; chmod g+s /depts/*&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; Test permissions as alex:&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; su - alex&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;b&gt;9) install and update packages using rpm&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;You may have to mount a directory over nfs, or install directly from http://&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; rpm -Uvh filenamex.i386.rpm&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  rpm --import /usr/share/rhn/RPM-GPG-KEY&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  rpm -K /tmp/rpmversion.i386.rpm&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;b&gt;10) properly update the kernel package&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;Just remember to use rpm -i, so the old kernel will still be there.&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; 1) mkdir /server1&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; 2) mount server1:/var/ftp/pub /server1&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; 3) cd /server1/Redhat/RPMS&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; 4) rpm -ivh kernel-*&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; 5) vi /boot/grub/grub.conf&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  default=0&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;b&gt;11) configure the system to update/install packages from remote repositories using yum or pup&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; /etc/yum.conf&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;b&gt;12) modify the system bootloader&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  /boot/grub/grub.conf&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;b&gt;13) implement software RAID at install-time and run-time&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; fdisk /dev/hda&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  fd (raid)&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; partprobe&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; mdadm -C /dev/md0 -l 5 -n 3 /dev/hda6 /dev/hda7 /dev/hda8&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; mke2fs -j /dev/md0&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; mount  &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; /etc/fstab&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; mdadm --detail /dev/md0&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; recover&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  mdadm /dev/md0 -a /dev/sda1&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;b&gt;14) use /proc/sys and sysctl to modify and set kernel run-time parameters&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;   Q: turn on ip forwardarding&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; A: 1) vi /etc/sysctl.conf&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;      net.ipv4.ip_forward=1&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;    2) sysctl -p&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  or&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  echo 1 &gt; /proc/sys/net/ipv4/ip_forward&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; to view:&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; sysctl -a | grep ipv4&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; to find available options for ipv4:&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; ls /proc/sys/net/ipv4&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;b&gt;15) use scripting to automate system maintenance tasks&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; Maybe put a script in /etc/cron.daily?&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; Login Shell Scripts&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; /etc/profile&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; /etc/profile.d/*.sh&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; ~/.bash_profile&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; ~/.bashrc&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; /etc/bashrc&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p style="border-style: none none solid; border-color: -moz-use-text-color -moz-use-text-color rgb(0, 0, 0); border-width: medium medium 1px; padding: 0in 0in 0.03in; margin-bottom: 0in; page-break-before: always;"&gt; &lt;b&gt;RHCE skills&lt;/b&gt;&lt;/p&gt; &lt;p style="border-style: none none solid; border-color: -moz-use-text-color -moz-use-text-color rgb(0, 0, 0); border-width: medium medium 1px; padding: 0in 0in 0.03in; margin-bottom: 0in;"&gt; &lt;b&gt;Troubleshooting and System Maintenance&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;b&gt;RHCEs must demonstrate the RHCT skills listed above, and should be able to:&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;b&gt;1) use the rescue environment provided by first installation CD&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; linux rescue&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;b&gt;2) diagnose and correct boot failures arising from bootloader, module, and filesystem errors&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; init&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; /etc/rc.d/rc.sysinit&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; /etc/rc.d/rc adn /etc/rc.d/rc?.d&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; /etc/rc.d/rc.local&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; grub&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; /boot/grub/grub.conf&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; filesystem&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; /etc/fstab&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; fsck /dev/hda&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;b&gt;3) diagnose and correct problems with network services (see Installation and Configuration below for a list of these services)&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;b&gt;4) add, remove, and resize logical volumes&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; LVM -  &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;Hint: use apropos quota, or just lvm to find commands.   &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;     Q: expand or shrink logical volume (RHCE)&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;     A: Make sure there is enough space, and volume is online, use vgconvert if necessary&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; ext2online /dev/vg0/data0 120M&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; lvextend -L +100M /dev/vg0/data0&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; lvreduce -L 120M /dev/vg0/data0&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; vgdisplay -v vg0&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; pvdisplay&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; lvdisplay&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;    Q: Create a logical volume&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;    A: First create physical volume, then volume group, then logical volume&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;     PV -&gt; VG -&gt; LV&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; pvcreate /dev/hda6 /dev/hda7 /dev/hda8&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; vgcreate vg0 /dev/hda6 /dev/hda7&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; lvcreate -L 50M -n data0 vg0&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; ext2online /dev/vg0/data0  &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; lvextend -L +6M /dev/vg0/data0&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; resize2fs -L /dev/vg0/data0 40M&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; lvreduce -L 40M /dev/vg0/data0  &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; vgconvert&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;b&gt;5) diagnose and correct networking services problems where SELinux contexts are interfering with proper operation.&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; SELinux&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;   getenforce&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  setenforce 1&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; check context with ls -Z&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; Q: Set up directory to use context of another directory&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; A: Use the other directory as a reference&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;        chcon -R --reference /var/www/html /var/www/html/www1&lt;/p&gt;&lt;br /&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="border-style: none none solid; border-color: -moz-use-text-color -moz-use-text-color rgb(0, 0, 0); border-width: medium medium 1px; padding: 0in 0in 0.03in; margin-bottom: 0in; page-break-before: always;"&gt; &lt;b&gt;Installation and Configuration&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;b&gt;RHCEs must demonstrate the RHCT-level skills listed above, and they must be capable of configuring the following network services:&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;b&gt;1) HTTP/HTTPS&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; install httpd, check context with ls -Z&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; Q: Create a virtual host www1.example.com w/ subdirectory /var/www/html/www1&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; A:  &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;   1) install httpd, modify /etc/httpd/conf/httpd.conf file&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  &lt;virtualhost&gt;&lt;/virtualhost&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;   ServerName www1.example.com&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;   DocumentRoot /var/www/html/www1&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;   &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;   2) chcon -R --reference /var/www/html /var/www/html/www1&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;   3) service httpd restart&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;   4) chkconfig httpd on&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; Testing&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  service httpd configtest&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;b&gt;2) SMB&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; Q: Configure Samba share /home/depts/legal&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; 1) install samba &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  rpm -Uvh samba-* system-config-samba*(optional)&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; 2) vi /etc/samba/smb.conf&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  [sharename]&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  path = /home/depts/legal&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  browseable = no&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  writeable = no&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; 3) configure firewall&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  port 445, 137-139&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;b&gt;3) NFS&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; Q: Export /data directory with nfs&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; The nfs server is an RPC service, and thus requires portmap&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; A: Modify /etc/exports, start nfs &amp;amp; portmap (make sure /data directory exists)&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; 1) modify /etc/exports&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  /data *(sync,rw)&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; 2) start services&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  service nfs start&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  service portmap start&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  chkconfig nfs on&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  chkconfig portmap on&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; 3) verify config, &amp;amp; check mounts&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  exportfs -v&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  showmount -e localhost&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  rpcinfo -p localhost&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; 4) restart&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  exportfs -r, or&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  service nfs reload&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; Q: Mount server1:/var/ftp/pub with nfs on /server1&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  1) mkdir /server1&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  2) vi /etc/fstab&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;   192.168.2.254:/var/ftp/pub /server1 nfs soft,defaults 0 0&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  3) mount -a&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;    * configure autofs&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; Automount&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; Q: Configure automount for nfs mount from nis domain on server1&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; A:&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;   1) mkdir /net&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;   2) vi /etc/auto.master&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  # uncomment /net line&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  /net /etc/auto.net&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;   3) start services&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  service portmap start&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  service autofs start&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  chkconfig autofs on&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  chkconfig portmap on&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;    &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; Q: Configure automount for nfs mount of /rhome directories from nis domain on server1&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; A: Create base directory&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;   1) mkdir /rhome&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;   2) vi /etc/auto.master&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  # copy and modify /misc line&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  /rhome /etc/auto.rhome&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;   3) vi /etc/auto.rhome&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  * -rw,soft.intr server1:/home/guests/&amp;amp;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;   4) start services&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  service portmap start&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  service autofs start&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  chkconfig autofs on&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  chkconfig portmap on&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;b&gt;4) FTP&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; Q: Configure ftp with /var/ftp/incoming directory&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; A:&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; install vsftpd&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; 1) rpm -Uvh vsftpd*&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; 2) service vsftpd start&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; 3) chkconfig vsftpd on&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; 4) create incoming directory&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  cd /var/ftp&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  mkdir incoming&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  chown root:ftp fincoming&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  chmod 730 incoming&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; 5) vi /etc/vsftpd/vsftpd.conf&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  uncomment the lines --  &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  #anon_upload_enable=YES&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  #chown_uploads=YES&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  #chown_username=whoever&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  add&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  anon_umask=077&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; 6) service vsftpd restart&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; 7) configure firewall&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  iptables -A INPUT -s 192.168.0.0/24 -p tcp --dport 21 -j ACCEPT&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  service iptables save&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;b&gt;5) Web proxy&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; Q: Install a web proxy and allow a certain network to access it&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; A: Install &amp;amp; configure squid&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; 1) install squid, and start the service&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  rpm -ivh --aid squid*&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  service squid start&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  chkconfig squid on&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; 2) vi /etc/squid&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  acl example src 192.168.0.0/24&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  http_access allow example&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; 3) service squid reload&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; 4) Configure browser to test:&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  Edit / Preferences /General / Connection Settings&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  Manual proxy configuration / HTTP Proxy: localhost Port: 3128&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; Enable port in firewall, if required&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  iptables -A INPUT -s 192.168.0.0/24 -p tcp --dport 3128 -j ACCEPT&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  service iptables save&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; Useful parameters:&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  http_port 3128&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  cache_mem 8 MB&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  cache_dir ufs /var/spool/squid 100 16 256&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  acl all src 0.0.0.0/0.0.0.0&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  http_access allow localhost&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  http_access deny all&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; hint: find out that port number is 3128&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  grep squid /etc/services&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;b&gt;6) SMTP&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; install sendmail, sendmail-cf, sendmail-doc (optional)&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; Q: Configure mail server to accept internet email&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; A: modify /etc/mail/sendmail.mc&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  1) cd /etc/mail&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  2) vi /etc/mail/sendmail.mc&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;   search for 127.0, put dnl at the front of the line&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  3) make&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;   or  m4 sendmail.mc &gt; sendmail.cf&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;       service sendmail restart&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; Q: Mail alias&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; A: modify /etc/aliases, run newaliases&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; Q: Receive mail for DomainX.example.com&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; A: modify sendmail mc as above, and add domain to /etc/mail/local-host-names&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  domainx.example.com&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; Debugging:&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;   mail -v root&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;   mailq, mailq -Ac&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;   sendmail -q&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;   tail -f /var/log/maillog&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;b&gt;7) IMAP, IMAPS, and POP3&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; Q: Configure for pop3 (or imap)&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; A: 1) install dovecot&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;    2) vi /etc/dovcot.conf  &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  protocols = pop3  &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;    3) service dovecot restart&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;    4) chkconfig dovecot on&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; Testing:&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; note: root is not permitted to login&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; echo "pop" | mail -s test student&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  telnet localhost 110&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  user student&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  pass student&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  stat&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  list&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  retr 1&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  quit&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;b&gt;8) SSH&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; /etc/ssh/&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; ~/.ssh/&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;b&gt;9) DNS (caching name server, slave name server)&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; Q: Setup a slave name server&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; A:  &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; 1) install bind, bind-utils, and caching-nameserver&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; 2) when configuring a slave name server, start with caching, and modify&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; 3) vi /etc/named.conf&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  comment out dump-file section&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  add:&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  zone "example.com" {&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;    type slave;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;    masters { 192.168.0.254 };&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;    file "slaves/slave-example.com.zone";&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  };&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; 4) vi 0.168.192.in-addr.arpa&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  add:&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  zone "0.168.192.in-addr.arpa" {&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;    type slave;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;    masters { 192.168.0.254 };&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;    file "slaves/0.168.192.zone";&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;  };&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; To verify:&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;   named-checkconf&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;   named-checkconf -t /var/named&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;   named-checkzone example.com example.com.zone&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; 5) start named, and make it start at boot&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;     service named restart; tail -f /var/log/messages | grep named&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;     chkconfig named on&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; Remember to check /etc/resolv.conf on all client machines.&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;b&gt;10) NTP&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; /etc/ntp.conf&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;For each of these services, RHCEs must be able to:&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;b&gt;1) install the packages needed to provide the service&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; rpm -Uvh packagename.rpm, or&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; yum install packagename&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;b&gt;2) configure SELinux to support the service&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; getenforce&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; setenforce 1&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; check context with ls -Z&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; chcon -R --reference /var/www/html /var/www/html/www1&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;b&gt;3) configure the service to start when the system is booted&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; chkconfig servicename on&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;b&gt;4) configure the service for basic operation&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; different for each service&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;b&gt;5) Configure host-based and user-based security for the service&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; setuid?&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; /etc/xinet.d/&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;b&gt;RHCEs must also be able to:&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;b&gt;1) configure hands-free installation using Kickstart&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;b&gt;2) implement logical volumes at install-time&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;b&gt;3) use iptables to implement packet filtering and/or NAT&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;iptables is usually configured to be as restrictive as possible, but this&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;may be difficult to implement in an exam environment.  Read the instructions&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;carefully, and try to find the best way to implement it.&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;--- commands ---&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;iptables -L&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;iptables -F&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;service iptables save&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;service iptables restart&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;chkconfig iptables on&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;--- starting config ---&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;iptables -P INPUT DROP&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;iptables -A INPUT -i lo -j ACCEPT&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;iptables -A INPUT -m state --state ESTABLISHED, RELATED -j ACCEPT&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;--- sample file ---&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;cat /etc/sysconfig/iptables&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;*filter&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;:INPUT DROP [67:11217]&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;:FORWARD ACCEPT [0:0]&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;:OUTPUT ACCEPT [58:6450]&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;-A INPUT -s 192.168.0.10 -p tcp -m tcp --dport 22 -j ACCEPT  &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;-A INPUT -s 192.168.0.1 -p tcp -m tcp --dport 22 -j ACCEPT  &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;-A INPUT -i lo -j ACCEPT  &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;-A INPUT -s 192.168.0.254 -p tcp -m tcp --dport 22 -j ACCEPT  &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;-A INPUT -s 192.168.0.254 -p udp -m udp --sport 53 -j ACCEPT  &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT  &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;-A INPUT -s 192.168.0.0/255.255.255.0 -p tcp -m tcp --dport 22 -j ACCEPT  &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;-A INPUT -s 192.168.0.0/255.255.255.0 -p udp -m udp --dport 53 -j ACCEPT  &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;-A INPUT -s 192.168.0.0/255.255.255.0 -p tcp -m tcp --dport 445 -j ACCEPT  &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;-A INPUT -s 192.168.0.0/255.255.255.0 -p tcp -m tcp --dport 21 -j ACCEPT  &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;-A INPUT -s 192.168.0.0/255.255.255.0 -p tcp -m tcp --dport 2049 -j ACCEPT  &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;-A INPUT -s 192.168.0.0/255.255.255.0 -p udp -m udp --dport 2049 -j ACCEPT  &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;-A INPUT -s 192.168.0.0/255.255.255.0 -p tcp -m tcp --dport 25 -j ACCEPT  &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;-A INPUT -s 192.168.0.0/255.255.255.0 -p tcp -m tcp --dport 110 -j ACCEPT  &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;-A INPUT -s 192.168.0.0/255.255.255.0 -p tcp -m tcp --dport 80 -j ACCEPT  &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;-A INPUT -s 192.168.0.0/255.255.255.0 -p tcp -m tcp --dport 3128 -j ACCEPT  &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;-A INPUT -s 192.168.0.0/255.255.255.0 -p tcp -m tcp --dport 835:837 -j ACCEPT  &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;COMMIT&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;b&gt;4) use PAM to implement user-level restrictions&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; /lib/security/&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt; /etc/pam.d/&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4537829589558011064-3660099806935026137?l=venkatlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://venkatlinux.blogspot.com/feeds/3660099806935026137/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4537829589558011064&amp;postID=3660099806935026137' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/3660099806935026137'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/3660099806935026137'/><link rel='alternate' type='text/html' href='http://venkatlinux.blogspot.com/2007/12/rhce-study-guide-for-rhel5.html' title='RHCE Study Guide for RHEL5'/><author><name>venkat</name><uri>http://www.blogger.com/profile/05704728868940562317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_5wiNn__TKWI/R2HMaGxMqtI/AAAAAAAAAE4/erOoZBEW8Yk/S220/Firefox_wallpaper.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_R7E8CEdseRg/R2JFiQxSe8I/AAAAAAAAAP0/2v64WZjRyOE/s72-c/pdficon_small.gif' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4537829589558011064.post-545665661676594268</id><published>2007-12-22T18:20:00.000-08:00</published><updated>2007-12-22T18:27:12.790-08:00</updated><title type='text'>what is python??????</title><content type='html'>Python is a  &lt;em&gt;interpreted, interactive, &lt;/em&gt;object oriented language. It is same as like Tcl, Perl, Scheme or Java programming language.&lt;br /&gt;&lt;br /&gt;Features:&lt;br /&gt;1. Python comprise of classes, exceptions, very high level dynamic data types, and dynamic typing.&lt;br /&gt;2. Bulit in modules are  written in C, C++.&lt;br /&gt;3. Python runs in UNIX, on Windows, OS/2, Mac, Amiga, and many other platforms.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4537829589558011064-545665661676594268?l=venkatlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://venkatlinux.blogspot.com/feeds/545665661676594268/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4537829589558011064&amp;postID=545665661676594268' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/545665661676594268'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/545665661676594268'/><link rel='alternate' type='text/html' href='http://venkatlinux.blogspot.com/2007/12/what-is-python.html' title='what is python??????'/><author><name>venkat</name><uri>http://www.blogger.com/profile/05704728868940562317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_5wiNn__TKWI/R2HMaGxMqtI/AAAAAAAAAE4/erOoZBEW8Yk/S220/Firefox_wallpaper.png'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4537829589558011064.post-6976419404976670698</id><published>2007-12-19T10:03:00.000-08:00</published><updated>2007-12-19T10:07:48.961-08:00</updated><title type='text'>Printing readable man pages</title><content type='html'>Below command will get you the man page in to read and printable format&lt;br /&gt;&lt;br /&gt;____________&lt;br /&gt;man command | col -x -b  &gt;  command.txt&lt;br /&gt;______________&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4537829589558011064-6976419404976670698?l=venkatlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://venkatlinux.blogspot.com/feeds/6976419404976670698/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4537829589558011064&amp;postID=6976419404976670698' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/6976419404976670698'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/6976419404976670698'/><link rel='alternate' type='text/html' href='http://venkatlinux.blogspot.com/2007/12/printing-readable-man-pages.html' title='Printing readable man pages'/><author><name>venkat</name><uri>http://www.blogger.com/profile/05704728868940562317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_5wiNn__TKWI/R2HMaGxMqtI/AAAAAAAAAE4/erOoZBEW8Yk/S220/Firefox_wallpaper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4537829589558011064.post-5944533753269485493</id><published>2007-12-17T12:20:00.000-08:00</published><updated>2007-12-17T12:25:13.787-08:00</updated><title type='text'>Mysql Auto Installer Version 1 for i386 system and x86 bit based oS</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Description about script&lt;/span&gt; : Installing mysql  for X86 and i386 architecture (with dependency- all libraries).&lt;br /&gt;&lt;br /&gt;You may please send me the request for mysql auto installer script to the Email address  "&lt;span style="font-weight: bold;"&gt;venkatachalam@poornam.com&lt;/span&gt;" or "&lt;span style="font-weight: bold;"&gt;venkata.natarajan@gmail.com&lt;/span&gt;" and make use of it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4537829589558011064-5944533753269485493?l=venkatlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://venkatlinux.blogspot.com/feeds/5944533753269485493/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4537829589558011064&amp;postID=5944533753269485493' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/5944533753269485493'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/5944533753269485493'/><link rel='alternate' type='text/html' href='http://venkatlinux.blogspot.com/2007/12/mysql-auto-installer-version-1-for-i386.html' title='Mysql Auto Installer Version 1 for i386 system and x86 bit based oS'/><author><name>venkat</name><uri>http://www.blogger.com/profile/05704728868940562317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_5wiNn__TKWI/R2HMaGxMqtI/AAAAAAAAAE4/erOoZBEW8Yk/S220/Firefox_wallpaper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4537829589558011064.post-2703947621213757777</id><published>2007-12-17T11:49:00.000-08:00</published><updated>2007-12-17T11:57:07.701-08:00</updated><title type='text'>Why is python ??</title><content type='html'>Python is a open source software. It is developed in C. Python is a interpreter language  so there is no need to convert the code in to binary format.&lt;br /&gt;&lt;br /&gt;   Python is a platform independent (it runs on windows and linux, mac os , unix etc).&lt;br /&gt;&lt;br /&gt;Syntax also very simple(easy to learn).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;You refer the link http://python.org for further reading insight...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4537829589558011064-2703947621213757777?l=venkatlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://venkatlinux.blogspot.com/feeds/2703947621213757777/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4537829589558011064&amp;postID=2703947621213757777' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/2703947621213757777'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/2703947621213757777'/><link rel='alternate' type='text/html' href='http://venkatlinux.blogspot.com/2007/12/why-is-python.html' title='Why is python ??'/><author><name>venkat</name><uri>http://www.blogger.com/profile/05704728868940562317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_5wiNn__TKWI/R2HMaGxMqtI/AAAAAAAAAE4/erOoZBEW8Yk/S220/Firefox_wallpaper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4537829589558011064.post-8940065654639714243</id><published>2007-12-16T02:29:00.000-08:00</published><updated>2007-12-16T02:31:15.066-08:00</updated><title type='text'>Linux Success Story: New York Stock Exchange Moves to Linux</title><content type='html'>&lt;p&gt;The New York Stock Exchange is investing heavily in x86-based Linux systems and blade servers as it builds out the NYSE Hybrid Market trading system that it launched last year. Flexibility and lower cost are among the goals. But one of the things that NYSE Euronext CIO Steve Rubinow says he most wants from the new computing architecture is technology independence.&lt;/p&gt;  &lt;a name="secondParagraph"&gt;&lt;/a&gt;  &lt;p&gt;"What we want is to be able to take advantage of technology advances when they happen," Rubinow said. "We're trying to be as independent of any technologies as we can be."&lt;/p&gt;&lt;p&gt;The Hybrid Market system lets NYSE traders buy and sell stocks electronically or on the exchange's trading floor. The NYSE has been turning to x86 technology to power the trading system, largely using servers from &lt;a href="http://topics.nytimes.com/top/news/business/companies/hewlett_packard_corporation/index.html?inline=nyt-org" title="More information about Hewlett-Packard Corporation"&gt;Hewlett-Packard Co.&lt;/a&gt;, the two companies announced this week.&lt;/p&gt;&lt;p&gt;The NYSE has installed about 200 of HP's ProLiant DL585 four-processor servers and 400 of its ProLiant BL685c blades, all running Linux and based on dual-core Opteron processors from &lt;a href="http://topics.nytimes.com/top/news/business/companies/advanced_micro_devices_inc/index.html?inline=nyt-org" title="More information about Advanced Micro Devices Inc."&gt;Advanced Micro Devices Inc.&lt;/a&gt; In addition, the stock exchange is using HP's Integrity NonStop servers, which are based on &lt;a href="http://topics.nytimes.com/top/news/business/companies/intel_corporation/index.html?inline=nyt-org" title="More information about Intel Corporation"&gt;Intel Corp.'s&lt;/a&gt; Itanium processors and run the fault-tolerant NonStop OS operating system, as well as its OpenView management software.&lt;/p&gt;&lt;p&gt;Rubinow said that Linux is mature enough to meet his needs. The open-source operating system may not have all the polish of Unix technologies with 20-plus years of history behind them, "but it's polished enough for us," he said.&lt;/p&gt;&lt;p&gt;The NYSE's shift toward Linux and x86-based hardware illustrates why consulting firm &lt;a href="http://www.nytimes.com/mem/MWredirect.html?MW=http://custom.marketwatch.com/custom/nyt-com/html-companyprofile.asp&amp;amp;symb=IT" title="Gartner Inc."&gt;Gartner Inc.&lt;/a&gt; is predicting a slight decline in Unix server revenues over the next five years. In comparison, Gartner forecasts strong sales growth for both Windows and Linux servers.&lt;/p&gt;&lt;p&gt;Although Rubinow has the option of using HP-UX, HP's version of Unix, he said that he'd prefer not to. "We don't want to be closely aligned with proprietary Unix," he said. "No offense to HP-UX, but we feel the same way about [&lt;a href="http://topics.nytimes.com/top/news/business/companies/international_business_machines/index.html?inline=nyt-org" title="More information about International Business Machines (I.B.M.)"&gt;IBM's&lt;/a&gt;] AIX, and we feel the same way to some extent about Solaris."&lt;/p&gt;&lt;p&gt;The NYSE still runs numerous Unix systems, especially ones with Solaris, which is &lt;a href="http://topics.nytimes.com/top/news/business/companies/sun_microsystems_inc/index.html?inline=nyt-org" title="More information about Sun Microsystems Inc."&gt;Sun Microsystems Inc.'s&lt;/a&gt; Unix derivative. Rubinow acknowledged that Solaris has the ability to run on multiple hardware platforms, including x86-based systems from Sun server rivals such as HP. But he added that he thinks Linux "affords us a lot of flexibility."&lt;/p&gt;&lt;p&gt;One technology that the NYSE isn't adopting so eagerly is server virtualization, which comes with a system latency price that Rubinow said he can't afford to pay. In a system that is processing hundreds of thousands of transactions per second, virtualization produces "a noticeable overhead" that can slow down throughput, according to Rubinow. "Virtualization is not a free technology from a latency perspective, so we don't use it in the core of what we do," he said.&lt;/p&gt;&lt;p&gt;Charles King, an analyst at Pund-IT Inc. in Hayward, Calif., believes there is a broader concern among IT managers about virtualization overhead and its impact on transaction processing. "It's one of the reasons why even the staunchest advocates of x86 virtualization recommend extensive testing prior to moving systems into production," King said.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4537829589558011064-8940065654639714243?l=venkatlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://venkatlinux.blogspot.com/feeds/8940065654639714243/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4537829589558011064&amp;postID=8940065654639714243' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/8940065654639714243'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/8940065654639714243'/><link rel='alternate' type='text/html' href='http://venkatlinux.blogspot.com/2007/12/linux-success-story-new-york-stock.html' title='Linux Success Story: New York Stock Exchange Moves to Linux'/><author><name>venkat</name><uri>http://www.blogger.com/profile/05704728868940562317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_5wiNn__TKWI/R2HMaGxMqtI/AAAAAAAAAE4/erOoZBEW8Yk/S220/Firefox_wallpaper.png'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4537829589558011064.post-8527002430497602067</id><published>2007-12-14T10:46:00.000-08:00</published><updated>2007-12-14T10:48:21.419-08:00</updated><title type='text'>Fedora Core 6 No More</title><content type='html'>&lt;p&gt;As of this last Friday, December 7th Fedora Core 6 is no more. With it goes the last release the Fedora Project had seen the split between “Community” (Extras) and Red Hat sponsored (Core). Those not intimately involved in Fedora might be interested to learn that when the merge happened it was the core packages that ended up having to follow the former “Extras” packaging guidelines and not the other way around. Yet another testament to the power of community.&lt;/p&gt; &lt;p&gt;Fedora often takes a bit of flack over not maintaining a longer release / support cycle. I think the main reason for this is simply because it allows Fedora to take bigger risks then any other operating system out there. By releasing often (now every 6 months) we can take any number of large risks. The worst case is having to fix it during the next release in 6 months, the best case is we integrate yet another killer technology before anyone else. Having been involved in Fedora for about 2 years I can say, 6 months is not very long.&lt;/p&gt; &lt;p&gt;At the same time not having to worry about updates for very long (current release + 1 release + 1 month) allows our developers to be more focused on innovation. Other groups and businesses are taking note of this as well as they integrate software into Fedora. It has become the perfect platform for a company to present new software to the world. Our setup allows us to be incredibly dynamic. &lt;/p&gt; &lt;p&gt;I think it’s best not to think of Fedora as a stand alone distribution but rather as part of a family of Red Hat compatible products. I mean that in terms of the technical specifications, not Red Hat the company. When Fedora is combined with RHEL and CentOS that family can fit into just about any market imaginable and I think that’s the key to the success of each of these distributions.&lt;/p&gt; &lt;p&gt;Fedora 9 is on the horizon and the recently announced &lt;a href="http://barcamp.org/FUDConRaleigh2008"&gt;FUDCon&lt;/a&gt; will be even more exciting then the last one.  Those interested in helping just check out: &lt;a href="http://fedoraproject.org/join-fedora"&gt;http://fedoraproject.org/join-fedora&lt;/a&gt; &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4537829589558011064-8527002430497602067?l=venkatlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://venkatlinux.blogspot.com/feeds/8527002430497602067/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4537829589558011064&amp;postID=8527002430497602067' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/8527002430497602067'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/8527002430497602067'/><link rel='alternate' type='text/html' href='http://venkatlinux.blogspot.com/2007/12/fedora-core-6-no-more.html' title='Fedora Core 6 No More'/><author><name>venkat</name><uri>http://www.blogger.com/profile/05704728868940562317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_5wiNn__TKWI/R2HMaGxMqtI/AAAAAAAAAE4/erOoZBEW8Yk/S220/Firefox_wallpaper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4537829589558011064.post-1479630915326371528</id><published>2007-12-13T16:33:00.000-08:00</published><updated>2007-12-13T16:34:41.679-08:00</updated><title type='text'>Disable ping responses from the system</title><content type='html'>To configure a Linux system to not respond to a ICMP (ping), run the following&lt;br /&gt;command as the root user.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;echo "1" &gt; /proc/sys/net/ipv4/icmp_echo_ignore_all&lt;br /&gt;     &lt;br /&gt;&lt;br /&gt;To make the changes persistent across reboots, add the following line to&lt;br /&gt;your /etc/sysctl.conf file.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# Ignore all to ICMP (ping)&lt;br /&gt;net.ipv4.icmp_echo_ignore_all = 1&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4537829589558011064-1479630915326371528?l=venkatlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://venkatlinux.blogspot.com/feeds/1479630915326371528/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4537829589558011064&amp;postID=1479630915326371528' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/1479630915326371528'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/1479630915326371528'/><link rel='alternate' type='text/html' href='http://venkatlinux.blogspot.com/2007/12/disable-ping-responses-from-system.html' title='Disable ping responses from the system'/><author><name>venkat</name><uri>http://www.blogger.com/profile/05704728868940562317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_5wiNn__TKWI/R2HMaGxMqtI/AAAAAAAAAE4/erOoZBEW8Yk/S220/Firefox_wallpaper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4537829589558011064.post-6660416194244438548</id><published>2007-12-13T16:29:00.001-08:00</published><updated>2007-12-13T16:30:05.520-08:00</updated><title type='text'>log the iptables messages to a different log file</title><content type='html'>&lt;p&gt;In this example, we will create a new logfile within the &lt;tt class="command"&gt;/var/log&lt;/tt&gt; directory called iptables.&lt;/p&gt;    &lt;p&gt;Make a backup of &lt;tt class="command"&gt;/etc/syslog.conf&lt;/tt&gt; before making any changes to it.&lt;/p&gt;  &lt;pre class="SCREEN"&gt;# cp /etc/syslog.conf /etc/syslog.conf.bak&lt;/pre&gt;  &lt;p&gt;Edit &lt;tt class="command"&gt;/etc/syslog.conf&lt;/tt&gt; with an editor such as vi and add lines:&lt;/p&gt;  &lt;pre class="SCREEN"&gt;# comment iptables log&lt;br /&gt;kern.warning   /var/log/iptables&lt;br /&gt;&lt;/pre&gt;  &lt;p&gt;Make sure the iptables rule is logging at the appropriate level.&lt;/p&gt;  &lt;p&gt;This can be done by using the �log-level switch.  Default log-level is warning.&lt;/p&gt;  &lt;p&gt;This example will log ssh attempts:&lt;/p&gt;  &lt;pre class="SCREEN"&gt;# iptables -I INPUT -p tcp - - dport 22 -j LOG �log-level 4&lt;br /&gt;&lt;/pre&gt;  &lt;p&gt;Log Levels can be found using command:&lt;/p&gt; &lt;pre class="showcommand"&gt;$ man syslog.conf&lt;br /&gt;&lt;/pre&gt;&lt;pre class="SCREEN"&gt;Log Levels&lt;br /&gt;0  emerg or panic&lt;br /&gt;1  alert&lt;br /&gt;2  crit&lt;br /&gt;3  err or error&lt;br /&gt;4  warn or warning&lt;br /&gt;&lt;/pre&gt;  &lt;p&gt;&lt;b&gt;Note:&lt;/b&gt; Consider adding a prefix to your iptables rule. This makes it easier to separate the firewall message from the few random messages that the kernel puts out.&lt;/p&gt;  &lt;p&gt;This example will log ping and add the prefix "#### Firewall ####".&lt;/p&gt;  &lt;pre class="SCREEN"&gt;# iptables -I INPUT -p icmp �icmp-type ping -j LOG �log-prefix ' #### Firewall #### '&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4537829589558011064-6660416194244438548?l=venkatlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://venkatlinux.blogspot.com/feeds/6660416194244438548/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4537829589558011064&amp;postID=6660416194244438548' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/6660416194244438548'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/6660416194244438548'/><link rel='alternate' type='text/html' href='http://venkatlinux.blogspot.com/2007/12/log-iptables-messages-to-different-log.html' title='log the iptables messages to a different log file'/><author><name>venkat</name><uri>http://www.blogger.com/profile/05704728868940562317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_5wiNn__TKWI/R2HMaGxMqtI/AAAAAAAAAE4/erOoZBEW8Yk/S220/Firefox_wallpaper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4537829589558011064.post-7564958733333660775</id><published>2007-12-13T16:27:00.000-08:00</published><updated>2007-12-13T16:28:05.645-08:00</updated><title type='text'>Verify which ports are listening</title><content type='html'>&lt;p&gt;After configuring network services, it is important to pay attention to which ports are actually listening on the system's network interfaces. Any open ports can be evidence of an intrusion.&lt;/p&gt; &lt;p&gt;There are two basic approaches for listing the ports that are listening on the network. The less reliable approach is to query the network stack by typing commands such as &lt;tt class="command"&gt;netstat -an&lt;/tt&gt;  or &lt;tt class="command"&gt;lsof -i&lt;/tt&gt;. This method is less reliable since these programs do not connect to the machine from the network, but rather check to see what is running on the system. For this reason, these applications are frequent targets for replacement by attackers. In this way, crackers attempt to cover their tracks if they open unauthorized network ports.&lt;/p&gt; &lt;p&gt;A more reliable way to check which ports are listening on the network is to use a port scanner such as &lt;tt class="command"&gt;nmap&lt;/tt&gt; .&lt;/p&gt;  &lt;p&gt;The following command issued from the console determines which ports are listening for TCP connections from the network:&lt;/p&gt;  &lt;pre class="showCommand"&gt;nmap -sT -O localhost&lt;/pre&gt;  &lt;p&gt;The output of this command looks like the following:&lt;/p&gt;  &lt;pre class="screen"&gt;Starting nmap V. 3.00 ( www.insecure.org/nmap/ )&lt;br /&gt;Interesting ports on localhost.localdomain (127.0.0.1):&lt;br /&gt;(The 1596 ports scanned but not shown below are in state: closed)&lt;br /&gt;Port State Service&lt;br /&gt;22/tcp open ssh&lt;br /&gt;111/tcp open sunrpc&lt;br /&gt;515/tcp open printer&lt;br /&gt;834/tcp open unknown&lt;br /&gt;6000/tcp open X11&lt;br /&gt;Remote OS guesses: Linux Kernel 2.4.0 or Gentoo 1.2 Linux 2.4.19 rc1-rc7)&lt;br /&gt;Nmap run completed -- 1 IP address (1 host up) scanned in 5 seconds&lt;br /&gt;&lt;/pre&gt;  &lt;p&gt;This output shows the system is running &lt;tt class="command"&gt;portmap&lt;/tt&gt;  due to the presence of the &lt;tt class="command"&gt;sunrpc &lt;/tt&gt; service. However, there is also a mystery service on port 834. To check if the port is associated with the official list of known services, type:&lt;/p&gt; &lt;p&gt;&lt;tt class="command"&gt;cat /etc/services | grep 834&lt;/tt&gt;&lt;/p&gt;  &lt;p&gt;This command returns no output. This indicates that while the port is in the reserved range (meaning 0 through 1023) and requires&lt;tt class="command"&gt; root&lt;/tt&gt;  access to open, it is not associated with a known service.&lt;/p&gt; &lt;p&gt;Next, check for information about the port using &lt;tt class="command"&gt;netstat&lt;/tt&gt;  or &lt;tt class="command"&gt;lsof&lt;/tt&gt;.  To check for port 834 using &lt;tt class="command"&gt;netstat&lt;/tt&gt;, use the following command:&lt;/p&gt; &lt;tt class="command"&gt;&lt;p&gt;netstat -anp | grep 834&lt;/p&gt;&lt;/tt&gt;  &lt;p&gt;The command returns the following output:&lt;/p&gt;  &lt;pre class="screen"&gt;tcp      0        0  0.0.0.0:834          0.0.0.0:*        LISTEN     653/ypbind&lt;br /&gt;&lt;/pre&gt;  &lt;p&gt;The presence of the open port in &lt;tt class="command"&gt;netstat&lt;/tt&gt;  is reassuring because a cracker opening a port surreptitiously on a hacked system would likely not allow it to be revealed through this command. Also, the [&lt;tt class="command"&gt;p&lt;/tt&gt;] option reveals the process id (PID) of the service which opened the port. In this case the open port belongs to &lt;tt class="command"&gt;ypbind&lt;/tt&gt;  (NIS), which is an RPC service handled in conjunction with the &lt;tt class="command"&gt;portmap &lt;/tt&gt;service.&lt;/p&gt; &lt;p&gt;The &lt;tt class="command"&gt;lsof&lt;/tt&gt;  command reveals similar information since it is also capable of linking open ports to services:&lt;/p&gt;  &lt;pre class="showCommand"&gt;lsof -i | grep 834&lt;/pre&gt;   &lt;p&gt;Below is the relevant portion of the output for this command:&lt;/p&gt;  &lt;pre class="screen"&gt;ypbind 653 0 7u IPv4 1319 TCP *:834 (LISTEN)&lt;br /&gt;ypbind 655 0 7u IPv4 1319 TCP *:834 (LISTEN)&lt;br /&gt;ypbind 656 0 7u IPv4 1319 TCP *:834 (LISTEN)&lt;br /&gt;ypbind 657 0 7u IPv4 1319 TCP *:834 (LISTEN)&lt;br /&gt;&lt;/pre&gt;  &lt;p&gt;These tools reveal a great deal about the status of the services running on a machine. These tools are flexible and can provide a wealth of information about network services and configuration. Consulting the man pages for &lt;tt class="command"&gt;lsof&lt;/tt&gt;, &lt;tt class="command"&gt;netstat&lt;/tt&gt;, &lt;tt class="command"&gt;nmap&lt;/tt&gt;, and services is therefore highly recommended.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4537829589558011064-7564958733333660775?l=venkatlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://venkatlinux.blogspot.com/feeds/7564958733333660775/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4537829589558011064&amp;postID=7564958733333660775' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/7564958733333660775'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/7564958733333660775'/><link rel='alternate' type='text/html' href='http://venkatlinux.blogspot.com/2007/12/verify-which-ports-are-listening.html' title='Verify which ports are listening'/><author><name>venkat</name><uri>http://www.blogger.com/profile/05704728868940562317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_5wiNn__TKWI/R2HMaGxMqtI/AAAAAAAAAE4/erOoZBEW8Yk/S220/Firefox_wallpaper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4537829589558011064.post-3559677383571579550</id><published>2007-12-13T15:51:00.000-08:00</published><updated>2007-12-13T16:11:36.248-08:00</updated><title type='text'>specify a range of IP addresses or ports using iptables</title><content type='html'>To specify a range of IP addresses or ports, use a dash. When using IP addresses and ports in conjunction, use a colon to separate. For example:&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#e0e0e0" border="0" width="90%"&gt;   &lt;tbody&gt;&lt;tr&gt;     &lt;td&gt;       &lt;pre class="SCREEN"&gt;&lt;br /&gt;IP-IP:Port-Port&lt;br /&gt;     &lt;/pre&gt;     &lt;/td&gt;   &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;IP address ranges are only valid in the &lt;b&gt;nat&lt;/b&gt; table, using the options &lt;b&gt;--to-source&lt;/b&gt; and &lt;b&gt;--to-destination&lt;/b&gt;.  When a range is given, a simple round-robin (one after another in cycle) takes place between these adresses.&lt;br /&gt;&lt;br /&gt;For example, when using NAT you can map to a range of possible IP addresses with:&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#e0e0e0" border="0" width="90%"&gt;   &lt;tbody&gt;&lt;tr&gt;     &lt;td&gt;       &lt;pre class="SCREEN"&gt;&lt;br /&gt;# iptables -t nat -A POSTROUTING -j SNAT --to-source 1.2.3.45-1.2.3.55&lt;br /&gt;     &lt;/pre&gt;     &lt;/td&gt;   &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;and you can map to a range of possible ports with:&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#e0e0e0" border="0" width="90%"&gt;   &lt;tbody&gt;&lt;tr&gt;     &lt;td&gt;       &lt;pre class="SCREEN"&gt;&lt;br /&gt;# iptables -t nat -A POSTROUTING -j SNAT --to-source 1.2.3.45:1234-1334&lt;br /&gt;     &lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4537829589558011064-3559677383571579550?l=venkatlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://venkatlinux.blogspot.com/feeds/3559677383571579550/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4537829589558011064&amp;postID=3559677383571579550' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/3559677383571579550'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/3559677383571579550'/><link rel='alternate' type='text/html' href='http://venkatlinux.blogspot.com/2007/12/specify-range-of-ip-addresses-or-ports.html' title='specify a range of IP addresses or ports using iptables'/><author><name>venkat</name><uri>http://www.blogger.com/profile/05704728868940562317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_5wiNn__TKWI/R2HMaGxMqtI/AAAAAAAAAE4/erOoZBEW8Yk/S220/Firefox_wallpaper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4537829589558011064.post-2427863888878381707</id><published>2007-12-13T15:47:00.000-08:00</published><updated>2007-12-13T15:48:24.260-08:00</updated><title type='text'>Features and benefits of using SSH</title><content type='html'>&lt;p&gt;SSH™ - (or &lt;em&gt;S&lt;/em&gt;ecure &lt;em&gt;SH&lt;/em&gt;ell) is a protocol which facilitates secure communications between two systems using a client/server architecture and allowing users to log into server host systems remotely. But unlike other remote communication protocols such as FTP or Telnet, SSH encrypts the login session, making it impossible for intruders to collect unencrypted passwords.&lt;/p&gt; &lt;p&gt;SSH is designed to replace older, less secure terminal applications used to log into remote hosts, such as &lt;tt class="command"&gt;telnet&lt;/tt&gt; or &lt;tt class="command"&gt;rsh&lt;/tt&gt;. A related program called &lt;tt class="command"&gt;scp&lt;/tt&gt; replaces older programs designed to copy files between hosts, such as &lt;tt class="command"&gt;rcp&lt;/tt&gt;. Because these older applications do not encrypt passwords transmitted between the client and the server, avoid them whenever possible. Using secure methods to log into remote systems decreases the risks for both the client system and the remote host. &lt;/p&gt; &lt;strong&gt;&lt;p&gt;Features of SSH&lt;/p&gt;&lt;/strong&gt; &lt;p&gt;The SSH protocol provides the following safeguards: &lt;/p&gt;&lt;ul&gt;&lt;li&gt;After an initial connection, the client can verify that it is connecting to the same server it had connected to previously.&lt;/li&gt;&lt;li&gt;The client transmits its authentication information to the server using strong, 128-bit encryption.&lt;/li&gt;&lt;li&gt;All data sent and received during a session is transferred using 128-bit encryption, making intercepted transmissions extremely difficult to decrypt and read.&lt;/li&gt;&lt;li&gt;The client can forward X111 applications from the server. This technique, called X11 forwarding, provides a secure means to use graphical applications over a network.  &lt;blockquote&gt;&lt;strong&gt;Note:&lt;/strong&gt; X11 refers to the X11R6 windowing display system, traditionally referred to as the X Window System or X. Red Hat Enterprise Linux includes XFree86, an open source X Window System. &lt;/blockquote&gt;  &lt;/li&gt;&lt;/ul&gt;  &lt;p&gt;Because the SSH protocol encrypts everything it sends and receives, it can be used to secure otherwise insecure protocols. Using a technique called port &lt;em&gt;forwarding&lt;/em&gt;, an SSH server can become a conduit to secure otherwise insecure protocols, like POP, and increasing overall system and data security.&lt;/p&gt; &lt;p&gt;Red Hat Enterprise Linux includes the general OpenSSH package (&lt;tt class="command"&gt;openssh&lt;/tt&gt;) as well as the OpenSSH server (&lt;tt class="command"&gt;openssh-server&lt;/tt&gt;) and client (&lt;tt class="command"&gt;openssh-clients&lt;/tt&gt;) packages. Refer to the chapter titled &lt;em&gt;OpenSSH&lt;/em&gt; in the &lt;em&gt;Red Hat Enterprise Linux System Administration Guide&lt;/em&gt; for instructions on installing and deploying OpenSSH. Also note that the OpenSSH packages require the OpenSSL package (openssl) which installs several important cryptographic libraries, enabling OpenSSH to provide encrypted communications.&lt;/p&gt;   &lt;strong&gt;&lt;p&gt;Why Use SSH?&lt;/p&gt;&lt;/strong&gt; &lt;p&gt;Nefarious computer users have a variety of tools at their disposal enabling them to disrupt, intercept, and re-route network traffic in an effort to gain access to a system. In general terms, these threats can be categorized as follows:&lt;/p&gt; &lt;ul&gt;&lt;li&gt;&lt;em&gt;Interception of communication between two systems&lt;/em&gt; - In this scenario, the attacker can be somewhere on the network between the communicating entities, copying any information passed between them. The attacker may intercept and keep the information, or alter the information and send it on to the intended recipient. &lt;p&gt;This attack can be mounted through the use of a packet sniffer - a common network utility.&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;em&gt;Impersonation of a particular host&lt;/em&gt; - Using this strategy, an attacker's system is configured to pose as the intended recipient of a transmission. If this strategy works, the user's system will remain unaware that it is communicating with the wrong host.&lt;/li&gt;&lt;/ul&gt;  This attack can be mounted through techniques known as DNS poisoning or IP spooling. &lt;blockquote&gt;&lt;strong&gt;Note:&lt;/strong&gt; &lt;li&gt;DNS poisoning occurs when an intruder cracks a DNS server, pointing client systems to a maliciously duplicated host.&lt;/li&gt; &lt;li&gt;IP spoofing occurs when an intruder sends network packets which falsely appear to be from a trusted host on the network.&lt;/li&gt; &lt;/blockquote&gt;   &lt;p&gt;Both techniques intercept potentially sensitive information, and if the interception is made for hostile reasons, the results can be disastrous.&lt;/p&gt; &lt;p&gt;If SSH is used for remote shell login and file copying, these security threats can be greatly diminished. This is because the SSH client and server use digital signatures to verify their identity. Additionally, all communication between the client and server systems is encrypted. Attempts to spoof the identity of either side of a communication will not work, since each packet is encrypted using a key known only by the local and remote systems.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4537829589558011064-2427863888878381707?l=venkatlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://venkatlinux.blogspot.com/feeds/2427863888878381707/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4537829589558011064&amp;postID=2427863888878381707' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/2427863888878381707'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/2427863888878381707'/><link rel='alternate' type='text/html' href='http://venkatlinux.blogspot.com/2007/12/features-and-benefits-of-using-ssh.html' title='Features and benefits of using SSH'/><author><name>venkat</name><uri>http://www.blogger.com/profile/05704728868940562317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_5wiNn__TKWI/R2HMaGxMqtI/AAAAAAAAAE4/erOoZBEW8Yk/S220/Firefox_wallpaper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4537829589558011064.post-7496357444560398630</id><published>2007-12-13T15:46:00.000-08:00</published><updated>2007-12-13T15:47:03.914-08:00</updated><title type='text'>Pluggable Authentication Modules (PAM)</title><content type='html'>&lt;p&gt;Programs which grant users access to a system verify each user's identity through a process called authentication. Historically, each such program had its own way of performing the task of authentication. Under Red Hat Enterprise Linux, many such programs are configured to use a centralized authentication mechanism called Pluggable Authentication Modules or PAM.&lt;/p&gt; &lt;p&gt;PAM uses a pluggable, modular architecture, which affords the system administrator a great deal of flexibility in setting authentication policies for the system.&lt;/p&gt; &lt;p&gt;In most situations, the default PAM configuration file for a PAM-aware application is sufficient. However, sometimes it may become necessary to edit a PAM configuration file. Because misconfiguration of PAM can compromise system security, it is important to understand the structure of these files before making any modifications.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Advantages of PAM&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;PAM offers the following advantages:&lt;/p&gt;  &lt;ul&gt;&lt;li&gt;It provides a common authentication scheme that can be used with a wide variety of applications.  &lt;/li&gt;&lt;li&gt;It allows a large amount of flexibility and control over authentication for both system administrators and application developers.  &lt;/li&gt;&lt;li&gt;It allows application developers to develop programs without creating their own authentication scheme.&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4537829589558011064-7496357444560398630?l=venkatlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://venkatlinux.blogspot.com/feeds/7496357444560398630/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4537829589558011064&amp;postID=7496357444560398630' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/7496357444560398630'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/7496357444560398630'/><link rel='alternate' type='text/html' href='http://venkatlinux.blogspot.com/2007/12/pluggable-authentication-modules-pam.html' title='Pluggable Authentication Modules (PAM)'/><author><name>venkat</name><uri>http://www.blogger.com/profile/05704728868940562317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_5wiNn__TKWI/R2HMaGxMqtI/AAAAAAAAAE4/erOoZBEW8Yk/S220/Firefox_wallpaper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4537829589558011064.post-3857158955271579799</id><published>2007-12-13T15:45:00.001-08:00</published><updated>2007-12-13T15:45:36.006-08:00</updated><title type='text'>More detailed information about Pluggable Authentication Module can be found in below link</title><content type='html'>http://www.puschitz.com/SecuringLinux.shtml#EnforcingStrongerPasswords&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4537829589558011064-3857158955271579799?l=venkatlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://venkatlinux.blogspot.com/feeds/3857158955271579799/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4537829589558011064&amp;postID=3857158955271579799' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/3857158955271579799'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/3857158955271579799'/><link rel='alternate' type='text/html' href='http://venkatlinux.blogspot.com/2007/12/more-detailed-information-about.html' title='More detailed information about Pluggable Authentication Module can be found in below link'/><author><name>venkat</name><uri>http://www.blogger.com/profile/05704728868940562317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_5wiNn__TKWI/R2HMaGxMqtI/AAAAAAAAAE4/erOoZBEW8Yk/S220/Firefox_wallpaper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4537829589558011064.post-6888976152505672433</id><published>2007-12-13T15:38:00.001-08:00</published><updated>2007-12-13T15:38:42.469-08:00</updated><title type='text'>change the default password length</title><content type='html'>&lt;p&gt;The default password length is usually 8 characters. In order to improve security longer passwords can be enforced. Pluggable Authentication Module (PAM) is used for login authentication. We will make changes to the pam_cracklib module to control how the user authenticates.&lt;/p&gt;  &lt;p&gt;&lt;b&gt;Important:&lt;/b&gt;  Make sure to make a backup of your &lt;tt class="command"&gt;/lib/security&lt;/tt&gt; directory and your &lt;tt class="command"&gt;/etc/pam.d/system-auth&lt;/tt&gt; before making any changes.  Making changes to PAM can  cause a system to become inaccessible.&lt;/p&gt;   &lt;p&gt;Create backup then list contents of the tar file:&lt;/p&gt;  &lt;pre class="SCREEN"&gt;# tar -cvf backup.tar /etc/pam.d/system-auth /lib/security/*&lt;br /&gt;# tar -tf backup.tar&lt;br /&gt;&lt;/pre&gt;  &lt;p&gt;Open file &lt;tt class="command"&gt;/etc/pam.d/system-auth&lt;/tt&gt; file with an editor such as vi.  Inside the &lt;tt class="command"&gt;/etc/pam.d/system-auth&lt;/tt&gt; file you will find line:&lt;/p&gt;  &lt;pre class="SCREEN"&gt;password    requisite     /lib/security/$ISA/pam_cracklib.so retry=3 type=&lt;/pre&gt;  &lt;p&gt;Replace the line with:&lt;/p&gt;  &lt;pre class="screen"&gt;password    requisite     /lib/security/$ISA/pam_cracklib.so retry=3  minlen=10&lt;/pre&gt;  &lt;p&gt;&lt;b&gt;Notes:&lt;/b&gt;&lt;/p&gt;  &lt;ul&gt;&lt;li&gt;Make the changes carefully. If a change is made and the system becomes inaccessible, go into rescue mode and replace the files with the backup files previously created.&lt;/li&gt;&lt;li&gt;Once the proper changes have been made to the &lt;tt class="command"&gt;system-auth&lt;/tt&gt; file and everything is working as desired, a backup of the new &lt;tt class="command"&gt;system-auth&lt;/tt&gt; should be made.  If the &lt;tt class="command"&gt;authconfig&lt;/tt&gt; command is used, it will overwrite the &lt;tt class="command"&gt;system-auth&lt;/tt&gt; file.&lt;/li&gt;&lt;li&gt;If a single digit number is used in the password, an extra character must be used in the password.&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4537829589558011064-6888976152505672433?l=venkatlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://venkatlinux.blogspot.com/feeds/6888976152505672433/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4537829589558011064&amp;postID=6888976152505672433' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/6888976152505672433'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/6888976152505672433'/><link rel='alternate' type='text/html' href='http://venkatlinux.blogspot.com/2007/12/change-default-password-length.html' title='change the default password length'/><author><name>venkat</name><uri>http://www.blogger.com/profile/05704728868940562317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_5wiNn__TKWI/R2HMaGxMqtI/AAAAAAAAAE4/erOoZBEW8Yk/S220/Firefox_wallpaper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4537829589558011064.post-6737926446702630765</id><published>2007-12-13T15:35:00.000-08:00</published><updated>2007-12-13T15:36:37.536-08:00</updated><title type='text'>blocking network access for a single user</title><content type='html'>You can use the iptables userid match and block all outgoing traffic initiated by that user.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;iptables -I OUTPUT -o &lt;external_interface&gt; -m owner --uid-owner &lt;users_id&gt; -j REJECT&lt;br /&gt;service iptables save&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4537829589558011064-6737926446702630765?l=venkatlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://venkatlinux.blogspot.com/feeds/6737926446702630765/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4537829589558011064&amp;postID=6737926446702630765' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/6737926446702630765'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/6737926446702630765'/><link rel='alternate' type='text/html' href='http://venkatlinux.blogspot.com/2007/12/blocking-network-access-for-single-user.html' title='blocking network access for a single user'/><author><name>venkat</name><uri>http://www.blogger.com/profile/05704728868940562317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_5wiNn__TKWI/R2HMaGxMqtI/AAAAAAAAAE4/erOoZBEW8Yk/S220/Firefox_wallpaper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4537829589558011064.post-8578464974082839080</id><published>2007-12-13T15:23:00.001-08:00</published><updated>2007-12-13T15:23:48.680-08:00</updated><title type='text'>How To Back Up MySQL Databases Without Interrupting MySQL</title><content type='html'>&lt;h3 class="post-title entry-title"&gt;                          &lt;a href="http://munichlinux.blogspot.com/2007/05/how-to-back-up-mysql-databases-without.html"&gt;&lt;br /&gt;&lt;/a&gt;                      &lt;/h3&gt;                 &lt;div class="post-body entry-content"&gt;       &lt;p&gt;Normally, when you want to create a MySQL backup, you either have to stop MySQL or issue a read lock on your MySQL tables in order to get a correct backup; if you don't do it this way, you can end up with an inconsistent backup. To get consistent backups without interrupting MySQL, I use a little trick: I replicate my MySQL database to a second MySQL server, and on the second MySQL server I use a cron job that creates regular backups of the replicated database.&lt;br /&gt;&lt;br /&gt;Preliminary Note&lt;br /&gt;&lt;br /&gt;To follow this tutorial, you need a second MySQL server (the slave), and you have to set up MySQL replication from your first MySQL server (the system from where you want to take backups, the master) to the slave, e.g. as described in this tutorial: http://www.howtoforge.com/mysql_database_replication. Setting up MySQL replication is beyond the scope of this document.&lt;br /&gt;&lt;br /&gt;The whole setup that I describe here has to be done on the slave MySQL server!&lt;br /&gt;&lt;br /&gt;I have tested this on a Debian system; this should work on other distributions as well, but it's possible that some paths differ (in the script /usr/local/sbin/mysqlbackup.sh).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Doing Automated Backups Of The Replicated Databases On The Slave&lt;br /&gt;&lt;br /&gt;After you have set up a working MySQL replication from the master to the slave, I assume that you want to do automatic backups of the slave database to the directory /home/sqlbackup. First, we must create that directory:&lt;br /&gt;&lt;br /&gt;mkdir /home/sqlbackup&lt;br /&gt;&lt;br /&gt;Next we create the shell script /usr/local/sbin/mysqlbackup.sh that stops the slave, makes an SQL dump of the whole MySQL database in /home/sqlbackup (the file name of the SQL dump will look like this: backup-20070423-18.sql; this is a dump taken on April 23, 2007, at 18.00h), restarts the slave afterwards (the slave will then catch up on everything that has happened on the master in the meantime so that no data is lost), and deletes all SQL dumps in /home/sqlbackup that are older than two days:&lt;br /&gt;&lt;br /&gt;vi /usr/local/sbin/mysqlbackup.sh&lt;br /&gt;&lt;br /&gt;#!/bin/sh&lt;br /&gt;&lt;br /&gt;datum=`/bin/date +%Y%m%d-%H`&lt;br /&gt;&lt;br /&gt;/usr/bin/mysqladmin --user=root --password=yourrootsqlpassword stop-slave&lt;br /&gt;&lt;br /&gt;/usr/bin/mysqldump --user=root --password=yourrootsqlpassword --lock-all-tables \&lt;br /&gt;     --all-databases &gt; /home/sqlbackup/backup-${datum}.sql&lt;br /&gt;&lt;br /&gt;/usr/bin/mysqladmin --user=root --password=yourrootsqlpassword start-slave&lt;br /&gt;&lt;br /&gt;for file in "$( /usr/bin/find /home/sqlbackup -type f -mtime +2 )"&lt;br /&gt;do&lt;br /&gt; /bin/rm -f $file&lt;br /&gt;done&lt;br /&gt;&lt;br /&gt;exit 0&lt;br /&gt;&lt;br /&gt;(Please make sure that you replace yourrootsqlpassword with the password of the root MySQL user on the slave!)&lt;br /&gt;&lt;br /&gt;Now we must make the script executable:&lt;br /&gt;&lt;br /&gt;chmod 755 /usr/local/sbin/mysqlbackup.sh&lt;br /&gt;&lt;br /&gt;Of course, we don't want to run the /usr/local/sbin/mysqlbackup.sh manually; instead, we create a cron job that runs the script automatically every three hours:&lt;br /&gt;&lt;br /&gt;crontab -e&lt;br /&gt;&lt;br /&gt;0 */3 * * * /usr/local/sbin/mysqlbackup.sh &amp;amp;&gt; /dev/null&lt;br /&gt;&lt;br /&gt;Of course, you are free to modify the cron job to run as often as you need it.&lt;br /&gt;&lt;br /&gt;That's it, using this method you can now back up your MySQL database without interrupting the MySQL service on the master server.&lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4537829589558011064-8578464974082839080?l=venkatlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://venkatlinux.blogspot.com/feeds/8578464974082839080/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4537829589558011064&amp;postID=8578464974082839080' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/8578464974082839080'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/8578464974082839080'/><link rel='alternate' type='text/html' href='http://venkatlinux.blogspot.com/2007/12/how-to-back-up-mysql-databases-without.html' title='How To Back Up MySQL Databases Without Interrupting MySQL'/><author><name>venkat</name><uri>http://www.blogger.com/profile/05704728868940562317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_5wiNn__TKWI/R2HMaGxMqtI/AAAAAAAAAE4/erOoZBEW8Yk/S220/Firefox_wallpaper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4537829589558011064.post-755460707823478705</id><published>2007-12-13T15:04:00.001-08:00</published><updated>2007-12-13T15:04:58.148-08:00</updated><title type='text'>The Google Story.....</title><content type='html'>Know about google...&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Just completed reading " The google story" by David Wise. Quite an eyeopener on how Serjey and Larry managed to make their dreams into a $80 billion giant. The journey from the Stanford lab to the gates building to the garage to googleplex is worth a read however, some portion of the book might have been better with a more detailed take. Take the case where Overture sues Google for infringement of its propriety ad selling mechanism. Felt somehow lost as I had no idea who was Overture and why on earth did they not capitalize on their patented solution or the case where the founders had no interest in hiring a CEO but were being forced by Kleiner Perkins and Sequoia Capital. Somewhere the seriousness and implications of Larry's and Brin's decision on Googles future was not really discussed to extent that would have made a serious reader satisfied. Anyway's heres my 10 point gyan to anyone interested in knowing a bit about Google and its founders.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1)Google is a mis-spelt word. The original word is Googol which means 1 followed by 100 zeroes.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2)Larry Page's brother Carl page also sold his internet company during the dot com era for an eye popping $500 million.&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;3)Google's ad model was originally developed by a company named Overture ( Now a Yahoo company)&lt;br /&gt;&lt;br /&gt;4)From their original hostel at Stanford, Larry Page and Sergey Brin were shifted to a newly constructed building named William Gates building.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;5)Though a tech company Google followed the practices of media companies during its IPO. To protect itself from unwanted takeover threats the company issued class A and B types of shares. Valued similarly the two classes of shares differed only in their voting rights. The company also developed an auction based system of allotting its stake to prevent unwanted volatility just after listing.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;6)Google had lost the Amazon Europe ad deal to Yahoo. Larry and Serjey were traveling on their private jet when they got this news. With much persuation the founders arranged a secret meeting with Amazon's CEO. Google raised its bid to such a level that Yahoo was eventually forced to back out of the deal saying that it did not make business sense for the latter.&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;7)Google's inhouse chef Charlie Ayers is one of the few chefs in the world who became a millionaire by selling personal Google shares given to him.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;8)Its very rare to find Kleiner Perkins and sequoia capital investing in the same venture. Larry and Sergie played a sleek game pitting the two VC'c against each other resulting in the two firms investing $12.5 million each.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;9)Google has a policy where employees are allowed to spend 20% of their time persuing their interests. Googlenews, Gmail and a host of other applications are a result of employee ideas which originated during this 20% time.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;10)Google has one of the largest hardware infrastructure and computing power in the world. This can be gauged from the fact that the company crawl the entire web and saves it in its computers. When a user searches for something, the google computers searches through the saved pages and throws out relevant results within seconds.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4537829589558011064-755460707823478705?l=venkatlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://venkatlinux.blogspot.com/feeds/755460707823478705/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4537829589558011064&amp;postID=755460707823478705' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/755460707823478705'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/755460707823478705'/><link rel='alternate' type='text/html' href='http://venkatlinux.blogspot.com/2007/12/google-story.html' title='The Google Story.....'/><author><name>venkat</name><uri>http://www.blogger.com/profile/05704728868940562317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_5wiNn__TKWI/R2HMaGxMqtI/AAAAAAAAAE4/erOoZBEW8Yk/S220/Firefox_wallpaper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4537829589558011064.post-2708838281947768909</id><published>2007-09-10T07:13:00.000-07:00</published><updated>2007-09-10T07:14:10.084-07:00</updated><title type='text'>cpanel Useful scripts</title><content type='html'>Install Zend Optimizer /scripts/installzendopt&lt;br /&gt;Hostname A Entry Missing! /scripts/fixndc then restart bind and apache&lt;br /&gt;Install Cron on New Server /scripts/installrpm anacron vixie-cron ; /etc/rc.d/init.d/crond start&lt;br /&gt;Bandwidth issues /scripts/cleanbw&lt;br /&gt;/scripts/fixwebalizer (To fix problem in webalizer that stop updating stats)&lt;br /&gt;/scripts/fixcommonproblems&lt;br /&gt;/scripts/fixeverything&lt;br /&gt;Fixing Mail List MailMan /usr/local/cpanel/bin/convertmailman2&lt;br /&gt;Reinstall MailMan /scripts/reinstallmailman&lt;br /&gt;Fix Permissions on accounts: /scripts/fixhome&lt;br /&gt;Edit mySQL conf file: pico /etc/my.cnf&lt;br /&gt;Edit php.ini: pico /usr/local/lib/php.ini&lt;br /&gt;Edit Apache Conf: pico /etc/httpd/conf/httpd.conf&lt;br /&gt;Checking Real Time Top Processes Login to SSH and run: top&lt;br /&gt;Run cpanel backup /scripts/cpbackup&lt;br /&gt;To try and fix domain controller: /scripts/fixndc&lt;br /&gt;&lt;br /&gt;Quotas /scripts/initquotas - takes a while to run&lt;br /&gt;/scripts/resetquotas&lt;br /&gt;/scripts/fixquotas - takes a while to run&lt;br /&gt;&lt;br /&gt;/scripts/adddns Add a Dns Entry&lt;br /&gt;/scripts/addfpmail Install Frontpage Mail Exts&lt;br /&gt;/scripts/addservlets Add JavaServlets to an account (jsp plugin required)&lt;br /&gt;/scripts/adduser Add a User&lt;br /&gt;/scripts/admin Run WHM Lite&lt;br /&gt;/scripts/apachelimits Add Rlimits (cpu and mem limits) to apache.&lt;br /&gt;/scripts/dnstransfer Resync with a master DNS Server&lt;br /&gt;/scripts/editquota Edit A User’s Quota&lt;br /&gt;/scripts/finddev Search For Trojans in /dev&lt;br /&gt;/scripts/findtrojans Locate Trojan Horses&lt;br /&gt;Suggest Usage&lt;br /&gt;/scripts/findtrojans &gt; /var/log/trojans&lt;br /&gt;/scripts/fixtrojans /var/log/trojans&lt;br /&gt;/scripts/fixcartwithsuexec Make Interchange work with suexec&lt;br /&gt;/scripts/fixinterchange Fix Most Problems with Interchange&lt;br /&gt;/scripts/fixtrojans Run on a trojans horse file created by findtrojans to remove them&lt;br /&gt;/scripts/fixwebalizer Run this if a user’s stats stop working&lt;br /&gt;/scripts/fixvaliases Fix a broken valias file&lt;br /&gt;/scripts/hdparamify Turn on DMA and 32bit IDE hard drive access (once per boot)&lt;br /&gt;/scripts/initquotas Re-scan quotas. Usually fixes Disk space display problems&lt;br /&gt;/scripts/initsuexec Turn on SUEXEC (probably a bad idea)&lt;br /&gt;/scripts/installzendopt Fetch + Install Zend Optimizer&lt;br /&gt;/scripts/ipusage Display Ipusage Report&lt;br /&gt;/scripts/killacct Terminate an Account&lt;br /&gt;/scripts/killbadrpms Delete “Security Problem Infested RPMS”&lt;br /&gt;/scripts/mailperm Fix Various Mail Permission Problems&lt;br /&gt;/scripts/mailtroubleshoot Attempt to Troubleshoot a Mail Problem&lt;br /&gt;/scripts/mysqlpasswd Change a Mysql Password&lt;br /&gt;/scripts/quicksecure Kill Potential Security Problem Services&lt;br /&gt;/scripts/rebuildippool Rebuild Ip Address Pool&lt;br /&gt;/scripts/remdefssl Delete Nasty SSL entry in apache default httpd.conf&lt;br /&gt;/scripts/restartsrv Restart a Service (valid services: httpd,proftpd,exim,sshd,cppop,bind,mysql)&lt;br /&gt;/scripts/rpmup Syncup Security Updates from RedHat/Mandrake&lt;br /&gt;/scripts/runlogsnow Force a webalizer/analog update.&lt;br /&gt;/scripts/secureit Remove non-important suid binaries&lt;br /&gt;/scripts/setupfp4 Install Frontpage 4+ on an account.&lt;br /&gt;/scripts/simpleps Return a Simple process list. Useful for finding where cgi scripts are running from.&lt;br /&gt;/scripts/suspendacct Suspend an account&lt;br /&gt;/scripts/sysup Syncup Cpanel RPM Updates&lt;br /&gt;/scripts/unblockip Unblock an IP&lt;br /&gt;/scripts/unsuspendacct UnSuspend an account&lt;br /&gt;/scripts/upcp Update Cpanel&lt;br /&gt;/scripts/updatenow Update /scripts&lt;br /&gt;/scripts/wwwacct Create a New Account&lt;br /&gt;&lt;br /&gt;/scripts/runweblogs account username for awstats to run manually&lt;br /&gt;&lt;br /&gt;Sometimes such behavior of apache/httpd (taking more and more memory until it dies or crashes the server) can be caused by corrupted MySQL database. Try to do the following:&lt;br /&gt;1) Kill the mysql server&lt;br /&gt;/etc/rc.d/init.d/mysql stop&lt;br /&gt;&lt;br /&gt;2) Repair all SQL databases:&lt;br /&gt;myisamchk -r /var/lib/mysql/*/*.MYI&lt;br /&gt;&lt;br /&gt;3) Start mysql again:&lt;br /&gt;/etc/rc.d/init.d/mysql start&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4537829589558011064-2708838281947768909?l=venkatlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://venkatlinux.blogspot.com/feeds/2708838281947768909/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4537829589558011064&amp;postID=2708838281947768909' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/2708838281947768909'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/2708838281947768909'/><link rel='alternate' type='text/html' href='http://venkatlinux.blogspot.com/2007/09/cpanel-useful-scripts.html' title='cpanel Useful scripts'/><author><name>venkat</name><uri>http://www.blogger.com/profile/05704728868940562317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_5wiNn__TKWI/R2HMaGxMqtI/AAAAAAAAAE4/erOoZBEW8Yk/S220/Firefox_wallpaper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4537829589558011064.post-8245890270933286237</id><published>2007-05-31T20:59:00.000-07:00</published><updated>2007-05-31T21:00:20.791-07:00</updated><title type='text'>Why Dell Is Really Saying No to Linux</title><content type='html'>&lt;h3 class="post-title"&gt;                          &lt;a href="http://munichlinux.blogspot.com/2007/03/why-dell-is-really-saying-no-to-linux.html"&gt;&lt;br /&gt;&lt;/a&gt;                      &lt;/h3&gt;                        &lt;p&gt;By now, many of you may be wondering why Dell is passing up such a great niche market by not offering Linux as an alternative OS option to Windows. We have talked about how this would only prove to benefit a company like Dell, but we have also acknowledged the fact that it will likely never happen.&lt;br /&gt;&lt;br /&gt;Then I came across this piece from ArsTechnica. They rightfully point out that Dell is not equipped to handle Linux support for the desktop. And they continue their proper understanding in stating that Dell can barely handle supporting Windows issues. Then it occurred to me: why must Dell "support" Linux at all? Check this out...&lt;br /&gt;&lt;br /&gt;This Excuse Smells of Swiss Cheese. The belief that Dell can't sell Linux based on support concerns is absurd. It’s not because problems won’t arise, but they could easily outsource this kind support to...Linux vendors themselves.&lt;br /&gt;&lt;br /&gt;Obviously, the simple answer is to offer known-to-work hardware in Dell Linux boxes, but make it clear that on the support front, the users are on their own. Instead, Dell appears afraid of this. Why? Because they might be giving their customers over to someone competent that can actually answer the questions being asked without being put on hold 15 times? Come on, give me a break. Let's make this as easy as pie for Dell, shall we?&lt;br /&gt;&lt;br /&gt;The "You are on Your Own" Disclaimer. Dell could force buyers, who are interested in buying the Linux alternative, to digitally sign an agreement stating that they understand that the hardware is known to work and that a list of Linux support agencies will be provided with the order. Boom, Dell just conquered the support issue.&lt;br /&gt;&lt;br /&gt;So enough of the hot air. The reason why we will not see Dell selling desktop Linux boxes is simple - Microsoft's OEM department would come unhinged. Why? Because HP would soon follow suit. And if HP and Dell are both selling desktop Linux boxes as an alternative to Vista, the market would shift a great deal. Curiosity would prevail.&lt;br /&gt;&lt;br /&gt;Like Linux, Vista presents a set of challenges to the PC user. And unless they dump the PC completely and just go with a Mac, most users are no worse off with Linux than with Vista. Outside of power users who need specialty apps, most people would honestly not care, so long as everything works out of the box.&lt;br /&gt;&lt;br /&gt;The Time is Now, But Will it Even Matter? My reason to see Dell become more open to offering Linux is rather simple. If they offer it, HP will follow them, and before long, new PC buyers will be exposed to Linux offerings.&lt;br /&gt;&lt;br /&gt;Linux is most certainly not for everyone. I get this. However, if Dell is willing to take a slight risk to look at the fact that Vista is not ready yet, they might then realize that Linux offers a viable alternative to banging-your-head-against-the-wall with Vista compatibility.&lt;br /&gt;&lt;br /&gt;Understand this, though. Once Vista gets its issues worked out, this small window of opportunity with Dell and HP will indeed close. The time is now, so hopefully we will see enough profit margins hurting to where Dell is really ready to take a chance in offering yet, another OS option to provide along side Vista. Only time will tell, I suppose.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4537829589558011064-8245890270933286237?l=venkatlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://venkatlinux.blogspot.com/feeds/8245890270933286237/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4537829589558011064&amp;postID=8245890270933286237' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/8245890270933286237'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/8245890270933286237'/><link rel='alternate' type='text/html' href='http://venkatlinux.blogspot.com/2007/05/why-dell-is-really-saying-no-to-linux.html' title='Why Dell Is Really Saying No to Linux'/><author><name>venkat</name><uri>http://www.blogger.com/profile/05704728868940562317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_5wiNn__TKWI/R2HMaGxMqtI/AAAAAAAAAE4/erOoZBEW8Yk/S220/Firefox_wallpaper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4537829589558011064.post-227046201098736580</id><published>2007-02-05T16:20:00.001-08:00</published><updated>2007-02-05T16:22:36.054-08:00</updated><title type='text'>LPI Releases Top-Level Linux Certification</title><content type='html'>&lt;span class="sub"&gt;&lt;/span&gt;&lt;br /&gt;"After years in the making--and after some people had given up on ever seeing it--the distribution-neutral Linux Professional Institute (LPI) and its affiliate, LPI-Japan, have finally jointly launched the LPIC-3 certification program...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4537829589558011064-227046201098736580?l=venkatlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://venkatlinux.blogspot.com/feeds/227046201098736580/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4537829589558011064&amp;postID=227046201098736580' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/227046201098736580'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/227046201098736580'/><link rel='alternate' type='text/html' href='http://venkatlinux.blogspot.com/2007/02/lpi-releases-top-level-linux.html' title='LPI Releases Top-Level Linux Certification'/><author><name>venkat</name><uri>http://www.blogger.com/profile/05704728868940562317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_5wiNn__TKWI/R2HMaGxMqtI/AAAAAAAAAE4/erOoZBEW8Yk/S220/Firefox_wallpaper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4537829589558011064.post-2142350166995838846</id><published>2007-02-05T16:20:00.000-08:00</published><updated>2007-02-05T16:21:06.743-08:00</updated><title type='text'>Linux in Brazil: Brazilian Government Will Update Its Tax-Exempt Linux Computers Initiative</title><content type='html'>&lt;span class="sub"&gt;&lt;/span&gt;&lt;br /&gt;"A nice idea turned into a pirated software magnet? Users were replacing their pre-installed Linux with unlicensed Windows copies, and some of the reasons for these defections were addressed by today announcement..."&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4537829589558011064-2142350166995838846?l=venkatlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://venkatlinux.blogspot.com/feeds/2142350166995838846/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4537829589558011064&amp;postID=2142350166995838846' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/2142350166995838846'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/2142350166995838846'/><link rel='alternate' type='text/html' href='http://venkatlinux.blogspot.com/2007/02/linux-in-brazil-brazilian-government.html' title='Linux in Brazil: Brazilian Government Will Update Its Tax-Exempt Linux Computers Initiative'/><author><name>venkat</name><uri>http://www.blogger.com/profile/05704728868940562317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_5wiNn__TKWI/R2HMaGxMqtI/AAAAAAAAAE4/erOoZBEW8Yk/S220/Firefox_wallpaper.png'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4537829589558011064.post-3781747463667157876</id><published>2006-12-31T13:47:00.000-08:00</published><updated>2006-12-31T13:49:31.726-08:00</updated><title type='text'>Flash News</title><content type='html'>&lt;span style="font-family:Arial,Helvetica;font-size:85%;"&gt;'''''China launches Linux-based smartphone&lt;/span&gt;'''''&lt;br /&gt;&lt;br /&gt;pink  to read the hot topic regard Linux.&lt;br /&gt;&lt;br /&gt;     http://www.linuxdevices.com/news/NS5033717348.html&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4537829589558011064-3781747463667157876?l=venkatlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://venkatlinux.blogspot.com/feeds/3781747463667157876/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4537829589558011064&amp;postID=3781747463667157876' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/3781747463667157876'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/3781747463667157876'/><link rel='alternate' type='text/html' href='http://venkatlinux.blogspot.com/2006/12/flash-news.html' title='Flash News'/><author><name>venkat</name><uri>http://www.blogger.com/profile/05704728868940562317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_5wiNn__TKWI/R2HMaGxMqtI/AAAAAAAAAE4/erOoZBEW8Yk/S220/Firefox_wallpaper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4537829589558011064.post-5729501054784726898</id><published>2006-12-31T13:46:00.003-08:00</published><updated>2006-12-31T13:46:47.303-08:00</updated><title type='text'>French Parliament migrates to Linux</title><content type='html'>&lt;a href="http://compu-world.blogspot.com/2006/11/french-parliament-migrates-to-linux.html" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"&gt;http://compu-world.blogspot&lt;wbr&gt;.com/2006/11/french-parliament&lt;wbr&gt;-migrates-to-linux.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4537829589558011064-5729501054784726898?l=venkatlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://venkatlinux.blogspot.com/feeds/5729501054784726898/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4537829589558011064&amp;postID=5729501054784726898' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/5729501054784726898'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/5729501054784726898'/><link rel='alternate' type='text/html' href='http://venkatlinux.blogspot.com/2006/12/french-parliament-migrates-to-linux.html' title='French Parliament migrates to Linux'/><author><name>venkat</name><uri>http://www.blogger.com/profile/05704728868940562317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_5wiNn__TKWI/R2HMaGxMqtI/AAAAAAAAAE4/erOoZBEW8Yk/S220/Firefox_wallpaper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4537829589558011064.post-5349112087265347199</id><published>2006-12-31T13:43:00.000-08:00</published><updated>2006-12-31T13:44:12.973-08:00</updated><title type='text'>BSNL Broad band rocks</title><content type='html'>&lt;h1&gt;BSNL Broad band rocks&lt;/h1&gt;                                    BSNL broadband rocks with its speed, i could experience this update right from 12am in this new year 2007. To see your download speed look this page --&gt; &lt;a href="http://www.calcuttatelephones.com/bandwidthmeter/meter.php"&gt;culcuttatelephones &lt;/a&gt;&lt;--&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4537829589558011064-5349112087265347199?l=venkatlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://venkatlinux.blogspot.com/feeds/5349112087265347199/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4537829589558011064&amp;postID=5349112087265347199' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/5349112087265347199'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4537829589558011064/posts/default/5349112087265347199'/><link rel='alternate' type='text/html' href='http://venkatlinux.blogspot.com/2006/12/bsnl-broad-band-rocks.html' title='BSNL Broad band rocks'/><author><name>venkat</name><uri>http://www.blogger.com/profile/05704728868940562317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_5wiNn__TKWI/R2HMaGxMqtI/AAAAAAAAAE4/erOoZBEW8Yk/S220/Firefox_wallpaper.png'/></author><thr:total>1</thr:total></entry></feed>
