<?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 - Tips</title>
 <link>http://adamantsys.com/taxonomy/term/6/all</link>
 <description></description>
 <language>en</language>
<item>
 <title>nginx redirect from www to non-www</title>
 <link>http://adamantsys.com/content/nginx-redirect-www-non-www</link>
 <description>&lt;p&gt;Put it inside your server { } segment. For example, to redirect all user accessing &lt;a href=&quot;http://www.idontlikewww.com&quot; title=&quot;www.idontlikewww.com&quot;&gt;www.idontlikewww.com&lt;/a&gt; to idontlikewww.com, the following config snippet will work.&lt;/p&gt;
&lt;pre&gt;if ($host = &#039;www.idontlikewww.com&#039; ) {
    rewrite  ^/(.*)$  http://idontlikewww.com/$1  permanent;
}
&lt;/pre&gt;</description>
 <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>Tue, 07 Sep 2010 02:06:42 +0000</pubDate>
 <dc:creator>webhead</dc:creator>
 <guid isPermaLink="false">3799 at http://adamantsys.com</guid>
</item>
<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>Celcom Malaysia 3G MMS settings</title>
 <link>http://adamantsys.com/content/celcom-malaysia-3g-mms-settings</link>
 <description>&lt;p&gt;Self notes since I kept on jailbreaking my iPhone and reflashing my HTC Desire, and always forgot these settings:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;APN: celcom3g&lt;/li&gt;
&lt;li&gt;MMSC: &lt;a href=&quot;http://mms.celcom.net.my&quot; title=&quot;http://mms.celcom.net.my&quot;&gt;http://mms.celcom.net.my&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;MMS Proxy: 10.128.1.242&lt;/li&gt;
&lt;li&gt;MMS Port: 8080&lt;/li&gt;
&lt;/ul&gt;
</description>
 <category domain="http://adamantsys.com/category/tags/android">Android</category>
 <category domain="http://adamantsys.com/category/tags/iphone">iPhone</category>
 <category domain="http://adamantsys.com/category/tags/phone">Phone</category>
 <category domain="http://adamantsys.com/category/tags/tips">Tips</category>
 <pubDate>Sat, 24 Jul 2010 11:47:13 +0000</pubDate>
 <dc:creator>nuzrin</dc:creator>
 <guid isPermaLink="false">28 at http://adamantsys.com</guid>
</item>
<item>
 <title>How to enable Time Machine to backup to network disk</title>
 <link>http://adamantsys.com/content/how-enable-time-machine-backup-network-disk</link>
 <description>&lt;div class=&quot;image-attach-teaser image-attach-node-14&quot; style=&quot;width: 100px;&quot;&gt;&lt;a href=&quot;/content/how-enable-time-machine-backup-network-disk&quot;&gt;&lt;img src=&quot;http://adamantsys.com/sites/default/files/images/time-machine.thumbnail.jpg&quot; alt=&quot;Time Machine with remote disk&quot; title=&quot;Time Machine with remote disk&quot;  class=&quot;image image-thumbnail &quot; width=&quot;100&quot; height=&quot;66&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;p&gt;Easy. Just follow these steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Obviously you need another Mac to which you want to backup to, with the disk formatted as Mac OS Extended Journaled.&lt;/li&gt;
&lt;li&gt;Open Terminal from Mac you want to backup from. Issue command&lt;/li&gt;
&lt;pre&gt; sudo defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1&lt;/pre&gt;&lt;li&gt;Open System Preferences → Time Machine. Click Change Disk. Your network disk should appear now.&lt;/li&gt;
&lt;li&gt;Select it, and you are good to go.&lt;/li&gt;
&lt;/ol&gt;
</description>
 <category domain="http://adamantsys.com/category/tags/leopard">Leopard</category>
 <category domain="http://adamantsys.com/category/tags/os-x">OS X</category>
 <category domain="http://adamantsys.com/category/tags/snow-leopard">Snow Leopard</category>
 <category domain="http://adamantsys.com/category/tags/tips">Tips</category>
 <enclosure url="http://adamantsys.com/image/view/14/preview" length="56532" type="image/jpeg" />
 <pubDate>Thu, 02 Jul 2009 16:00:00 +0000</pubDate>
 <dc:creator>nuzrin</dc:creator>
 <guid isPermaLink="false">15 at http://adamantsys.com</guid>
</item>
<item>
 <title>Which RBL do you use?</title>
 <link>http://adamantsys.com/content/which-rbl-do-you-use</link>
 <description>&lt;p&gt;List of reliable RBL that we use internally and recommend to our customers.&lt;/p&gt;
&lt;p&gt;Here goes:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;zen.spamhaus.org&lt;/li&gt;
&lt;li&gt;bl.spamcop.net&lt;/li&gt;
&lt;li&gt;combined.njabl.org&lt;/li&gt;
&lt;li&gt;cbl.abuseat.org&lt;/li&gt;
&lt;li&gt;combined.rbl.msrbl.net&lt;/li&gt;
&lt;li&gt;psbl.surriel.com&lt;/li&gt;
&lt;li&gt;b.barracudacentral.org&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;With these RBL, combined with greylisting and a good SpamAssassin ruleset, out of combined 50,000 - 55,000 incoming email attempts daily on all SMTP servers that we monitor, only 0.05% of spam managed pass through. Pretty good!&lt;/p&gt;
</description>
 <category domain="http://adamantsys.com/category/tags/email">Email</category>
 <category domain="http://adamantsys.com/category/tags/tips">Tips</category>
 <pubDate>Mon, 08 Jun 2009 16:00:00 +0000</pubDate>
 <dc:creator>nuzrin</dc:creator>
 <guid isPermaLink="false">11 at http://adamantsys.com</guid>
</item>
<item>
 <title>ATSServer and mdworker consuming significantly huge amount of CPU resources</title>
 <link>http://adamantsys.com/content/atsserver-and-mdworker-consuming-significantly-huge-amount-cpu-resources</link>
 <description>&lt;p&gt;My Mac have 4-core 3.0 GHz CPU with 4 GB RAM, yet this past week or so it seems to slow down to a crawl. Switching applications become sluggish, Dashboard taking its own sweet time to appear, and the CPU meter is constantly showing 100% usage in two of the core.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://adamantsys.com/content/atsserver-and-mdworker-consuming-significantly-huge-amount-cpu-resources&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <category domain="http://adamantsys.com/category/tags/leopard">Leopard</category>
 <category domain="http://adamantsys.com/category/tags/mac">Mac</category>
 <category domain="http://adamantsys.com/category/tags/os-x">OS X</category>
 <category domain="http://adamantsys.com/category/tags/snow-leopard">Snow Leopard</category>
 <category domain="http://adamantsys.com/category/tags/tips">Tips</category>
 <pubDate>Tue, 30 Dec 2008 16:00:00 +0000</pubDate>
 <dc:creator>nuzrin</dc:creator>
 <guid isPermaLink="false">22 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>
</channel>
</rss>

