<?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>Neohexa &#187; Linux</title>
	<atom:link href="http://neohexa.com/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://neohexa.com</link>
	<description></description>
	<lastBuildDate>Mon, 14 Nov 2011 19:10:24 +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>Exim DB Problem</title>
		<link>http://neohexa.com/2010/10/exim-db-problem/</link>
		<comments>http://neohexa.com/2010/10/exim-db-problem/#comments</comments>
		<pubDate>Tue, 05 Oct 2010 14:32:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://neohexa.com/?p=112</guid>
		<description><![CDATA[If you find that incoming mail is rejected by Exim, and you see the following in your logfile, move /var/spool/exim/db/ratelimit out of the way, and then restart Exim. Problem solved. failed to open DB file /var/spool/exim/db/ratelimit: Bad file descriptor Berkeley DB error: memp_fopen: page sizes must be a power-of-2]]></description>
			<content:encoded><![CDATA[<p>If you find that incoming mail is rejected by Exim, and you see the following in your logfile, move /var/spool/exim/db/ratelimit out of the way, and then restart Exim. Problem solved.</p>
<p><code>failed to open DB file /var/spool/exim/db/ratelimit: Bad file descriptor<br />
Berkeley DB error: memp_fopen: page sizes must be a power-of-2</code></p>
]]></content:encoded>
			<wfw:commentRss>http://neohexa.com/2010/10/exim-db-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Change I.P. address on Ubuntu Server</title>
		<link>http://neohexa.com/2009/08/change-i-p-address-on-ubuntu-server/</link>
		<comments>http://neohexa.com/2009/08/change-i-p-address-on-ubuntu-server/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 14:37:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[ubuntu server]]></category>

		<guid isPermaLink="false">http://neohexa.com/?p=98</guid>
		<description><![CDATA[sudo pico /etc/network/interfaces If your device name is eth0, the configuration block should look like the following- iface eth0 inet static address 192.168.1.110 netmask 255.255.255.0 network 192.168.1.0 broadcast 192.168.1.255 gateway 192.168.1.1 dns-nameservers 208.67.222.222 208.67.220.220 127.0.0.1 If you wish to add another I.P. address, you can add a block similar to this- iface eth0:1 inet static [...]]]></description>
			<content:encoded><![CDATA[<p><code>sudo pico /etc/network/interfaces</code><br />
If your device name is eth0, the configuration block should look like the following-</p>
<p><code>iface eth0 inet static<br />
	address 192.168.1.110<br />
	netmask 255.255.255.0<br />
	network 192.168.1.0<br />
	broadcast 192.168.1.255<br />
	gateway 192.168.1.1<br />
	dns-nameservers 208.67.222.222 208.67.220.220 127.0.0.1</code></p>
<p>If you wish to add another I.P. address, you can add a block similar to this-</p>
<p><code>iface eth0:1 inet static<br />
	address 192.168.1.111<br />
	netmask 255.255.255.0<br />
	network 192.168.1.0<br />
	broadcast 192.168.1.255<br />
	gateway 192.168.1.1</code></p>
<p>All that is needed now is a restart of networking-</p>
<p><code>sudo /etc/init.d/networking restart</code></p>
]]></content:encoded>
			<wfw:commentRss>http://neohexa.com/2009/08/change-i-p-address-on-ubuntu-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Downgrade MySQL 5.x to MySQL 4.x on Ubuntu Server</title>
		<link>http://neohexa.com/2009/07/downgrade-mysql-5-x-to-mysql-4-x-on-ubuntu-server/</link>
		<comments>http://neohexa.com/2009/07/downgrade-mysql-5-x-to-mysql-4-x-on-ubuntu-server/#comments</comments>
		<pubDate>Tue, 28 Jul 2009 18:29:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://neohexa.com/?p=83</guid>
		<description><![CDATA[If you ever need to downgrade from MySQL 5.x to MySQL 4.x (hope you don&#8217;t), chances are you are going to run into a problem with apt-get. You will most likely receive cryptic, unhelpful dpkg errors. If this is the case, try the command below. sudo aptitude purge mysql-common mysql-client mysql-server &#038;&#038; sudo aptitude install [...]]]></description>
			<content:encoded><![CDATA[<p>If you ever need to downgrade from MySQL 5.x to MySQL 4.x (hope you don&#8217;t), chances are you are going to run into a problem with apt-get. You will most likely receive cryptic, unhelpful dpkg errors.</p>
<p>If this is the case, try the command below.</p>
<p><code>sudo aptitude purge  mysql-common mysql-client mysql-server &#038;&#038; sudo aptitude install mysql-server-4.1 mysql-client-4.1 </code></p>
<p>This should purge whatever is left of the MySQL 5.x installation, and then install the MySQL 4.x version. If this fails, proceed to bang head against nearest hard object.</p>
]]></content:encoded>
			<wfw:commentRss>http://neohexa.com/2009/07/downgrade-mysql-5-x-to-mysql-4-x-on-ubuntu-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tuning Swap Usage with Linux</title>
		<link>http://neohexa.com/2009/07/tuning-swap-usage-with-linux/</link>
		<comments>http://neohexa.com/2009/07/tuning-swap-usage-with-linux/#comments</comments>
		<pubDate>Tue, 28 Jul 2009 14:35:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[swap]]></category>
		<category><![CDATA[sysctl]]></category>

		<guid isPermaLink="false">http://neohexa.com/?p=80</guid>
		<description><![CDATA[Those of you with lots of RAM could benefit from this tweak. There is a value controlled by sysctl called &#8220;vm.swappiness&#8221;. This is a value from 0-100 which tells the system how aggressively to use the swap space on your system. Setting this value to 0 will tell the system to avoid writing anything to [...]]]></description>
			<content:encoded><![CDATA[<p>Those of you with lots of RAM could benefit from this tweak. There is a value controlled by sysctl called &#8220;vm.swappiness&#8221;. This is a value from 0-100 which tells the system how aggressively to use the swap space on your system.</p>
<p>Setting this value to 0 will tell the system to avoid writing anything to swap if at all possible, and a value of 100 will have your system almost immediately write out your memory to a swap file.</p>
<p>The default on Ubuntu and most other Linux systems is 60. If you don&#8217;t have more than 1GB of RAM I would not recommend altering this value. On my workstations with 2GB of RAM or more I usually go 10 or 0.</p>
<p>To set the swappiness value:</p>
<p><code>sudo sysctl vm.swappiness=10</code></p>
<p>To make the change stick after reboots, edit /etc/sysctl.conf with your favorite editor, and add the line &#8220;vm.swappiness=10&#8243; if it does not already exist.</p>
]]></content:encoded>
			<wfw:commentRss>http://neohexa.com/2009/07/tuning-swap-usage-with-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Block a single IP address</title>
		<link>http://neohexa.com/2009/07/block-a-single-ip-address/</link>
		<comments>http://neohexa.com/2009/07/block-a-single-ip-address/#comments</comments>
		<pubDate>Tue, 14 Jul 2009 16:56:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[block]]></category>
		<category><![CDATA[ip]]></category>

		<guid isPermaLink="false">http://mrtrier.net/blog/?p=19</guid>
		<description><![CDATA[As super user: iptables -I INPUT -s 1.2.3.4 -j DROP]]></description>
			<content:encoded><![CDATA[<p>As super user:</p>
<p><code>iptables -I INPUT -s 1.2.3.4 -j DROP</code></p>
]]></content:encoded>
			<wfw:commentRss>http://neohexa.com/2009/07/block-a-single-ip-address/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

