<?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>Web Server Hacks Blog - Hacks for Dedicated/VPS Servers, SSH, and Plesk &#187; linux</title>
	<atom:link href="http://webserverhacks.com/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://webserverhacks.com</link>
	<description>Hacks for Dedicated/VPS Servers, SSH, and Plesk</description>
	<lastBuildDate>Wed, 14 Mar 2012 22:35:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>How to Restart Networking on Linux!</title>
		<link>http://webserverhacks.com/web-server-hacks/how-to-restart-networking-on-linux/</link>
		<comments>http://webserverhacks.com/web-server-hacks/how-to-restart-networking-on-linux/#comments</comments>
		<pubDate>Sat, 02 Jul 2011 14:48:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux Commands]]></category>
		<category><![CDATA[Web Server Hacks]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[restart networking]]></category>

		<guid isPermaLink="false">http://webserverhacks.com/?p=141</guid>
		<description><![CDATA[Here&#8217;s how to restart networking services on your linux webserver.  I find that especially with VPS web servers, there are times where your network gets blocked completely. To reset, get into SSH via console on your VPS web server company&#8217;s control panel. Type: service network stop then service network start For some web servers, you might have to use: /sbin/service network stop and /sbin/service network start Wait like 5 seconds and see if you can ping the outside world: ping google.com If you get connected, you should be good to go. This can save lots of time restarting a faulty network yourself instead of opening a support ticket and waiting forever.]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s how to restart networking services on your linux webserver.  I find that especially with VPS web servers, there are times where your network gets blocked completely.</p>
<p>To reset, get into SSH via console on your VPS web server company&#8217;s control panel.</p>
<p>Type:</p>
<p><strong>service network stop</strong></p>
<p>then</p>
<p><strong>service network start</strong></p>
<p>For some web servers, you might have to use:</p>
<p><strong>/sbin/service network stop</strong></p>
<p>and</p>
<p><strong>/sbin/service network start</strong></p>
<p>Wait like 5 seconds and see if you can ping the outside world:</p>
<p><strong>ping google.com</strong></p>
<p>If you get connected, you should be good to go.</p>
<p>This can save lots of time restarting a faulty network yourself instead of opening a support ticket and waiting forever.</p>
]]></content:encoded>
			<wfw:commentRss>http://webserverhacks.com/web-server-hacks/how-to-restart-networking-on-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simple Firewall for CentOS Linux!</title>
		<link>http://webserverhacks.com/web-server-hacks/simple-firewall-for-centos-linux/</link>
		<comments>http://webserverhacks.com/web-server-hacks/simple-firewall-for-centos-linux/#comments</comments>
		<pubDate>Mon, 04 Apr 2011 01:02:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Web Server Hacks]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[simple]]></category>

		<guid isPermaLink="false">http://webserverhacks.com/?p=103</guid>
		<description><![CDATA[For those of you who are getting DoS attacks and whatnot on your CentOS server, you might want to first make sure you have only WWW (port 80) and SSH (port 22) open. You can do this with iptables (which is pain is the a**) or just use this: yum install system-config-securitylevel Then do: /usr/bin/system-config-securitylevel-tui And there&#8217;s a &#8220;Customize&#8221; menu where you can set WWW and SSH open.]]></description>
			<content:encoded><![CDATA[<p>For those of you who are getting DoS attacks and whatnot on your CentOS server, you might want to first make sure you have only WWW (port 80) and SSH (port 22) open.</p>
<p>You can do this with iptables (which is pain is the a**) or just use this:<br /> <br />
<code><br /> <br />
yum install system-config-securitylevel<br /> <br />
</code><br /> <br />
Then do:<br /> <br />
<code><br /> <br />
/usr/bin/system-config-securitylevel-tui<br /> <br />
</code> </p>
<p>And there&#8217;s a &#8220;Customize&#8221; menu where you can set WWW and SSH open.</p>
]]></content:encoded>
			<wfw:commentRss>http://webserverhacks.com/web-server-hacks/simple-firewall-for-centos-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[apt-get] How to See all Installed Packages!</title>
		<link>http://webserverhacks.com/linux-commands/apt-get-how-to-see-all-installed-packages/</link>
		<comments>http://webserverhacks.com/linux-commands/apt-get-how-to-see-all-installed-packages/#comments</comments>
		<pubDate>Mon, 04 Apr 2011 00:59:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux Commands]]></category>
		<category><![CDATA[apt-get]]></category>
		<category><![CDATA[dpkg -l]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[installed packages]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[linux servers]]></category>
		<category><![CDATA[web server]]></category>

		<guid isPermaLink="false">http://webserverhacks.com/?p=95</guid>
		<description><![CDATA[To see all the installed packaged on your linux servers, you can do: dpkg -l which will list all installed packages on your web server.]]></description>
			<content:encoded><![CDATA[<p>To see all the installed packaged on your linux servers, you can do:</p>
<p><strong>dpkg -l</strong> </p>
<p>which will list all installed packages on your web server.</p>
]]></content:encoded>
			<wfw:commentRss>http://webserverhacks.com/linux-commands/apt-get-how-to-see-all-installed-packages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Install DNS Cache on Your Linux Web Server!</title>
		<link>http://webserverhacks.com/web-server-hacks/how-to-install-dns-cache-on-your-linux-web-server/</link>
		<comments>http://webserverhacks.com/web-server-hacks/how-to-install-dns-cache-on-your-linux-web-server/#comments</comments>
		<pubDate>Mon, 04 Apr 2011 00:53:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Server Hacks]]></category>
		<category><![CDATA[dns cache]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[web server]]></category>

		<guid isPermaLink="false">http://webserverhacks.com/?p=79</guid>
		<description><![CDATA[If your website does a lot of queries via domain names such as aggregating RSS feeds or even a Twitter app site that accesses Twitter API, you might benefit from installing DNS cache on your linux web server. For most, you would benefit from installing DNS cache because it will save you a ton of time for your server to fetch IP addreses. (could be anywhere between 5 to 500ms). I&#8217;ve actually found a great article showing you how to do this on a Linux desktop computer. It actually works fine on web servers too. Check out WebUpd8.com for full instructions. Some notes on CentOS users: You can do &#8220;yum install bind-utils&#8221; to get the dig program.]]></description>
			<content:encoded><![CDATA[<p>If your website does a lot of queries via domain names such as aggregating RSS feeds or even a Twitter app site that accesses Twitter API, you might benefit from installing DNS cache on your linux web server.</p>
<p>For most, you would benefit from installing DNS cache because it will save you a ton of time for your server to fetch IP addreses. (could be anywhere between 5 to 500ms).</p>
<p>I&#8217;ve actually found a great article showing you how to do this on a Linux desktop computer.  It actually works fine on web servers too.</p>
<p><a target="_blank" href="http://www.webupd8.org/2009/12/faster-browsing-in-linux-with-local-dns.html" >Check out WebUpd8.com for full instructions.</a> </p>
<p>Some notes on CentOS users:</p>
<p>You can do &#8220;yum install bind-utils&#8221; to get the dig program.</p>
]]></content:encoded>
			<wfw:commentRss>http://webserverhacks.com/web-server-hacks/how-to-install-dns-cache-on-your-linux-web-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

