<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Linux Ask! &#187; Red Hat</title>
	<atom:link href="http://www.linuxask.com/topics/distribution-specific/red-hat/feed" rel="self" type="application/rss+xml" />
	<link>http://www.linuxask.com</link>
	<description>Linux Ask! is a Q &#38; A web site specific for Linux related questions such as how to use common Linux commands.</description>
	<lastBuildDate>Tue, 05 May 2015 07:15:40 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.9.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>Check which Apache modules are loaded</title>
		<link>http://www.linuxask.com/questions/check-which-apache-modules-are-loaded</link>
		<comments>http://www.linuxask.com/questions/check-which-apache-modules-are-loaded#comments</comments>
		<pubDate>Sat, 03 Jul 2010 04:07:03 +0000</pubDate>
		<dc:creator><![CDATA[Linux Ask!]]></dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Red Hat]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.linuxask.com/?p=1821</guid>
		<description><![CDATA[Check which Apache modules are loaded Answer: To check which Apache modules are loaded, in RHEL/Fedora/CentOS, type # httpd -M In Debian/Ubuntu # sudo apache2ctl -M<div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href="http://www.linuxask.com/questions/how-to-tell-if-apache-2-is-using-prefork-or-worker-mpm" rel="bookmark" title="How to tell if Apache 2 is using prefork or worker MPM?">How to tell if Apache 2 is using prefork or worker MPM? </a></li>
<li><a href="http://www.linuxask.com/questions/remove-default-fedorarhelcentos-default-apache-welcome-page" rel="bookmark" title="Remove default Fedora/RHEL/CentOS default Apache welcome page">Remove default Fedora/RHEL/CentOS default Apache welcome page </a></li>
<li><a href="http://www.linuxask.com/questions/check-the-number-of-active-apache-connection" rel="bookmark" title="Check the number of active Apache connection">Check the number of active Apache connection </a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<p>Check which Apache modules are loaded</p>
<p><strong>Answer:</strong></p>
<p>To check which <strong>Apache </strong> modules are loaded, in <strong>RHEL/Fedora/CentOS</strong>, type</p>
<p><code># httpd -M</code></p>
<p>In <strong>Debian/Ubuntu</strong></p>
<p><code># sudo apache2ctl -M </code></p>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href="http://www.linuxask.com/questions/how-to-tell-if-apache-2-is-using-prefork-or-worker-mpm" rel="bookmark" title="How to tell if Apache 2 is using prefork or worker MPM?">How to tell if Apache 2 is using prefork or worker MPM? </a></li>
<li><a href="http://www.linuxask.com/questions/remove-default-fedorarhelcentos-default-apache-welcome-page" rel="bookmark" title="Remove default Fedora/RHEL/CentOS default Apache welcome page">Remove default Fedora/RHEL/CentOS default Apache welcome page </a></li>
<li><a href="http://www.linuxask.com/questions/check-the-number-of-active-apache-connection" rel="bookmark" title="Check the number of active Apache connection">Check the number of active Apache connection </a></li>
</ol></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxask.com/questions/check-which-apache-modules-are-loaded/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to tell if Apache 2 is using prefork or worker MPM?</title>
		<link>http://www.linuxask.com/questions/how-to-tell-if-apache-2-is-using-prefork-or-worker-mpm</link>
		<comments>http://www.linuxask.com/questions/how-to-tell-if-apache-2-is-using-prefork-or-worker-mpm#comments</comments>
		<pubDate>Thu, 15 Apr 2010 14:32:41 +0000</pubDate>
		<dc:creator><![CDATA[Linux Ask!]]></dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Red Hat]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.linuxask.com/?p=1592</guid>
		<description><![CDATA[How to tell if Apache 2 is using prefork or worker MPM? Answer: If you are running in Red Hat Linux/ Fedora/ CentOS # httpd -V .... Architecture: 64-bit Server MPM: Prefork threaded: no forked: yes (variable process count) ... If you are running in Debian/ Ubuntu, you can use apache2 -V, which get the <a href='http://www.linuxask.com/questions/how-to-tell-if-apache-2-is-using-prefork-or-worker-mpm' class='excerpt-more'>[...]</a><div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href="http://www.linuxask.com/questions/check-which-apache-modules-are-loaded" rel="bookmark" title="Check which Apache modules are loaded">Check which Apache modules are loaded </a></li>
<li><a href="http://www.linuxask.com/questions/remove-default-debianubuntu-default-apache-welcome-page" rel="bookmark" title="Remove default Debian/Ubuntu default Apache welcome page">Remove default Debian/Ubuntu default Apache welcome page </a></li>
<li><a href="http://www.linuxask.com/questions/install-gd-library-for-php-on-linux" rel="bookmark" title="Install GD Library for PHP on Linux">Install GD Library for PHP on Linux </a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<p>How to tell if Apache 2 is using prefork or worker MPM?</p>
<p><strong>Answer:</strong></p>
<p>If you are running in Red Hat Linux/ Fedora/ CentOS</p>
<pre><code># httpd -V
....
Architecture:   64-bit
Server MPM:     Prefork
  threaded:     no
    forked:     yes (variable process count)
...
</code></pre>
<p>If you are running in Debian/ Ubuntu, you can use <strong>apache2 -V</strong>, which get the same output as above.</p>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href="http://www.linuxask.com/questions/check-which-apache-modules-are-loaded" rel="bookmark" title="Check which Apache modules are loaded">Check which Apache modules are loaded </a></li>
<li><a href="http://www.linuxask.com/questions/remove-default-debianubuntu-default-apache-welcome-page" rel="bookmark" title="Remove default Debian/Ubuntu default Apache welcome page">Remove default Debian/Ubuntu default Apache welcome page </a></li>
<li><a href="http://www.linuxask.com/questions/install-gd-library-for-php-on-linux" rel="bookmark" title="Install GD Library for PHP on Linux">Install GD Library for PHP on Linux </a></li>
</ol></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxask.com/questions/how-to-tell-if-apache-2-is-using-prefork-or-worker-mpm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Immediate time synchronization in RHEL/CentOS/Fedora</title>
		<link>http://www.linuxask.com/questions/immediate-time-synchronization-in-rhelcentosfedora</link>
		<comments>http://www.linuxask.com/questions/immediate-time-synchronization-in-rhelcentosfedora#comments</comments>
		<pubDate>Fri, 12 Feb 2010 10:23:09 +0000</pubDate>
		<dc:creator><![CDATA[Linux Ask!]]></dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Commands]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Red Hat]]></category>
		<category><![CDATA[command]]></category>

		<guid isPermaLink="false">http://www.linuxask.com/?p=1182</guid>
		<description><![CDATA[Immediate time synchronization in RHEL/CentOS/Fedora Answer: If you want to sync the system time without installing ntpd package, rdate is an older way but it will do what you need. # rdate -s ntp0.cornell.edu You can find a list of time servers at: http://pank.org/blog/2004/08/time-server-list.html<div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href="http://www.linuxask.com/questions/remove-default-fedorarhelcentos-default-apache-welcome-page" rel="bookmark" title="Remove default Fedora/RHEL/CentOS default Apache welcome page">Remove default Fedora/RHEL/CentOS default Apache welcome page </a></li>
<li><a href="http://www.linuxask.com/questions/setup-time-synchronisation-in-centos" rel="bookmark" title="Setup time synchronisation in CentOS">Setup time synchronisation in CentOS </a></li>
<li><a href="http://www.linuxask.com/questions/restart-networking-in-fedoracentosred-hat-linux" rel="bookmark" title="Restart networking in Fedora/CentOS/Red Hat Linux">Restart networking in Fedora/CentOS/Red Hat Linux </a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<p>Immediate time synchronization in RHEL/CentOS/Fedora</p>
<p><strong>Answer:</strong></p>
<p>If you want to sync the system time without installing <strong>ntpd </strong>package, <strong>rdate </strong>is an older way but it will do what you need.</p>
<pre><code># rdate -s ntp0.cornell.edu</code></pre>
<p>You can find a list of time servers at: <a href='http://pank.org/blog/2004/08/time-server-list.html'>http://pank.org/blog/2004/08/time-server-list.html</a></p>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href="http://www.linuxask.com/questions/remove-default-fedorarhelcentos-default-apache-welcome-page" rel="bookmark" title="Remove default Fedora/RHEL/CentOS default Apache welcome page">Remove default Fedora/RHEL/CentOS default Apache welcome page </a></li>
<li><a href="http://www.linuxask.com/questions/setup-time-synchronisation-in-centos" rel="bookmark" title="Setup time synchronisation in CentOS">Setup time synchronisation in CentOS </a></li>
<li><a href="http://www.linuxask.com/questions/restart-networking-in-fedoracentosred-hat-linux" rel="bookmark" title="Restart networking in Fedora/CentOS/Red Hat Linux">Restart networking in Fedora/CentOS/Red Hat Linux </a></li>
</ol></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxask.com/questions/immediate-time-synchronization-in-rhelcentosfedora/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remove package with Yum</title>
		<link>http://www.linuxask.com/questions/remove-package-with-yum</link>
		<comments>http://www.linuxask.com/questions/remove-package-with-yum#comments</comments>
		<pubDate>Sun, 10 Jan 2010 10:44:12 +0000</pubDate>
		<dc:creator><![CDATA[Linux Ask!]]></dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Commands]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Red Hat]]></category>
		<category><![CDATA[yum]]></category>

		<guid isPermaLink="false">http://www.linuxask.com/?p=673</guid>
		<description><![CDATA[Remove package with Yum Answer: You can use the following command to remove packages using yum, e.g. remove Firefox yum remove firefox To remove multiple packages, try yum remove firefox gedit<div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href="http://www.linuxask.com/questions/how-to-remove-installed-package-using-rpm" rel="bookmark" title="How to remove installed package using RPM?">How to remove installed package using RPM? </a></li>
<li><a href="http://www.linuxask.com/questions/how-to-install-a-rpm-package" rel="bookmark" title="How to install a RPM package">How to install a RPM package </a></li>
<li><a href="http://www.linuxask.com/questions/how-to-upgrade-an-installed-rpm-package" rel="bookmark" title="How to upgrade an installed RPM package">How to upgrade an installed RPM package </a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<p>Remove package with Yum</p>
<p><strong>Answer:</strong></p>
<p>You can use the following command to remove packages using yum,</p>
<p>e.g. remove Firefox</p>
<p><code> yum remove firefox </code></p>
<p>To remove multiple packages, try</p>
<p><code> yum remove firefox gedit </code></p>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href="http://www.linuxask.com/questions/how-to-remove-installed-package-using-rpm" rel="bookmark" title="How to remove installed package using RPM?">How to remove installed package using RPM? </a></li>
<li><a href="http://www.linuxask.com/questions/how-to-install-a-rpm-package" rel="bookmark" title="How to install a RPM package">How to install a RPM package </a></li>
<li><a href="http://www.linuxask.com/questions/how-to-upgrade-an-installed-rpm-package" rel="bookmark" title="How to upgrade an installed RPM package">How to upgrade an installed RPM package </a></li>
</ol></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxask.com/questions/remove-package-with-yum/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to remove installed package using RPM?</title>
		<link>http://www.linuxask.com/questions/how-to-remove-installed-package-using-rpm</link>
		<comments>http://www.linuxask.com/questions/how-to-remove-installed-package-using-rpm#comments</comments>
		<pubDate>Sun, 10 Jan 2010 10:40:42 +0000</pubDate>
		<dc:creator><![CDATA[Linux Ask!]]></dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Commands]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Red Hat]]></category>
		<category><![CDATA[rpm]]></category>

		<guid isPermaLink="false">http://www.linuxask.com/?p=669</guid>
		<description><![CDATA[How to remove installed package using RPM? Answer: To remove installed package using rpm, use the following command e.g. remove Firefox rpm -e firefox To remove multiple packages, try rpm -e firefox gedit<div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href="http://www.linuxask.com/questions/remove-package-with-yum" rel="bookmark" title="Remove package with Yum">Remove package with Yum </a></li>
<li><a href="http://www.linuxask.com/questions/how-to-upgrade-an-installed-rpm-package" rel="bookmark" title="How to upgrade an installed RPM package">How to upgrade an installed RPM package </a></li>
<li><a href="http://www.linuxask.com/questions/how-to-check-if-a-rpm-package-is-already-installed" rel="bookmark" title="How to check if a rpm package is already installed?">How to check if a rpm package is already installed? </a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<p>How to remove installed package using RPM?</p>
<p><strong>Answer:</strong></p>
<p>To remove installed package using rpm, use the following command</p>
<p>e.g. remove Firefox</p>
<p><code> rpm -e firefox </code></p>
<p>To remove multiple packages, try</p>
<p><code> rpm -e firefox  gedit</code></p>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href="http://www.linuxask.com/questions/remove-package-with-yum" rel="bookmark" title="Remove package with Yum">Remove package with Yum </a></li>
<li><a href="http://www.linuxask.com/questions/how-to-upgrade-an-installed-rpm-package" rel="bookmark" title="How to upgrade an installed RPM package">How to upgrade an installed RPM package </a></li>
<li><a href="http://www.linuxask.com/questions/how-to-check-if-a-rpm-package-is-already-installed" rel="bookmark" title="How to check if a rpm package is already installed?">How to check if a rpm package is already installed? </a></li>
</ol></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxask.com/questions/how-to-remove-installed-package-using-rpm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to install bulk packages using yum with groupinstall?</title>
		<link>http://www.linuxask.com/questions/how-to-install-bulk-packages-using-yum-with-groupinstall</link>
		<comments>http://www.linuxask.com/questions/how-to-install-bulk-packages-using-yum-with-groupinstall#comments</comments>
		<pubDate>Fri, 01 Jan 2010 05:28:42 +0000</pubDate>
		<dc:creator><![CDATA[Linux Ask!]]></dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Commands]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Red Hat]]></category>
		<category><![CDATA[yum]]></category>

		<guid isPermaLink="false">http://www.linuxask.com/?p=386</guid>
		<description><![CDATA[How to install bulk packages using yum with groupinstall? Answer: Sometimes, if you forgot to select "Development Tools" during Fedora/CentOS installations, you can add them later by using one command yum groupinstall "Development Tools" Which save you a lot of times from installing the needed packages one by one. To see what options are available <a href='http://www.linuxask.com/questions/how-to-install-bulk-packages-using-yum-with-groupinstall' class='excerpt-more'>[...]</a><div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href="http://www.linuxask.com/questions/upgrade-packages-in-ubuntu" rel="bookmark" title="Upgrade Packages in Ubuntu">Upgrade Packages in Ubuntu </a></li>
<li><a href="http://www.linuxask.com/questions/erase-old-downloaded-packages-from-apt-gets-cache" rel="bookmark" title="Erase old downloaded packages from apt-get&#8217;s cache">Erase old downloaded packages from apt-get&#8217;s cache </a></li>
<li><a href="http://www.linuxask.com/questions/remove-package-with-yum" rel="bookmark" title="Remove package with Yum">Remove package with Yum </a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<p>How to install bulk packages using yum with groupinstall?</p>
<p><strong>Answer: </strong></p>
<p>Sometimes, if you forgot to select "<strong>Development Tools</strong>" during Fedora/CentOS installations, you can add them later by using one command</p>
<p><code>yum groupinstall "Development Tools"</code></p>
<p>Which save you a lot of times from installing the needed packages one by one.</p>
<p>To see what options are available for <strong>groupinstall</strong>, try</p>
<p><code>yum grouplist</code></p>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href="http://www.linuxask.com/questions/upgrade-packages-in-ubuntu" rel="bookmark" title="Upgrade Packages in Ubuntu">Upgrade Packages in Ubuntu </a></li>
<li><a href="http://www.linuxask.com/questions/erase-old-downloaded-packages-from-apt-gets-cache" rel="bookmark" title="Erase old downloaded packages from apt-get&#8217;s cache">Erase old downloaded packages from apt-get&#8217;s cache </a></li>
<li><a href="http://www.linuxask.com/questions/remove-package-with-yum" rel="bookmark" title="Remove package with Yum">Remove package with Yum </a></li>
</ol></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxask.com/questions/how-to-install-bulk-packages-using-yum-with-groupinstall/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to extract RPM package without installing it</title>
		<link>http://www.linuxask.com/questions/how-to-extract-rpm-package-without-installing-it</link>
		<comments>http://www.linuxask.com/questions/how-to-extract-rpm-package-without-installing-it#comments</comments>
		<pubDate>Thu, 31 Dec 2009 16:20:22 +0000</pubDate>
		<dc:creator><![CDATA[Linux Ask!]]></dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Commands]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Red Hat]]></category>
		<category><![CDATA[rpm]]></category>

		<guid isPermaLink="false">http://www.linuxask.com/?p=298</guid>
		<description><![CDATA[How to extract RPM package without installing it Answer: Assume you have foo.rpm, type the following command to extract the rpm's contents rpm2cpio foo.rpm &#124; cpio -idmv<div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href="http://www.linuxask.com/questions/how-to-install-a-rpm-package" rel="bookmark" title="How to install a RPM package">How to install a RPM package </a></li>
<li><a href="http://www.linuxask.com/questions/how-to-upgrade-an-installed-rpm-package" rel="bookmark" title="How to upgrade an installed RPM package">How to upgrade an installed RPM package </a></li>
<li><a href="http://www.linuxask.com/questions/how-to-remove-installed-package-using-rpm" rel="bookmark" title="How to remove installed package using RPM?">How to remove installed package using RPM? </a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<p>How to extract RPM package without installing it </p>
<p><strong>Answer:</strong></p>
<p>Assume you have foo.rpm, type the following command to extract the rpm's contents</p>
<p><code>rpm2cpio foo.rpm | cpio -idmv</code></p>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href="http://www.linuxask.com/questions/how-to-install-a-rpm-package" rel="bookmark" title="How to install a RPM package">How to install a RPM package </a></li>
<li><a href="http://www.linuxask.com/questions/how-to-upgrade-an-installed-rpm-package" rel="bookmark" title="How to upgrade an installed RPM package">How to upgrade an installed RPM package </a></li>
<li><a href="http://www.linuxask.com/questions/how-to-remove-installed-package-using-rpm" rel="bookmark" title="How to remove installed package using RPM?">How to remove installed package using RPM? </a></li>
</ol></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxask.com/questions/how-to-extract-rpm-package-without-installing-it/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Block a remote IP Address using iptables</title>
		<link>http://www.linuxask.com/questions/block-a-remote-ip-address-using-iptables</link>
		<comments>http://www.linuxask.com/questions/block-a-remote-ip-address-using-iptables#comments</comments>
		<pubDate>Sat, 19 Dec 2009 17:32:10 +0000</pubDate>
		<dc:creator><![CDATA[Linux Ask!]]></dc:creator>
				<category><![CDATA[Commands]]></category>
		<category><![CDATA[Linux Security]]></category>
		<category><![CDATA[Red Hat]]></category>
		<category><![CDATA[iptables]]></category>
		<category><![CDATA[network]]></category>

		<guid isPermaLink="false">http://www.linuxask.com/?p=63</guid>
		<description><![CDATA[Ban a remote IP Address using iptables Answer: iptables -A INPUT -s IP -j DROP Replace IP with the actual remote IP address. Note that the blocking will be lost when server reboot. You would need to save the rule(s) into a script and reload when server reboot.<div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href="http://www.linuxask.com/questions/allow-a-remote-ip-for-incoming-connection-in-ufw-uncomplicated-firewall" rel="bookmark" title="Allow a remote IP for incoming connection in UFW (Uncomplicated firewall)">Allow a remote IP for incoming connection in UFW (Uncomplicated firewall) </a></li>
<li><a href="http://www.linuxask.com/questions/edit-a-remote-file-with-vim-over-ssh" rel="bookmark" title="Edit a remote file with vim over SSH">Edit a remote file with vim over SSH </a></li>
<li><a href="http://www.linuxask.com/questions/how-to-transfer-your-identity-pub-to-the-remote-machine%e2%80%99s-authorized_keys" rel="bookmark" title="How to transfer your identity.pub to the remote machine’s authorized_keys?">How to transfer your identity.pub to the remote machine’s authorized_keys? </a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<p>Ban a remote IP Address using iptables </p>
<p><strong>Answer:</strong></p>
<p><code>iptables -A INPUT -s IP -j DROP<br />
</code></p>
<p>Replace IP with the actual remote IP address.</p>
<p>Note that the blocking will be lost when server reboot. You would need to save the rule(s) into a script and reload when server reboot. </p>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href="http://www.linuxask.com/questions/allow-a-remote-ip-for-incoming-connection-in-ufw-uncomplicated-firewall" rel="bookmark" title="Allow a remote IP for incoming connection in UFW (Uncomplicated firewall)">Allow a remote IP for incoming connection in UFW (Uncomplicated firewall) </a></li>
<li><a href="http://www.linuxask.com/questions/edit-a-remote-file-with-vim-over-ssh" rel="bookmark" title="Edit a remote file with vim over SSH">Edit a remote file with vim over SSH </a></li>
<li><a href="http://www.linuxask.com/questions/how-to-transfer-your-identity-pub-to-the-remote-machine%e2%80%99s-authorized_keys" rel="bookmark" title="How to transfer your identity.pub to the remote machine’s authorized_keys?">How to transfer your identity.pub to the remote machine’s authorized_keys? </a></li>
</ol></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxask.com/questions/block-a-remote-ip-address-using-iptables/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to turn off SELinux?</title>
		<link>http://www.linuxask.com/questions/how-to-turn-off-selinux</link>
		<comments>http://www.linuxask.com/questions/how-to-turn-off-selinux#comments</comments>
		<pubDate>Sat, 19 Dec 2009 15:36:17 +0000</pubDate>
		<dc:creator><![CDATA[Linux Ask!]]></dc:creator>
				<category><![CDATA[Advanced Linux]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux Security]]></category>
		<category><![CDATA[Red Hat]]></category>
		<category><![CDATA[redhat]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[selinux]]></category>

		<guid isPermaLink="false">http://www.linuxask.com/?p=22</guid>
		<description><![CDATA[How to turn off SELinux? Answer: (pick either one) 1. Change the run-time configuration (won't take effect when you reboot) # sestatus informs you of the two permission mode statuses, # the current mode in runtime and the mode from the config # file referenced during boot: sestatus &#124; grep -i mode Current mode: enforcing <a href='http://www.linuxask.com/questions/how-to-turn-off-selinux' class='excerpt-more'>[...]</a><div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href="http://www.linuxask.com/questions/turn-off-directory-listing-in-apache" rel="bookmark" title="Turn off directory listing in Apache">Turn off directory listing in Apache </a></li>
<li><a href="http://www.linuxask.com/questions/disable-ipv6-in-linux" rel="bookmark" title="Disable IPv6 in Linux">Disable IPv6 in Linux </a></li>
<li><a href="http://www.linuxask.com/questions/turn-off-pc-speaker-in-ubuntu-linux" rel="bookmark" title="Turn off PC speaker in Ubuntu Linux">Turn off PC speaker in Ubuntu Linux </a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<p>How to turn off SELinux?</p>
<p><strong>Answer: (pick either one)</strong></p>
<p>1. Change the run-time configuration (won't take effect when you reboot)</p>
<p><code># sestatus informs you of the two permission mode statuses,<br />
# the current mode in runtime and the mode from the config<br />
# file referenced during boot:</p>
<p>sestatus | grep -i mode<br />
Current mode:           enforcing<br />
Mode from config file:  enforcing</p>
<p># Changing the runtime enforcement doesn't effect the<br />
# boot time configuration:</p>
<p>setenforce 1<br />
sestatus | grep -i mode<br />
Current mode:           permissive<br />
Mode from config file:  enforcing<br />
</code></p>
<p>2. Turn off SELinux permanently, use the following command </p>
<p><code>system-config-securitylevel<br />
</code></p>
<p>Source: <a href="http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/selinux-guide/rhlcommon-section-0068.html">http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/selinux-guide/rhlcommon-section-0068.html</a></p>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href="http://www.linuxask.com/questions/turn-off-directory-listing-in-apache" rel="bookmark" title="Turn off directory listing in Apache">Turn off directory listing in Apache </a></li>
<li><a href="http://www.linuxask.com/questions/disable-ipv6-in-linux" rel="bookmark" title="Disable IPv6 in Linux">Disable IPv6 in Linux </a></li>
<li><a href="http://www.linuxask.com/questions/turn-off-pc-speaker-in-ubuntu-linux" rel="bookmark" title="Turn off PC speaker in Ubuntu Linux">Turn off PC speaker in Ubuntu Linux </a></li>
</ol></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxask.com/questions/how-to-turn-off-selinux/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to check if a rpm package is already installed?</title>
		<link>http://www.linuxask.com/questions/how-to-check-if-a-rpm-package-is-already-installed</link>
		<comments>http://www.linuxask.com/questions/how-to-check-if-a-rpm-package-is-already-installed#comments</comments>
		<pubDate>Mon, 30 Nov 2009 00:00:00 +0000</pubDate>
		<dc:creator><![CDATA[Linux Ask!]]></dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Red Hat]]></category>
		<category><![CDATA[rpm]]></category>

		<guid isPermaLink="false">http://www.linuxask.com/?p=239</guid>
		<description><![CDATA[How to check if a rpm package is already installed? Answer: To query if a package is installed, e.g. rpm -q httpd To display package information, e.g. rpm -qi httpd<div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href="http://www.linuxask.com/questions/how-to-upgrade-an-installed-rpm-package" rel="bookmark" title="How to upgrade an installed RPM package">How to upgrade an installed RPM package </a></li>
<li><a href="http://www.linuxask.com/questions/how-to-remove-installed-package-using-rpm" rel="bookmark" title="How to remove installed package using RPM?">How to remove installed package using RPM? </a></li>
<li><a href="http://www.linuxask.com/questions/how-to-check-if-a-perl-module-is-already-installed" rel="bookmark" title="How to check if a Perl module is already installed?">How to check if a Perl module is already installed? </a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<p>How to check if a rpm package is already installed?</p>
<p><strong>Answer:</strong></p>
<p>To query if a package is installed, e.g. </p>
<p><code>rpm -q httpd<br />
</code></p>
<p>To display package information, e.g. </p>
<p><code>rpm -qi httpd<br />
</code></p>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href="http://www.linuxask.com/questions/how-to-upgrade-an-installed-rpm-package" rel="bookmark" title="How to upgrade an installed RPM package">How to upgrade an installed RPM package </a></li>
<li><a href="http://www.linuxask.com/questions/how-to-remove-installed-package-using-rpm" rel="bookmark" title="How to remove installed package using RPM?">How to remove installed package using RPM? </a></li>
<li><a href="http://www.linuxask.com/questions/how-to-check-if-a-perl-module-is-already-installed" rel="bookmark" title="How to check if a Perl module is already installed?">How to check if a Perl module is already installed? </a></li>
</ol></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxask.com/questions/how-to-check-if-a-rpm-package-is-already-installed/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
