<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://adamantsys.com"  xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>Adamant System - Infrastructure Optimization, Security, Fault-tolerant System, High-Performance Computing - Linux</title>
 <link>http://adamantsys.com/taxonomy/term/2/all</link>
 <description></description>
 <language>en</language>
<item>
 <title>Working config for nginx + Drupal + Boost</title>
 <link>http://adamantsys.com/content/working-config-nginx-drupal-boost</link>
 <description>&lt;p&gt;Self-notes...after spending a few hours researching and benchmarking various configurations. Apache is so old news.&lt;/p&gt;
&lt;p&gt;Setup:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Ubuntu Lucid Lynx (10.04)&lt;/li&gt;
&lt;li&gt;nginx as frontend webserver&lt;/li&gt;
&lt;li&gt;Drupal served using fastcgi to phpcgi&lt;/li&gt;
&lt;li&gt;...and Drupal&#039;s Boost module.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Most of these configs is gathered from &lt;a href=&quot;http://groups.drupal.org/node/26363&quot;&gt;http://groups.drupal.org/node/26363&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;How fast is it now? How about almost 6,000 requests/sec, with throughput around 240Mbps? Fast enough?&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://adamantsys.com/content/working-config-nginx-drupal-boost&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <category domain="http://adamantsys.com/category/tags/boost">Boost</category>
 <category domain="http://adamantsys.com/category/tags/drupal">Drupal</category>
 <category domain="http://adamantsys.com/category/tags/linux">Linux</category>
 <category domain="http://adamantsys.com/category/tags/nginx">nginx</category>
 <category domain="http://adamantsys.com/category/tags/tips">Tips</category>
 <pubDate>Mon, 26 Jul 2010 15:07:56 +0000</pubDate>
 <dc:creator>webhead</dc:creator>
 <guid isPermaLink="false">3056 at http://adamantsys.com</guid>
</item>
<item>
 <title>nginx error: 413 Request Entity Too Large </title>
 <link>http://adamantsys.com/content/nginx-error-413-request-entity-too-large</link>
 <description>&lt;p&gt;Encountered this error when I tried to upload a large file. nginx default is too small. To upload bigger file, add this line in &lt;strong&gt;/etc/nginx/nginx.conf&lt;/strong&gt;, somewhere inside the http section:&lt;/p&gt;
&lt;pre&gt;http {
    ....
    client_max_body_size 20M;
    ....
}&lt;/pre&gt;&lt;p&gt;Save, and then restart your nginx instance.&lt;/p&gt;
</description>
 <category domain="http://adamantsys.com/category/tags/error">Error</category>
 <category domain="http://adamantsys.com/category/tags/linux">Linux</category>
 <category domain="http://adamantsys.com/category/tags/nginx">nginx</category>
 <category domain="http://adamantsys.com/category/tags/tips">Tips</category>
 <pubDate>Sat, 24 Jul 2010 12:29:17 +0000</pubDate>
 <dc:creator>nuzrin</dc:creator>
 <guid isPermaLink="false">29 at http://adamantsys.com</guid>
</item>
<item>
 <title>L2TP IPSec server setup for Linux</title>
 <link>http://adamantsys.com/content/l2tp-ipsec-server-setup-linux</link>
 <description>&lt;p&gt;Tested under: CentOS 5.2, Ubuntu Intrepid Ibex (8.10), Ubuntu Hardy Heron (8.04), both 32-bit and 64-bit flavors.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Tested working with the following clients: Windows XP, Windows Vista, iPhone, Mac OS&amp;nbsp;X&amp;nbsp;Leopard.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://adamantsys.com/content/l2tp-ipsec-server-setup-linux&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <category domain="http://adamantsys.com/category/tags/ipsec">IPSec</category>
 <category domain="http://adamantsys.com/category/tags/l2tp">L2TP</category>
 <category domain="http://adamantsys.com/category/tags/linux">Linux</category>
 <category domain="http://adamantsys.com/category/tags/tips">Tips</category>
 <category domain="http://adamantsys.com/category/tags/vpn">VPN</category>
 <pubDate>Thu, 05 Jun 2008 16:00:00 +0000</pubDate>
 <dc:creator>nuzrin</dc:creator>
 <guid isPermaLink="false">19 at http://adamantsys.com</guid>
</item>
<item>
 <title>How to fix &quot;VMware Workstation was unable to claim the device (No such file or directory)&quot;</title>
 <link>http://adamantsys.com/content/how-fix-vmware-workstation-was-unable-claim-device-no-such-file-or-directory</link>
 <description>&lt;p&gt;I&#039;m running Ubuntu 7.10 using custom 2.6.23.11 kernel. Somehow, starting from kernel 2.6.23, VMware was unable to properly use my Windows Mobile PDA (Atom O2 Life). Every time I plugged in the Atom, VMware will spurt out &quot;VMware Workstation was unable to claim the device&quot; message. The issue was actually with VMware, and not the kernel. Follow the steps outlined below to work around this bug in VMware.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://adamantsys.com/content/how-fix-vmware-workstation-was-unable-claim-device-no-such-file-or-directory&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <category domain="http://adamantsys.com/category/tags/linux">Linux</category>
 <category domain="http://adamantsys.com/category/tags/tips">Tips</category>
 <category domain="http://adamantsys.com/category/tags/vmware">VMWare</category>
 <pubDate>Sun, 30 Dec 2007 16:00:00 +0000</pubDate>
 <dc:creator>nuzrin</dc:creator>
 <guid isPermaLink="false">23 at http://adamantsys.com</guid>
</item>
<item>
 <title>Setting up Nokia phone as modem under Linux</title>
 <link>http://adamantsys.com/content/setting-nokia-phone-modem-under-linux</link>
 <description>&lt;p&gt;Linux: Guide on configuring Nokia phone as GPRS / 3G / EDGE / HSDPA modem&lt;/p&gt;
&lt;p class=&quot;callout&quot;&gt;NOTE: Some parts of this tutorial is probably outdated.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://adamantsys.com/content/setting-nokia-phone-modem-under-linux&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <category domain="http://adamantsys.com/category/tags/linux">Linux</category>
 <category domain="http://adamantsys.com/category/tags/nokia">Nokia</category>
 <category domain="http://adamantsys.com/category/tags/ppp">PPP</category>
 <category domain="http://adamantsys.com/category/tags/tips">Tips</category>
 <pubDate>Fri, 30 Nov 2007 16:00:00 +0000</pubDate>
 <dc:creator>nuzrin</dc:creator>
 <guid isPermaLink="false">18 at http://adamantsys.com</guid>
</item>
<item>
 <title>Using imapsync to backup / archieve your Gmail emails</title>
 <link>http://adamantsys.com/content/using-imapsync-backup-archieve-your-gmail-emails</link>
 <description>&lt;p&gt;1. Download and install the latest version of imapsync at&amp;nbsp;&lt;a class=&quot;external-link&quot; href=&quot;http://www.linux-france.org/prj/imapsync/dist/&quot;&gt;http://www.linux-france.org/prj/imapsync/dist/&lt;/a&gt;. As of today, the latest version is &lt;a class=&quot;external-link&quot; href=&quot;http://www.linux-france.org/prj/imapsync/dist/imapsync-1.255.tgz&quot;&gt;1.255&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://adamantsys.com/content/using-imapsync-backup-archieve-your-gmail-emails&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <category domain="http://adamantsys.com/category/tags/email">Email</category>
 <category domain="http://adamantsys.com/category/tags/linux">Linux</category>
 <category domain="http://adamantsys.com/category/tags/tips">Tips</category>
 <pubDate>Wed, 31 Oct 2007 16:00:00 +0000</pubDate>
 <dc:creator>nuzrin</dc:creator>
 <guid isPermaLink="false">20 at http://adamantsys.com</guid>
</item>
<item>
 <title>Recovering from stuck modifier keys caused by VMWare</title>
 <link>http://adamantsys.com/content/recovering-stuck-modifier-keys-caused-vmware</link>
 <description>&lt;p&gt;I use VMware a lot, mostly using VMware Workstation 6.0.2 under Linux host. However, from to time, some or all of the modifier keys (Ctrl, Shift, and Alt) somehow ceased to function. Seemed that sometime VMware failed to correctly restore those keys function to X server.&lt;/p&gt;
&lt;p&gt;Here&#039;s simple command, using xmodmap (installed as part of X base utilities) that will fix this issue. xmodmap is assumed to be located at /usr/bin&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://adamantsys.com/content/recovering-stuck-modifier-keys-caused-vmware&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <category domain="http://adamantsys.com/category/tags/linux">Linux</category>
 <category domain="http://adamantsys.com/category/tags/tips">Tips</category>
 <category domain="http://adamantsys.com/category/tags/vmware">VMWare</category>
 <pubDate>Sat, 02 Jun 2007 16:00:00 +0000</pubDate>
 <dc:creator>nuzrin</dc:creator>
 <guid isPermaLink="false">21 at http://adamantsys.com</guid>
</item>
<item>
 <title>Starting with SQLite</title>
 <link>http://adamantsys.com/content/starting-sqlite</link>
 <description>&lt;p&gt;SQLite is a small C library that implements a self-contained, embeddable, zero-configuration SQL database engine. The primary benefits of using SQLite is that you can &lt;em&gt;create a self-contained database &lt;/em&gt;in your application.&lt;/p&gt;
&lt;p&gt;What is so great about this? Well, for starters you can:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Manipulate data inside your program using standard SQL 	construct.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Zero database configuration – but you get database-like 	capabilities for your program.&lt;/p&gt;
&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;a href=&quot;http://adamantsys.com/content/starting-sqlite&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <category domain="http://adamantsys.com/category/tags/c">C</category>
 <category domain="http://adamantsys.com/category/tags/linux">Linux</category>
 <category domain="http://adamantsys.com/category/tags/programming">Programming</category>
 <category domain="http://adamantsys.com/category/tags/sqlite">SQLite</category>
 <pubDate>Sun, 04 Mar 2007 16:00:00 +0000</pubDate>
 <dc:creator>nuzrin</dc:creator>
 <guid isPermaLink="false">13 at http://adamantsys.com</guid>
</item>
<item>
 <title>Installing and configuring FireHOL</title>
 <link>http://adamantsys.com/content/installing-and-configuring-firehol</link>
 <description>&lt;p&gt;Linux / Network: Beginners guide to FireHOL.&lt;/p&gt;
&lt;p class=&quot;callout&quot;&gt;NOTE: Content of this tutorial is probably outdated.&lt;/p&gt;
&lt;h2&gt;Part 1&lt;/h2&gt;
&lt;p&gt;Having firewall is one of the steps you can take to make sure that you machine is a little bit secure. This is achieved by opening access only to application or ports that you explicitly allow, and blocking the rest. This for me is a good practice, although some people might argue otherwise.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://adamantsys.com/content/installing-and-configuring-firehol&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <category domain="http://adamantsys.com/category/tags/firehol">FireHOL</category>
 <category domain="http://adamantsys.com/category/tags/firewall">Firewall</category>
 <category domain="http://adamantsys.com/category/tags/linux">Linux</category>
 <category domain="http://adamantsys.com/category/tags/tips">Tips</category>
 <pubDate>Fri, 21 Apr 2006 16:00:00 +0000</pubDate>
 <dc:creator>nuzrin</dc:creator>
 <guid isPermaLink="false">17 at http://adamantsys.com</guid>
</item>
<item>
 <title>Defragment XFS File-system</title>
 <link>http://adamantsys.com/content/defragment-xfs-file-system</link>
 <description>&lt;p&gt;I have been using XFS file-system for all my Linux box for quite some time now. XFS have some fancy features such as live file-system defragmenting. Let&#039;s cover how to do that.&lt;/p&gt;
&lt;p&gt;First, make sure you have the xfsdump utilities install. For Ubuntu or its derivatives distribution, simply issue this command:&lt;/p&gt;
&lt;pre&gt;sudo apt-get install xfsdump&lt;/pre&gt;&lt;p&gt;Then, optionally you can check how fragmented your file-system is by this command:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://adamantsys.com/content/defragment-xfs-file-system&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <category domain="http://adamantsys.com/category/tags/linux">Linux</category>
 <category domain="http://adamantsys.com/category/tags/tips">Tips</category>
 <category domain="http://adamantsys.com/category/tags/xfs">XFS</category>
 <pubDate>Mon, 24 Oct 2005 16:00:00 +0000</pubDate>
 <dc:creator>nuzrin</dc:creator>
 <guid isPermaLink="false">16 at http://adamantsys.com</guid>
</item>
</channel>
</rss>

