<?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-6989654455041185731</id><updated>2011-11-28T06:06:25.399+05:30</updated><category term='NAT'/><category term='packet forwarding'/><category term='Linux Desktop'/><category term='Fedora'/><category term='squid proxy'/><category term='tar and zip'/><category term='moodle backup'/><category term='Linux Shell'/><category term='Install Media'/><category term='mysql performance'/><category term='Software'/><category term='Access Log'/><category term='Download issue'/><category term='Linux Security'/><category term='Routing'/><category term='Apache'/><category term='Caching'/><category term='iptables'/><category term='Firewall'/><category term='moodle performance'/><category term='Remote Connection'/><category term='Custom OS'/><category term='Yahoo Messenger'/><category term='rpm or yum'/><title type='text'>Linux Administration Zone</title><subtitle type='html'>This blog contains posts on Linux/Fedora Tips &amp;amp; Tricks, installation, and many more</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://adminwithlinux.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6989654455041185731/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://adminwithlinux.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>S Paul</name><uri>http://www.blogger.com/profile/11440842725491473616</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>27</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6989654455041185731.post-6581418130807814858</id><published>2009-06-02T10:51:00.007+05:30</published><updated>2009-06-11T11:15:59.431+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Firewall'/><category scheme='http://www.blogger.com/atom/ns#' term='Fedora'/><category scheme='http://www.blogger.com/atom/ns#' term='iptables'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux Security'/><title type='text'>ip range with ipables | specify source ip range in iptables | specify destination ip range in iptables</title><content type='html'>iptables can use a range of IP address.&lt;br /&gt;I have tested with iptables version 1.3.7 with Linux Kernel version 2.6.21-7.&lt;br /&gt;Range specification depends on "iprange" module of iptables.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To specify a &lt;strong&gt;range of source IP address&lt;/strong&gt; with iptables, use the following syntax,&lt;br /&gt;&lt;strong&gt;# iptables -A INPUT -p tcp -m iprange --src-range 192.168.2.2-192.168.2.50 -j ACCEPT&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;To specify a range of &lt;strong&gt;destinationIP address&lt;/strong&gt; with iptables, use the following syntax,&lt;br /&gt;&lt;strong&gt;# iptables -A INPUT -p tcp -m iprange --dst-range 192.168.2.51-192.168.2.100 -j DROP&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;a target="_blank" href="http://www.shareasale.com/r.cfm?b=13794&amp;u=288609&amp;m=4091&amp;urllink=&amp;afftrack="&gt;&lt;img src="http://www.shareasale.com/image/combo300x250.gif"  border="0"&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6989654455041185731-6581418130807814858?l=adminwithlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adminwithlinux.blogspot.com/feeds/6581418130807814858/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6989654455041185731&amp;postID=6581418130807814858' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6989654455041185731/posts/default/6581418130807814858'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6989654455041185731/posts/default/6581418130807814858'/><link rel='alternate' type='text/html' href='http://adminwithlinux.blogspot.com/2009/06/iptables-ip-range.html' title='ip range with ipables | specify source ip range in iptables | specify destination ip range in iptables'/><author><name>S Paul</name><uri>http://www.blogger.com/profile/11440842725491473616</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6989654455041185731.post-5477519040583197910</id><published>2009-05-16T11:50:00.002+05:30</published><updated>2009-05-16T12:02:59.700+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Fedora'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux Security'/><title type='text'>What is SELinux</title><content type='html'>&lt;strong&gt;History:&lt;/strong&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;SELinux&lt;/span&gt; was originally a development project from the National Security Agency (NSA) &lt;a href="http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/selinux-guide/rhlcommon-appendix-0005.html"&gt;more..&lt;/a&gt;&lt;br /&gt;&lt;strong&gt;Security-enhanced Linux&lt;/strong&gt; (SELinux) is an implementation of a mandatory access control mechanism. This mechanism is in the Linux kernel, checking for allowed operations after standard Linux discretionary access controls are checked. &lt;a href="http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/selinux-guide/selg-preface-0011.html"&gt;more.....&lt;/a&gt;&lt;br /&gt;&lt;strong&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;SELinux&lt;/span&gt; &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_2"&gt;Architecture&lt;/span&gt;:&lt;/strong&gt; &lt;a href="http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/selinux-guide/selg-chapter-0013.html"&gt;more....&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6989654455041185731-5477519040583197910?l=adminwithlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adminwithlinux.blogspot.com/feeds/5477519040583197910/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6989654455041185731&amp;postID=5477519040583197910' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6989654455041185731/posts/default/5477519040583197910'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6989654455041185731/posts/default/5477519040583197910'/><link rel='alternate' type='text/html' href='http://adminwithlinux.blogspot.com/2009/05/what-is-selinux.html' title='What is SELinux'/><author><name>S Paul</name><uri>http://www.blogger.com/profile/11440842725491473616</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6989654455041185731.post-4636507810838009546</id><published>2009-05-16T11:31:00.004+05:30</published><updated>2009-05-16T12:13:15.246+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Fedora'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux Security'/><title type='text'>Enable or Disable SELinux on Linux/Fedora</title><content type='html'>In Fedora Core and RedHat Enterprise Linux one can &lt;strong&gt;Permanently Disable of Enable SELinux.&lt;/strong&gt;&lt;br /&gt;Edit the file &lt;strong&gt;&lt;span style="color:#006600;"&gt;/etc/selinux/config&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;then set: &lt;span style="color:#006600;"&gt;&lt;strong&gt;SELINUX=disabled&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;and then &lt;span style="font-size:130%;color:#660000;"&gt;&lt;strong&gt;reboot the system!!&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#006600;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#006600;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;a target="_blank" href="http://www.shareasale.com/r.cfm?b=13034&amp;u=288609&amp;m=3907&amp;urllink=&amp;afftrack="&gt;&lt;img src="http://www.shareasale.com/image/1424_053a (1).gif"  border="0"&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6989654455041185731-4636507810838009546?l=adminwithlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adminwithlinux.blogspot.com/feeds/4636507810838009546/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6989654455041185731&amp;postID=4636507810838009546' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6989654455041185731/posts/default/4636507810838009546'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6989654455041185731/posts/default/4636507810838009546'/><link rel='alternate' type='text/html' href='http://adminwithlinux.blogspot.com/2009/05/enable-or-disable-selinux-on.html' title='Enable or Disable SELinux on Linux/Fedora'/><author><name>S Paul</name><uri>http://www.blogger.com/profile/11440842725491473616</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6989654455041185731.post-7195046366242069547</id><published>2009-04-20T09:20:00.004+05:30</published><updated>2009-06-11T11:21:38.348+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='packet forwarding'/><category scheme='http://www.blogger.com/atom/ns#' term='Routing'/><category scheme='http://www.blogger.com/atom/ns#' term='Firewall'/><category scheme='http://www.blogger.com/atom/ns#' term='Fedora'/><title type='text'>Configure Linux/Fedora as a Router | Enable Packet Forwarding in Linux/Fedora</title><content type='html'>Configuring a Linux Box as a Router is a easy task.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Step1:&lt;/strong&gt; Set &lt;strong&gt;&lt;span style="color:#009900;"&gt;net.ipv4.ip_forward = 1&lt;/span&gt;&lt;/strong&gt; in the file &lt;strong&gt;&lt;span style="color:#009900;"&gt;/etc/sysctl.conf&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;&lt;strong&gt;Step2:&lt;/strong&gt; Restart Network Service, command: &lt;/span&gt;&lt;span style="color:#009900;"&gt;&lt;strong&gt;service network restart &lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;&lt;strong&gt;Note:&lt;/strong&gt; If you do not want to Restart Network Service, use the following command to enable &lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;packet forwarding: &lt;/span&gt;&lt;span style="color:#009900;"&gt;&lt;strong&gt;echo "1" &gt; /proc/sys/net/ipv4/ip_forward&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;&lt;strong&gt;Step3:&lt;/strong&gt; Add the static routes to different subnets, hosts etc. using the command: &lt;/span&gt;&lt;span style="color:#009900;"&gt;&lt;strong&gt;route add .....&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#000000;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;Note: This will work if, the firewall don't block the packets from one sub-net to another.&lt;br /&gt;&lt;br /&gt;&lt;a target="_blank" href="http://www.shareasale.com/r.cfm?b=130175&amp;u=288609&amp;m=11619&amp;urllink=&amp;afftrack="&gt;&lt;img src="http://www.shareasale.com/image/468x60_bnr_triatherm.gif"  border="0"&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6989654455041185731-7195046366242069547?l=adminwithlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adminwithlinux.blogspot.com/feeds/7195046366242069547/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6989654455041185731&amp;postID=7195046366242069547' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6989654455041185731/posts/default/7195046366242069547'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6989654455041185731/posts/default/7195046366242069547'/><link rel='alternate' type='text/html' href='http://adminwithlinux.blogspot.com/2009/04/configure-linux-as-router.html' title='Configure Linux/Fedora as a Router | Enable Packet Forwarding in Linux/Fedora'/><author><name>S Paul</name><uri>http://www.blogger.com/profile/11440842725491473616</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6989654455041185731.post-3620328612504207478</id><published>2009-04-20T08:56:00.007+05:30</published><updated>2009-05-16T12:20:06.319+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='NAT'/><category scheme='http://www.blogger.com/atom/ns#' term='Firewall'/><category scheme='http://www.blogger.com/atom/ns#' term='Fedora'/><title type='text'>Enable NAT on Linux|Configure NAT on Linux</title><content type='html'>NAT enabling is suitable when a Linux Box works as a router.&lt;br /&gt;&lt;br /&gt;Assuming that, the Linux box has two network interface with the following parameters.&lt;br /&gt;&lt;br /&gt;eth0: IP Address 192.168.10.1/24, connected with Local LAN.&lt;br /&gt;eth1: IP Address 203.200.160.226/29, connected with WAN, Gateway: 203.200.160.225/29&lt;br /&gt;&lt;br /&gt;To enable NAT for the Local Private LAN, &lt;strong&gt;&lt;span style="color:#006600;"&gt;iptables&lt;/span&gt;&lt;/strong&gt; can be used.&lt;br /&gt;Command is: &lt;strong&gt;&lt;span style="color:#3333ff;"&gt;iptables -A POSTRUTING -t nat -s 192.168.10.0/24 -o eth1 -j MASQUERADE&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;Note: This will work if,&lt;br /&gt;1) the Linux Box is already &lt;a title="Configure Linux Box as a Router" href="http://adminwithlinux.blogspot.com/2009/04/configure-linux-as-router.html"&gt;configured to work as router&lt;/a&gt;.&lt;br /&gt;2) the firewall don't block the packets from Private LAN to WAN.&lt;br /&gt;&lt;br /&gt;&lt;a target="_blank" href="http://www.shareasale.com/r.cfm?b=131869&amp;u=288609&amp;m=16674&amp;urllink=&amp;afftrack="&gt;&lt;img src="http://www.shareasale.com/image/BZ_AFM_babyname_468x60.gif"  border="0"&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6989654455041185731-3620328612504207478?l=adminwithlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adminwithlinux.blogspot.com/feeds/3620328612504207478/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6989654455041185731&amp;postID=3620328612504207478' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6989654455041185731/posts/default/3620328612504207478'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6989654455041185731/posts/default/3620328612504207478'/><link rel='alternate' type='text/html' href='http://adminwithlinux.blogspot.com/2009/04/enable-nat-on-linux.html' title='Enable NAT on Linux|Configure NAT on Linux'/><author><name>S Paul</name><uri>http://www.blogger.com/profile/11440842725491473616</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6989654455041185731.post-7692220470905003281</id><published>2009-03-09T12:22:00.005+05:30</published><updated>2009-06-11T11:25:34.400+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='squid proxy'/><category scheme='http://www.blogger.com/atom/ns#' term='Fedora'/><title type='text'>overflow in var file system | clean squid log files and squid cache</title><content type='html'>/var file system can overflow for the following reason:&lt;br /&gt;# &lt;strong&gt;Are you using squid?&lt;/strong&gt;&lt;br /&gt;If so,&lt;br /&gt;1. clean squid cache using the command : &lt;strong&gt;&lt;span style="color:#993300;"&gt;rm –rf /var/spool/squid/*&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;2. clean squid access log using the command : &lt;strong&gt;&lt;span style="color:#993300;"&gt;rm –rf /var/log/squid/*&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;Before cleaning, stop squid service using the command: &lt;strong&gt;&lt;span style="color:#993300;"&gt;service squid stop&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;OR &lt;strong&gt;&lt;span style="color:#993300;"&gt;killall -9 squid&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;Then start squid service using the command: &lt;strong&gt;&lt;span style="color:#993300;"&gt;service squid start&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;a target="_blank" href="http://www.shareasale.com/r.cfm?b=11344&amp;u=288609&amp;m=3449&amp;urllink=&amp;afftrack="&gt;&lt;img src="http://www.shareasale.com/image/beg-468.gif" alt="fdsfds" border="0"&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6989654455041185731-7692220470905003281?l=adminwithlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adminwithlinux.blogspot.com/feeds/7692220470905003281/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6989654455041185731&amp;postID=7692220470905003281' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6989654455041185731/posts/default/7692220470905003281'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6989654455041185731/posts/default/7692220470905003281'/><link rel='alternate' type='text/html' href='http://adminwithlinux.blogspot.com/2009/03/overflow-in-var-file-system.html' title='overflow in var file system | clean squid log files and squid cache'/><author><name>S Paul</name><uri>http://www.blogger.com/profile/11440842725491473616</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6989654455041185731.post-3473398868625711800</id><published>2009-02-24T14:33:00.001+05:30</published><updated>2009-02-24T14:38:22.449+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='rpm or yum'/><category scheme='http://www.blogger.com/atom/ns#' term='Fedora'/><category scheme='http://www.blogger.com/atom/ns#' term='Download issue'/><title type='text'>download rpm using yum, but do not install, --downloadonly doesn't download,</title><content type='html'>&lt;p&gt;Yum can be used to download(only) suitable rpm and its dependencies.&lt;br /&gt;&lt;strong&gt;Yum&lt;/strong&gt; &lt;strong&gt;downloadonly plugin&lt;/strong&gt; is required to download rpms without installing them.&lt;br /&gt;First, &lt;strong&gt;install downloadonly plugins&lt;/strong&gt; using the command:&lt;/p&gt;&lt;p&gt;&lt;span style="color:#993300;"&gt;&lt;strong&gt;# yum install yum-downloadonly&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Now you can download any rpm without installing. For example to download tomcat5-webapps &amp;amp; its all dependencies in current directory ( . ), I have used the following command:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#993300;"&gt;#yum install --downloadonly --downloaddir . tomcat5-admin-webapps tomcat5-webapps&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6989654455041185731-3473398868625711800?l=adminwithlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adminwithlinux.blogspot.com/feeds/3473398868625711800/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6989654455041185731&amp;postID=3473398868625711800' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6989654455041185731/posts/default/3473398868625711800'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6989654455041185731/posts/default/3473398868625711800'/><link rel='alternate' type='text/html' href='http://adminwithlinux.blogspot.com/2009/02/download-rpm-using-yum-but-do-not.html' title='download rpm using yum, but do not install, --downloadonly doesn&apos;t download,'/><author><name>S Paul</name><uri>http://www.blogger.com/profile/11440842725491473616</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6989654455041185731.post-4601120321636615040</id><published>2009-02-23T15:57:00.002+05:30</published><updated>2009-02-24T14:11:30.077+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='rpm or yum'/><category scheme='http://www.blogger.com/atom/ns#' term='Fedora'/><title type='text'>connect yum using proxy, yum cannot connect through proxy</title><content type='html'>Yum can connect with external repository if http_proxy , ftp_proxy  environment variables are set properly.&lt;br /&gt;&lt;br /&gt;Set the environment  variables (from command line):&lt;br /&gt;&lt;br /&gt;# http_proxy="&lt;strong&gt;&lt;span style="color:#996633;"&gt;http://192.168.1.1:3128&lt;/span&gt;&lt;/strong&gt;"&lt;br /&gt;# ftp_proxy="&lt;a href="http://192.168.1.1:3128/"&gt;&lt;strong&gt;&lt;span style="color:#996633;"&gt;http://192.168.1.1:3128&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;span style="color:#000000;"&gt;"&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#996633;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;/* if PROXY host is http://192.168.1.1/ &amp;amp; PROT is 3128 */&lt;br /&gt;Export the variable (from command line):&lt;br /&gt;&lt;br /&gt;# export http_proxyexport ftp_proxy&lt;br /&gt;&lt;br /&gt;Test yum &amp;amp; reply me.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6989654455041185731-4601120321636615040?l=adminwithlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adminwithlinux.blogspot.com/feeds/4601120321636615040/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6989654455041185731&amp;postID=4601120321636615040' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6989654455041185731/posts/default/4601120321636615040'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6989654455041185731/posts/default/4601120321636615040'/><link rel='alternate' type='text/html' href='http://adminwithlinux.blogspot.com/2009/02/connect-yum-using-proxy.html' title='connect yum using proxy, yum cannot connect through proxy'/><author><name>S Paul</name><uri>http://www.blogger.com/profile/11440842725491473616</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6989654455041185731.post-2228776296459536270</id><published>2009-01-29T12:34:00.002+05:30</published><updated>2009-01-29T12:46:19.860+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='moodle performance'/><category scheme='http://www.blogger.com/atom/ns#' term='Fedora'/><category scheme='http://www.blogger.com/atom/ns#' term='Apache'/><title type='text'>speed up moodle, Apache performance with PHP memory limit, PHP accelerator, TMPFS filesystem</title><content type='html'>1. PHP performance is better when &lt;strong&gt;installed as an Apache module&lt;/strong&gt; (rather than a CGI) in Fedora/Linux.&lt;br /&gt;&lt;br /&gt;2. Check the &lt;strong&gt;&lt;span style="color:#000099;"&gt;memory_limit in php.ini&lt;/span&gt;&lt;/strong&gt;,&lt;br /&gt;For Moodle 1.7 or later, the value of &lt;strong&gt;&lt;span style="color:#000099;"&gt;memory_limit should be &gt; 40M&lt;/span&gt;&lt;/strong&gt;.&lt;br /&gt;&lt;br /&gt;3. Use a PHP accelerator to ease CPU load, such as PHPA, Xcache or eAccelerator.&lt;br /&gt;&lt;br /&gt;4. Read/Write performance can be improved by putting the cached PHP pages on a &lt;strong&gt;&lt;span style="color:#000099;"&gt;TMPFS filesystem&lt;/span&gt;&lt;/strong&gt;.&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#cc0000;"&gt;Note&lt;/span&gt;&lt;/strong&gt;: The cache contents will vanished when there is a power failure or if the server reboots.&lt;br /&gt;&lt;br /&gt;&lt;a target="_blank" href="http://www.shareasale.com/r.cfm?b=84375&amp;u=288609&amp;m=12653&amp;urllink=&amp;afftrack="&gt;&lt;img src="http://www.shareasale.com/image/banner463.gif"  border="0"&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6989654455041185731-2228776296459536270?l=adminwithlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adminwithlinux.blogspot.com/feeds/2228776296459536270/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6989654455041185731&amp;postID=2228776296459536270' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6989654455041185731/posts/default/2228776296459536270'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6989654455041185731/posts/default/2228776296459536270'/><link rel='alternate' type='text/html' href='http://adminwithlinux.blogspot.com/2009/01/speed-up-moodle-apache-performance-with.html' title='speed up moodle, Apache performance with PHP memory limit, PHP accelerator, TMPFS filesystem'/><author><name>S Paul</name><uri>http://www.blogger.com/profile/11440842725491473616</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6989654455041185731.post-4768734223125599412</id><published>2009-01-29T12:14:00.003+05:30</published><updated>2009-01-29T12:31:13.194+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='moodle performance'/><category scheme='http://www.blogger.com/atom/ns#' term='Fedora'/><category scheme='http://www.blogger.com/atom/ns#' term='mysql performance'/><title type='text'>speed up moodle performance with MySQL query cache</title><content type='html'>&lt;strong&gt;MySQL performance&lt;/strong&gt;&lt;br /&gt;The following are the MySQL settings which can be adjusted for better performance in my.cnf (my.ini in Windows). The file contains a list of settings and their values.&lt;br /&gt;&lt;br /&gt;1. Enable the query cache with &lt;span style="color:#000099;"&gt;&lt;strong&gt;query_cache_type = 1&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;2. Set query cache size with &lt;strong&gt;&lt;span style="color:#000099;"&gt;query_cache_size = 36M&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;3. and &lt;strong&gt;&lt;span style="color:#000099;"&gt;query_cache_min_res_unit = 2K &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;4. Set &lt;strong&gt;&lt;span style="color:#000099;"&gt;table cache with table_cache = 512&lt;/span&gt;&lt;/strong&gt; (from moodle 1.7 or higher)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#990000;"&gt;Note:&lt;/span&gt;&lt;/strong&gt; Please make backups of your database before changing any MySQL server configuration.&lt;br /&gt;After the changes to the my.cnf,restart mysql server using the command "service &lt;strong&gt;&lt;span style="color:#000099;"&gt;mysqld restart&lt;/span&gt;&lt;/strong&gt;".&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6989654455041185731-4768734223125599412?l=adminwithlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adminwithlinux.blogspot.com/feeds/4768734223125599412/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6989654455041185731&amp;postID=4768734223125599412' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6989654455041185731/posts/default/4768734223125599412'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6989654455041185731/posts/default/4768734223125599412'/><link rel='alternate' type='text/html' href='http://adminwithlinux.blogspot.com/2009/01/speed-up-moodle-performance-with-mysql.html' title='speed up moodle performance with MySQL query cache'/><author><name>S Paul</name><uri>http://www.blogger.com/profile/11440842725491473616</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6989654455041185731.post-8651978486454553709</id><published>2009-01-29T12:02:00.005+05:30</published><updated>2009-01-29T12:13:00.296+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Fedora'/><category scheme='http://www.blogger.com/atom/ns#' term='Caching'/><category scheme='http://www.blogger.com/atom/ns#' term='Apache'/><title type='text'>faster performance in apache, httpd, enable disk cache</title><content type='html'>To enable a disk cache, edit the following section in httpd.conf.&lt;br /&gt;&lt;br /&gt;##########################&lt;br /&gt;&lt;ifmodule&gt;&lt;br /&gt;CacheEnable disk /&lt;br /&gt;CacheRoot "/var/www/&lt;strong&gt;&lt;span style="color:#000099;"&gt;dir_name&lt;/span&gt;&lt;/strong&gt;"&lt;br /&gt;CacheDefaultExpire 3600&lt;br /&gt;&lt;/ifmodule&gt;&lt;br /&gt;#########################&lt;br /&gt;&lt;br /&gt;Where "&lt;strong&gt;&lt;span style="color:#000099;"&gt;dir_name&lt;/span&gt;&lt;/strong&gt;" is the directory to be cached.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a target="_blank" href="http://www.shareasale.com/r.cfm?b=84375&amp;u=288609&amp;m=12653&amp;urllink=&amp;afftrack="&gt;&lt;img src="http://www.shareasale.com/image/banner463.gif"  border="0"&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6989654455041185731-8651978486454553709?l=adminwithlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adminwithlinux.blogspot.com/feeds/8651978486454553709/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6989654455041185731&amp;postID=8651978486454553709' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6989654455041185731/posts/default/8651978486454553709'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6989654455041185731/posts/default/8651978486454553709'/><link rel='alternate' type='text/html' href='http://adminwithlinux.blogspot.com/2009/01/faster-performance-in-apache-httpd.html' title='faster performance in apache, httpd, enable disk cache'/><author><name>S Paul</name><uri>http://www.blogger.com/profile/11440842725491473616</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6989654455041185731.post-6211478995400984347</id><published>2008-08-29T11:19:00.007+05:30</published><updated>2009-01-29T12:33:49.128+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='moodle backup'/><category scheme='http://www.blogger.com/atom/ns#' term='Fedora'/><category scheme='http://www.blogger.com/atom/ns#' term='Software'/><title type='text'>How to backup entire moodle site</title><content type='html'>Plz see the YouTube Video ---&lt;br /&gt;&lt;br /&gt;&lt;object height="375" width="450"&gt;&lt;param name="movie" value="http://www.youtube.com/v/V4gTeA4vA6k&amp;amp;hl=en&amp;amp;fs=1&amp;amp;color1=0xcc2550&amp;amp;color2=0xe87a9f&amp;amp;border=1"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;embed src="http://www.youtube.com/v/V4gTeA4vA6k&amp;hl=en&amp;fs=1&amp;color1=0xcc2550&amp;color2=0xe87a9f&amp;border=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="349"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6989654455041185731-6211478995400984347?l=adminwithlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adminwithlinux.blogspot.com/feeds/6211478995400984347/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6989654455041185731&amp;postID=6211478995400984347' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6989654455041185731/posts/default/6211478995400984347'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6989654455041185731/posts/default/6211478995400984347'/><link rel='alternate' type='text/html' href='http://adminwithlinux.blogspot.com/2008/08/how-to-backup-entire-moodle-site.html' title='How to backup entire moodle site'/><author><name>S Paul</name><uri>http://www.blogger.com/profile/11440842725491473616</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6989654455041185731.post-8940388504144175367</id><published>2008-08-29T11:17:00.000+05:30</published><updated>2008-08-29T11:19:07.689+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Fedora'/><title type='text'>MAC Address Filtering with iptables</title><content type='html'>Plz follow the post below----&lt;br /&gt;&lt;a href="http://adminwithlinux.blogspot.com/2008/08/packet-filtering-using-mac-address-in.html"&gt;http://adminwithlinux.blogspot.com/2008/08/packet-filtering-using-mac-address-in.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6989654455041185731-8940388504144175367?l=adminwithlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adminwithlinux.blogspot.com/feeds/8940388504144175367/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6989654455041185731&amp;postID=8940388504144175367' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6989654455041185731/posts/default/8940388504144175367'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6989654455041185731/posts/default/8940388504144175367'/><link rel='alternate' type='text/html' href='http://adminwithlinux.blogspot.com/2008/08/mac-address-filtering-with-iptables.html' title='MAC Address Filtering with iptables'/><author><name>S Paul</name><uri>http://www.blogger.com/profile/11440842725491473616</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6989654455041185731.post-820256515473818167</id><published>2008-08-29T11:09:00.003+05:30</published><updated>2008-08-29T11:17:21.690+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Firewall'/><category scheme='http://www.blogger.com/atom/ns#' term='Fedora'/><title type='text'>Packet filtering using MAC address in Linux iptables</title><content type='html'>A host can be blocked by its MAC address.&lt;br /&gt;Linux "iptables" with mac modules loaded.&lt;br /&gt;A simple configuration is given below ----&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#006600;"&gt;iptables  -A  INPUT  -m mac  --mac-source  00:17:31:D0:76:9C  -j  DROP&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;This will block any request fro the MAC address 00:17:31:D0:76:9C.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6989654455041185731-820256515473818167?l=adminwithlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adminwithlinux.blogspot.com/feeds/820256515473818167/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6989654455041185731&amp;postID=820256515473818167' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6989654455041185731/posts/default/820256515473818167'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6989654455041185731/posts/default/820256515473818167'/><link rel='alternate' type='text/html' href='http://adminwithlinux.blogspot.com/2008/08/packet-filtering-using-mac-address-in.html' title='Packet filtering using MAC address in Linux iptables'/><author><name>S Paul</name><uri>http://www.blogger.com/profile/11440842725491473616</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6989654455041185731.post-6063315322881264838</id><published>2008-08-01T12:49:00.003+05:30</published><updated>2008-08-01T12:56:41.032+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Fedora'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux Shell'/><title type='text'>Automatic timeout from Linux Shell after some second of inactivity</title><content type='html'>Yes this can be done using TMOUT variable in /etc/profile file.&lt;br /&gt;Add the following lines at the end of the file.&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#993300;"&gt;TMOUT=600&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#993300;"&gt;export TMOUT&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;This will automatically logout the opened session after 10min (10*60=600sec).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6989654455041185731-6063315322881264838?l=adminwithlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adminwithlinux.blogspot.com/feeds/6063315322881264838/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6989654455041185731&amp;postID=6063315322881264838' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6989654455041185731/posts/default/6063315322881264838'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6989654455041185731/posts/default/6063315322881264838'/><link rel='alternate' type='text/html' href='http://adminwithlinux.blogspot.com/2008/08/automatic-timeout-from-linux-shell.html' title='Automatic timeout from Linux Shell after some second of inactivity'/><author><name>S Paul</name><uri>http://www.blogger.com/profile/11440842725491473616</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6989654455041185731.post-7695216950180523188</id><published>2008-08-01T12:19:00.004+05:30</published><updated>2008-08-01T12:33:36.885+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Access Log'/><category scheme='http://www.blogger.com/atom/ns#' term='squid proxy'/><category scheme='http://www.blogger.com/atom/ns#' term='Fedora'/><title type='text'>Use SARG with Apache on Fedora to Analysis Squid access log from a remote location</title><content type='html'>SARG is a powerful tool to analyse and to generator report from Squid access log.&lt;br /&gt;Report can be generated in HTML format and it can be viewed from an Apache Web server easily.&lt;br /&gt;To install sarg use the command "yum install sarg"&lt;br /&gt;To use sarg, the command is sarg. Configuration file is "/etc/sarg/sarg.conf".&lt;br /&gt;See the man pages of sarg for varoius options.&lt;br /&gt;Once the report has been generated, I can place the report file(s) on Apache DocumentRoot.&lt;br /&gt;Then can view it from a remote location.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6989654455041185731-7695216950180523188?l=adminwithlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adminwithlinux.blogspot.com/feeds/7695216950180523188/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6989654455041185731&amp;postID=7695216950180523188' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6989654455041185731/posts/default/7695216950180523188'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6989654455041185731/posts/default/7695216950180523188'/><link rel='alternate' type='text/html' href='http://adminwithlinux.blogspot.com/2008/08/use-sarg-with-apache-on-fedora-to.html' title='Use SARG with Apache on Fedora to Analysis Squid access log from a remote location'/><author><name>S Paul</name><uri>http://www.blogger.com/profile/11440842725491473616</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6989654455041185731.post-1386249211951692418</id><published>2008-08-01T12:02:00.002+05:30</published><updated>2008-08-01T12:12:07.512+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Remote Connection'/><category scheme='http://www.blogger.com/atom/ns#' term='Fedora'/><title type='text'>Can not connect to Vncserver on Fedora 7 from Windows</title><content type='html'>On Fedora Server check whether vnc-server has been installed or not, using the command: &lt;strong&gt;rpm -qagrep "vnc"&lt;/strong&gt;&lt;br /&gt;If not, install it. Installation command "&lt;strong&gt;yum install vnc-server&lt;/strong&gt;".&lt;br /&gt;Not start vncserver. Command: &lt;strong&gt;vncserver&lt;/strong&gt;&lt;br /&gt;Try to connect from windows. Command: &lt;strong&gt;vncviewer IP_ADDRESS:1&lt;/strong&gt;&lt;br /&gt;If fails, check your Firewall settings. The port &lt;strong&gt;5901&lt;/strong&gt; must be unblocked.&lt;br /&gt;Configure Firewall using &lt;strong&gt;iptables to unblock the port 5901&lt;/strong&gt;.&lt;br /&gt;This will solve the problem.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6989654455041185731-1386249211951692418?l=adminwithlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adminwithlinux.blogspot.com/feeds/1386249211951692418/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6989654455041185731&amp;postID=1386249211951692418' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6989654455041185731/posts/default/1386249211951692418'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6989654455041185731/posts/default/1386249211951692418'/><link rel='alternate' type='text/html' href='http://adminwithlinux.blogspot.com/2008/08/can-not-connect-to-vncserver-on-fedora.html' title='Can not connect to Vncserver on Fedora 7 from Windows'/><author><name>S Paul</name><uri>http://www.blogger.com/profile/11440842725491473616</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6989654455041185731.post-407418587311626987</id><published>2008-07-25T11:59:00.005+05:30</published><updated>2008-07-26T11:33:44.198+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Install Media'/><category scheme='http://www.blogger.com/atom/ns#' term='Fedora'/><title type='text'>merge all CD ISO images into one DVD ISO image</title><content type='html'>1. Mount each cd in turn.&lt;br /&gt;If you just have the iso image you can mount it as a loopback filesystem:&lt;br /&gt;&lt;strong&gt;mount -o loop -t iso9660 &lt;your_iso_image&gt;/mnt/tmp&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;2. Copy all of the files to your hard drive.&lt;br /&gt;&lt;br /&gt;3. Use mkisofs to create a new ISO image&lt;br /&gt;&lt;strong&gt;mkisofs -o dvd_iso_image.iso /path/to/files&lt;/strong&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6989654455041185731-407418587311626987?l=adminwithlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adminwithlinux.blogspot.com/feeds/407418587311626987/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6989654455041185731&amp;postID=407418587311626987' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6989654455041185731/posts/default/407418587311626987'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6989654455041185731/posts/default/407418587311626987'/><link rel='alternate' type='text/html' href='http://adminwithlinux.blogspot.com/2008/07/merge-all-cd-iso-images-into-one-dvd.html' title='merge all CD ISO images into one DVD ISO image'/><author><name>S Paul</name><uri>http://www.blogger.com/profile/11440842725491473616</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6989654455041185731.post-5377801980587436630</id><published>2008-07-25T11:31:00.003+05:30</published><updated>2008-07-26T11:34:18.520+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Yahoo Messenger'/><title type='text'>Yahoo Messenger can not start -- Ports used by Yahoo! Messenger</title><content type='html'>&lt;strong&gt;&lt;span style="font-size:130%;color:#006600;"&gt;Ports used byYahoo! Messenger&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;Messenger services uses a variety of ports.&lt;br /&gt;&lt;br /&gt;Chat &amp;amp; Messenger ---&gt;&lt;br /&gt;TCP Port 5050: Client Access only&lt;br /&gt;&lt;br /&gt;Insider/Room Lists ---&gt;&lt;br /&gt;TCP Port 80: Client Access only&lt;br /&gt;&lt;br /&gt;File Transfer ---&gt;&lt;br /&gt;TCP Port 80: Server Access.&lt;br /&gt;Your ISP may block this port, as its used for web hosting.&lt;br /&gt;You can change port in Messenger, Preferences, File Transfer.&lt;br /&gt;&lt;br /&gt;Voice Chat ---&gt;&lt;br /&gt;UDP 5000-5010&lt;br /&gt;TCP 5000-5001: Client Access&lt;br /&gt;If UDP Fails, TCP will be used instead, see below.&lt;br /&gt;&lt;br /&gt;WebCam ---&gt;&lt;br /&gt;TCP Port 5100: Client Access&lt;br /&gt;&lt;br /&gt;Super Webcam ---&gt;&lt;br /&gt;TCP Port 5100: Server Access&lt;br /&gt;&lt;br /&gt;P2P Instant Messages ---&gt;&lt;br /&gt;TCP Port 5101: Server Access&lt;br /&gt;PMs between Buddys may not use the Yahoo! Server, but this is not a requirement.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6989654455041185731-5377801980587436630?l=adminwithlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adminwithlinux.blogspot.com/feeds/5377801980587436630/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6989654455041185731&amp;postID=5377801980587436630' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6989654455041185731/posts/default/5377801980587436630'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6989654455041185731/posts/default/5377801980587436630'/><link rel='alternate' type='text/html' href='http://adminwithlinux.blogspot.com/2008/07/yahoo-messenger-can-not-start-ports.html' title='Yahoo Messenger can not start -- Ports used by Yahoo! Messenger'/><author><name>S Paul</name><uri>http://www.blogger.com/profile/11440842725491473616</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6989654455041185731.post-3324588037931556101</id><published>2008-06-30T16:49:00.002+05:30</published><updated>2008-07-09T13:48:51.342+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Fedora'/><title type='text'>Install Fedora Live Image to USB Flash Drive</title><content type='html'>Installing Fedora Live Image to USB Flash Drive is now easy.&lt;br /&gt;Please follow the tutorials from the link below.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://fedoraproject.org/wiki/FedoraLiveCD/USBHowTo"&gt;http://fedoraproject.org/wiki/FedoraLiveCD/USBHowTo&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6989654455041185731-3324588037931556101?l=adminwithlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adminwithlinux.blogspot.com/feeds/3324588037931556101/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6989654455041185731&amp;postID=3324588037931556101' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6989654455041185731/posts/default/3324588037931556101'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6989654455041185731/posts/default/3324588037931556101'/><link rel='alternate' type='text/html' href='http://adminwithlinux.blogspot.com/2008/06/install-fedora-live-image-to-usb-flash.html' title='Install Fedora Live Image to USB Flash Drive'/><author><name>S Paul</name><uri>http://www.blogger.com/profile/11440842725491473616</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6989654455041185731.post-134536238727868222</id><published>2008-06-27T16:38:00.003+05:30</published><updated>2008-07-09T13:49:11.170+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='rpm or yum'/><title type='text'>Find out a package which a file belongs to</title><content type='html'>&lt;strong&gt;Find out a package which a file belongs to&lt;/strong&gt;&lt;br /&gt;If some files are deleted or corrupted from Linux system, such as /bin/bash, /bin/mount then how can I find these file belongs to what RPM?&lt;br /&gt;&lt;br /&gt;Just use the command "&lt;span style="color:#000099;"&gt;&lt;strong&gt;rpm -qf /bin/bash&lt;/strong&gt;&lt;/span&gt;" , this will report the name of the package (bash-3.2-9.fc7 in my system) which contaions the file.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6989654455041185731-134536238727868222?l=adminwithlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adminwithlinux.blogspot.com/feeds/134536238727868222/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6989654455041185731&amp;postID=134536238727868222' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6989654455041185731/posts/default/134536238727868222'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6989654455041185731/posts/default/134536238727868222'/><link rel='alternate' type='text/html' href='http://adminwithlinux.blogspot.com/2008/06/find-out-package-which-file-belongs-to.html' title='Find out a package which a file belongs to'/><author><name>S Paul</name><uri>http://www.blogger.com/profile/11440842725491473616</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6989654455041185731.post-2443742235517734780</id><published>2008-06-23T15:41:00.004+05:30</published><updated>2008-07-09T13:49:32.044+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Fedora'/><title type='text'>USB device identification using Linux/Fedora</title><content type='html'>&lt;span style="FONT-WEIGHT: bold"&gt;USB device identification using Linux/Fedora&lt;/span&gt;.&lt;br /&gt;A device has a Vendor ID (VID) &amp;amp; a Product ID (PID).&lt;br /&gt;&lt;br /&gt;To check,&lt;br /&gt;&lt;br /&gt;use the command "&lt;span style="FONT-WEIGHT: bold"&gt;tail -f /var/log/messages&lt;/span&gt;"&lt;br /&gt;&lt;br /&gt;This will show the last 10 lines of this file.&lt;br /&gt;&lt;br /&gt;Now plug the USB device to any usb port.&lt;br /&gt;&lt;br /&gt;Wait &amp;amp; see the changes on the conmmand screen.&lt;br /&gt;&lt;br /&gt;Now press Ctrl+C&lt;br /&gt;&lt;br /&gt;Then,use the command "&lt;span style="FONT-WEIGHT: bold"&gt;lsusb&lt;/span&gt;" to get the BUS ID &amp;amp; Device ID (VID &amp;amp; PID)&lt;br /&gt;.&lt;br /&gt;&lt;br /&gt;My Pen Drive has the following info,&lt;br /&gt;# lsusb&lt;br /&gt;Bus 005 Device 008: ID &lt;span style="FONT-WEIGHT: bold; COLOR: rgb(0,0,153)"&gt;0457&lt;/span&gt;&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(0,0,153)"&gt;:0151&lt;/span&gt; Silicon Integrated Systems Corp. Super Flash 1GB Flash Drive&lt;br /&gt;Bus 005 Device 001: ID 0000:0000&lt;br /&gt;Bus 004 Device 001: ID 0000:0000&lt;br /&gt;Bus 001 Device 001: ID 0000:0000&lt;br /&gt;Bus 003 Device 001: ID 0000:0000&lt;br /&gt;Bus 002 Device 001: ID 0000:0000&lt;br /&gt;&lt;br /&gt;Which tells VID =0457 &amp;amp; PID = 0151&lt;br /&gt;Visit &lt;a href="http://www.linux-usb.org/usb.ids"&gt;http://www.linux-usb.org/usb.ids&lt;/a&gt; to get updated list of supported USB devices with IDs.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6989654455041185731-2443742235517734780?l=adminwithlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adminwithlinux.blogspot.com/feeds/2443742235517734780/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6989654455041185731&amp;postID=2443742235517734780' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6989654455041185731/posts/default/2443742235517734780'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6989654455041185731/posts/default/2443742235517734780'/><link rel='alternate' type='text/html' href='http://adminwithlinux.blogspot.com/2008/06/usb-device-identification-using.html' title='USB device identification using Linux/Fedora'/><author><name>S Paul</name><uri>http://www.blogger.com/profile/11440842725491473616</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6989654455041185731.post-1098235431424189912</id><published>2008-06-19T14:06:00.008+05:30</published><updated>2008-07-09T13:50:00.834+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Custom OS'/><title type='text'>Build your own Operating System</title><content type='html'>Build your own Operating System:-&lt;br /&gt;The first step to build a new OS is, to build a new boot loader.&lt;br /&gt;The prerequisite is --- assembly language, Computer system booting.&lt;br /&gt;I have build my own small boot loader using "nasm" -- a free Linux assembler.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6989654455041185731-1098235431424189912?l=adminwithlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adminwithlinux.blogspot.com/feeds/1098235431424189912/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6989654455041185731&amp;postID=1098235431424189912' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6989654455041185731/posts/default/1098235431424189912'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6989654455041185731/posts/default/1098235431424189912'/><link rel='alternate' type='text/html' href='http://adminwithlinux.blogspot.com/2008/06/build-your-own-operating-system.html' title='Build your own Operating System'/><author><name>S Paul</name><uri>http://www.blogger.com/profile/11440842725491473616</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6989654455041185731.post-4872367992944508478</id><published>2008-06-11T11:31:00.005+05:30</published><updated>2009-09-23T13:13:09.384+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='tar and zip'/><title type='text'>Create zip file in linux command line</title><content type='html'>Create zip file in linux command line:-&lt;br /&gt;Example 1: The command "&lt;span style="color:#006600;"&gt;zip -r d1.zip d1&lt;/span&gt;" will compress all files &amp;amp; sub folreds under the folder d1, and create a single zip file d1.zip.&lt;br /&gt;Example 2: The command "&lt;span style="color:#006600;"&gt;zip all.zip a.c b.c c.c&lt;/span&gt;" will compress three files (a.c b.c &amp;amp; c.c) and crreate a single compressed file named all.zip.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6989654455041185731-4872367992944508478?l=adminwithlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adminwithlinux.blogspot.com/feeds/4872367992944508478/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6989654455041185731&amp;postID=4872367992944508478' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6989654455041185731/posts/default/4872367992944508478'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6989654455041185731/posts/default/4872367992944508478'/><link rel='alternate' type='text/html' href='http://adminwithlinux.blogspot.com/2008/06/create-zip-file-in-linux-command-line.html' title='Create zip file in linux command line'/><author><name>S Paul</name><uri>http://www.blogger.com/profile/11440842725491473616</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6989654455041185731.post-361498963428478398</id><published>2008-03-20T12:17:00.004+05:30</published><updated>2008-07-09T13:51:19.791+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux Desktop'/><category scheme='http://www.blogger.com/atom/ns#' term='Fedora'/><title type='text'>switchdesk -- Changing Desktop Environment in Linux</title><content type='html'>Changing Desktop Environment in Linux:&lt;br /&gt;using switchdesk:&lt;br /&gt;Step1: Login as "root" user.&lt;br /&gt;Step2: use the command "&lt;strong&gt;&lt;span style="color:#009900;"&gt;switchdesk &lt;/span&gt;&lt;span style="color:#009900;"&gt;KDE&lt;/span&gt;&lt;/strong&gt;" to change in KDE mode.&lt;br /&gt;OR use the command "&lt;strong&gt;&lt;span style="color:#009900;"&gt;switchdesk GNOME&lt;/span&gt;&lt;/strong&gt;" to change in GNOME mode.&lt;br /&gt;If switchdesk command fails??&lt;br /&gt;Install switchdesk rpm from CD/DVD. OR use the command "&lt;span style="color:#009900;"&gt;yum install switchdesk&lt;/span&gt;" to install it from internet.&lt;br /&gt;Thats All.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6989654455041185731-361498963428478398?l=adminwithlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adminwithlinux.blogspot.com/feeds/361498963428478398/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6989654455041185731&amp;postID=361498963428478398' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6989654455041185731/posts/default/361498963428478398'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6989654455041185731/posts/default/361498963428478398'/><link rel='alternate' type='text/html' href='http://adminwithlinux.blogspot.com/2008/03/changing-desktop-environment-in-linux.html' title='switchdesk -- Changing Desktop Environment in Linux'/><author><name>S Paul</name><uri>http://www.blogger.com/profile/11440842725491473616</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6989654455041185731.post-5624014468302707455</id><published>2008-03-19T17:02:00.003+05:30</published><updated>2008-07-09T13:51:39.858+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux Desktop'/><category scheme='http://www.blogger.com/atom/ns#' term='Fedora'/><title type='text'>Fail to start Linux/Fedora in GUI mode .....</title><content type='html'>Fail to start Linux/Fedora in GUI mode&lt;br /&gt;Step 1: Start your computer in runlevel one (1).&lt;br /&gt;Step 2: change the line&lt;br /&gt;id:&lt;span style="color:#ff0000;"&gt;&lt;strong&gt;5&lt;/strong&gt;&lt;/span&gt;:initdefault:&lt;br /&gt;as&lt;br /&gt;id:&lt;span style="color:#009900;"&gt;&lt;strong&gt;3&lt;/strong&gt;&lt;/span&gt;:initdefault:&lt;br /&gt;&lt;br /&gt;in /etc/inittab file, so that the system can start in text mode and reboot the system using "reboot" command.&lt;br /&gt;step 3:&lt;br /&gt;Open the file "/etc/X11/xorg.conf " in a text editor (vi).&lt;br /&gt;Change the color &lt;strong&gt;&lt;span style="color:#009900;"&gt;Depth&lt;/span&gt;&lt;/strong&gt; to &lt;span style="color:#009900;"&gt;&lt;strong&gt;15&lt;/strong&gt;&lt;/span&gt; in each "&lt;span style="color:#009900;"&gt;&lt;strong&gt;Display&lt;/strong&gt;&lt;/span&gt;" SubSection.&lt;br /&gt;Save the file.&lt;br /&gt;Now use the command "&lt;span style="color:#009900;"&gt;&lt;strong&gt;startx&lt;/strong&gt;&lt;/span&gt;" &amp;amp; enjiy.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6989654455041185731-5624014468302707455?l=adminwithlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adminwithlinux.blogspot.com/feeds/5624014468302707455/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6989654455041185731&amp;postID=5624014468302707455' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6989654455041185731/posts/default/5624014468302707455'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6989654455041185731/posts/default/5624014468302707455'/><link rel='alternate' type='text/html' href='http://adminwithlinux.blogspot.com/2008/03/fail-to-start-linuxfedora-in-gui-mode.html' title='Fail to start Linux/Fedora in GUI mode .....'/><author><name>S Paul</name><uri>http://www.blogger.com/profile/11440842725491473616</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6989654455041185731.post-3636362430589685756</id><published>2008-03-07T10:44:00.000+05:30</published><updated>2009-03-12T10:49:54.622+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='squid proxy'/><category scheme='http://www.blogger.com/atom/ns#' term='Fedora'/><title type='text'>block any URL or kyeword in squid</title><content type='html'>Block any URL or keyword in squid:&lt;br /&gt;Create a text file "&lt;strong&gt;list.txt&lt;/strong&gt;" in "&lt;strong&gt;/etc/squid/&lt;/strong&gt;" directory.&lt;br /&gt;Put the URLs or keywords in the file. One URL or keyword in a single line.&lt;br /&gt;Put an ACL in "&lt;strong&gt;/etc/squid/squid.conf&lt;/strong&gt;" like...&lt;br /&gt;&lt;span style="color:#993300;"&gt;&lt;strong&gt;acl bannedurls url_regex&lt;/strong&gt; &lt;/span&gt;&lt;span style="color:#993300;"&gt;&lt;strong&gt;-i&lt;/strong&gt;&lt;strong&gt; "/etc/squid/list.txt"&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;Now put &lt;strong&gt;&lt;span style="color:#993300;"&gt;!listurls&lt;/span&gt;&lt;/strong&gt; at the end of the acl "&lt;strong&gt;&lt;span style="color:#993300;"&gt;http_access allow .....&lt;/span&gt;&lt;/strong&gt;"&lt;br /&gt;Then restart squid daemon "&lt;strong&gt;&lt;span style="color:#993300;"&gt;service squid restart&lt;/span&gt;&lt;/strong&gt;".&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6989654455041185731-3636362430589685756?l=adminwithlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adminwithlinux.blogspot.com/feeds/3636362430589685756/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6989654455041185731&amp;postID=3636362430589685756' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6989654455041185731/posts/default/3636362430589685756'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6989654455041185731/posts/default/3636362430589685756'/><link rel='alternate' type='text/html' href='http://adminwithlinux.blogspot.com/2009/03/block-any-url-or-kyeword-in-squid.html' title='block any URL or kyeword in squid'/><author><name>S Paul</name><uri>http://www.blogger.com/profile/11440842725491473616</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
