<?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>envio land &#187; linux</title>
	<atom:link href="http://a3-system.info/blog/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://a3-system.info/blog</link>
	<description>Ash Like Snow</description>
	<lastBuildDate>Thu, 29 Dec 2011 01:55:21 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Linux Free Up Cache Memory</title>
		<link>http://a3-system.info/blog/daily-life/linux-free-up-cache-memory/</link>
		<comments>http://a3-system.info/blog/daily-life/linux-free-up-cache-memory/#comments</comments>
		<pubDate>Mon, 07 Nov 2011 02:54:06 +0000</pubDate>
		<dc:creator>envio</dc:creator>
				<category><![CDATA[life]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://a3-system.info/blog/daily-life/linux-free-up-cache-memory/</guid>
		<description><![CDATA[For my personal note :p
drop_caches
Writing to this will cause the kernel to drop clean caches, dentries and inodes from memory, causing that memory to become free.
To free pagecache:
    echo 1 > /proc/sys/vm/drop_caches
To free dentries and inodes:
    echo 2 > /proc/sys/vm/drop_caches
To free pagecache, dentries and inodes:
    echo [...]]]></description>
			<content:encoded><![CDATA[<p>For my personal note :p</p>
<p>drop_caches</p>
<p>Writing to this will cause the kernel to drop clean caches, dentries and inodes from memory, causing that memory to become free.</p>
<p>To free pagecache:</p>
<p>    echo 1 > /proc/sys/vm/drop_caches</p>
<p>To free dentries and inodes:</p>
<p>    echo 2 > /proc/sys/vm/drop_caches</p>
<p>To free pagecache, dentries and inodes:</p>
<p>    echo 3 > /proc/sys/vm/drop_caches</p>
<p>Source : http://www.linuxinsight.com/proc_sys_vm_drop_caches.html</p>
]]></content:encoded>
			<wfw:commentRss>http://a3-system.info/blog/daily-life/linux-free-up-cache-memory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>File upload size , Codeigniter, Centos and PHP</title>
		<link>http://a3-system.info/blog/php/file-upload-size-codeigniter-centos-and-php/</link>
		<comments>http://a3-system.info/blog/php/file-upload-size-codeigniter-centos-and-php/#comments</comments>
		<pubDate>Mon, 30 May 2011 03:16:13 +0000</pubDate>
		<dc:creator>envio</dc:creator>
				<category><![CDATA[code igniter]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Centos]]></category>
		<category><![CDATA[Codeigniter]]></category>
		<category><![CDATA[file_uploads]]></category>
		<category><![CDATA[php.ini]]></category>
		<category><![CDATA[POST Content-Length]]></category>
		<category><![CDATA[post_max_size]]></category>
		<category><![CDATA[upload]]></category>

		<guid isPermaLink="false">http://a3-system.info/blog/?p=326</guid>
		<description><![CDATA[Recently I want to increase my maximum file size, I develop my own Codeigniter application, I am using file upload class. Far as I know I just need increase &#8220;file_uploads&#8221; to desired value I want. 
I increase the &#8220;file_uploads&#8221; to 150MB. When I try upload 18MB file use my application it&#8217;s just show me a [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I want to increase my maximum file size, I develop my own Codeigniter application, I am using file upload class. Far as I know I just need increase &#8220;file_uploads&#8221; to desired value I want. </p>
<p>I increase the &#8220;file_uploads&#8221; to 150MB. When I try upload 18MB file use my application it&#8217;s just show me a blank page without any error, then I look error log file and found something </p>
<p>POST Content-Length of 18248964 bytes exceeds the limit of 8388608 bytes in Unknown on line 0</p>
<p>I found that I also need increase the &#8216;post_max_size&#8217; to 150MB on php.ini. Yup my application work fine now, glad to see this <img src='http://a3-system.info/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://a3-system.info/blog/php/file-upload-size-codeigniter-centos-and-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>index.php/ and index.php on Codeigniter</title>
		<link>http://a3-system.info/blog/code-igniterciframework/index-php-and-index-php-on-codeigniter/</link>
		<comments>http://a3-system.info/blog/code-igniterciframework/index-php-and-index-php-on-codeigniter/#comments</comments>
		<pubDate>Sat, 21 May 2011 00:42:50 +0000</pubDate>
		<dc:creator>envio</dc:creator>
				<category><![CDATA[code igniter]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Codeigniter]]></category>
		<category><![CDATA[index.php/]]></category>
		<category><![CDATA[index.php/ index.php /]]></category>

		<guid isPermaLink="false">http://a3-system.info/blog/?p=320</guid>
		<description><![CDATA[inadvertently I added / after index.php on one of my web project and strange it produce some error like this

 A PHP Error was encountered
Severity: Notice
Message: Undefined offset: 0
Filename: libraries/Router.php
Line Number: 201
A PHP Error was encountered
Severity: Notice
Message: Undefined offset: 0
Filename: libraries/Router.php
Line Number: 207
A PHP Error was encountered
Severity: Notice
Message: Undefined offset: 0
Filename: libraries/Router.php
Line Number: 210 

After search I found the solution, it just need to change &#8220;uri_protocol&#8217;&#8221; to PATH_INFO on config.php

reference : http://codeigniter.com/forums/viewthread/127502/
]]></description>
			<content:encoded><![CDATA[<p>inadvertently I added / after index.php on one of my web project and strange it produce some error like this</p>
<div>
<p><code> A PHP Error was encountered</code></p>
<p><code>Severity: Notice</p>
<p>Message: Undefined offset: 0</p>
<p>Filename: libraries/Router.php</p>
<p>Line Number: 201</p>
<p>A PHP Error was encountered</p>
<p>Severity: Notice</p>
<p>Message: Undefined offset: 0</p>
<p>Filename: libraries/Router.php</p>
<p>Line Number: 207</p>
<p>A PHP Error was encountered</p>
<p>Severity: Notice</p>
<p>Message: Undefined offset: 0</p>
<p>Filename: libraries/Router.php</p>
<p></code><code>Line Number: 210 </code></p>
</div>
<div>After search I found the solution, it just need to change &#8220;uri_protocol&#8217;&#8221; to PATH_INFO on config.php</div>
<div></div>
<p>reference : http://codeigniter.com/forums/viewthread/127502/</p>
]]></content:encoded>
			<wfw:commentRss>http://a3-system.info/blog/code-igniterciframework/index-php-and-index-php-on-codeigniter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IBM x3250 M3, SATA as IDE</title>
		<link>http://a3-system.info/blog/daily-life/ibm-x3250-m3-sata-as-ide/</link>
		<comments>http://a3-system.info/blog/daily-life/ibm-x3250-m3-sata-as-ide/#comments</comments>
		<pubDate>Tue, 03 May 2011 01:49:57 +0000</pubDate>
		<dc:creator>envio</dc:creator>
				<category><![CDATA[life]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[BIOS]]></category>
		<category><![CDATA[Centos]]></category>
		<category><![CDATA[IBM x3250 M3]]></category>
		<category><![CDATA[IDE]]></category>
		<category><![CDATA[SATA]]></category>

		<guid isPermaLink="false">http://a3-system.info/blog/?p=318</guid>
		<description><![CDATA[Recently I am disappointed with my IBM x3250 M3 run CentOS linux, the performance is very bad. After investigate I found my SATA drive ( I use two SATA hard drive , 250GB and 500GB) detected by CentOS as IDE drive, as hda and hdb. When I test read and write speed used &#8220;hdparam&#8221;, the [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I am disappointed with my IBM x3250 M3 run CentOS linux, the performance is very bad. After investigate I found my SATA drive ( I use two SATA hard drive , 250GB and 500GB) detected by CentOS as IDE drive, as hda and hdb. When I test read and write speed used &#8220;hdparam&#8221;, the result was terribel , it&#8217;s below 10MB/s</p>
<p>Today I re-check the BIOS configuration, under System Setting the only option of SATA drive is &#8220;configure SATA as IDE&#8221; and I try change the mode from &#8220;Compability Mode&#8221; to &#8220;Native Mode&#8221;. I save the BIOS configuration and reboot the server, and the result is very fantastic, now my two harddrive detected as SATA, it recognized as sda and sdb , I am very right now. I test with &#8220;hdparam&#8221; the speed impressive <img src='http://a3-system.info/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>/dev/sda:<br />
Timing cached reads:   27160 MB in  1.99 seconds = 13620.52 MB/sec<br />
Timing buffered disk reads:  338 MB in  3.02 seconds = 112.07 MB/sec</p>
]]></content:encoded>
			<wfw:commentRss>http://a3-system.info/blog/daily-life/ibm-x3250-m3-sata-as-ide/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cache HIT with No Limits on Mikrotik 4.x</title>
		<link>http://a3-system.info/blog/openbsd-bsd/cache-hit-with-no-limits-on-mikrotik-4-x/</link>
		<comments>http://a3-system.info/blog/openbsd-bsd/cache-hit-with-no-limits-on-mikrotik-4-x/#comments</comments>
		<pubDate>Mon, 03 Jan 2011 07:33:48 +0000</pubDate>
		<dc:creator>envio</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[openbsd]]></category>
		<category><![CDATA[Cache HIT]]></category>
		<category><![CDATA[Mikrotik 4]]></category>
		<category><![CDATA[no limit]]></category>

		<guid isPermaLink="false">http://a3-system.info/blog/?p=315</guid>
		<description><![CDATA[Recently I have successfully setup my proxy (CentOS 5.5) and mikrotik 2.9.X with cache HIT no limits. When my RB 1100 came, I move my mikrotik 2.9.x to this new RB 1100.
These day I just realized that my cache HIT is limited   so my Mikrotik count the cache HIT.  On Mikrotik 2.9 [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I have successfully setup my proxy (CentOS 5.5) and mikrotik 2.9.X with cache HIT no limits. When my RB 1100 came, I move my mikrotik 2.9.x to this new RB 1100.</p>
<p>These day I just realized that my cache HIT is limited <img src='http://a3-system.info/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  so my Mikrotik count the cache HIT.  On Mikrotik 2.9 we use TOS for packet mangle and it&#8217;s value is 0&#215;30 (Hexadeciamal) or 48 in decimal. I watched the data packet for cache hit mangle and the value to small rather when I saw on squid log HIT.</p>
<p>After googling , I found that on Mikrotik  4.x, the TOS value is not same as Mikrotik 2.9 even on Mikrotik 4.x also written as DSCP (TOS).  So I start search the algorithm converting TOS on Mikrotik 2.9 to DSCP (TOS) on Mikrotik 4.x. So here&#8217;s the table :</p>
<p>DSCP    TOS</p>
<p>0          0<br />
1                  4<br />
2                 8<br />
3                 12<br />
4                 16<br />
5                20</p>
<p>Source : http://forum.mikrotik.com/viewtopic.php?f=1&amp;t=19826</p>
<p>Just divide the TOS from Mikrotik 2.9 by 4 and insert the value on DSCP (TOS) on Mikrotik 4.x , you mangle rule will work like a charm <img src='http://a3-system.info/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://a3-system.info/blog/openbsd-bsd/cache-hit-with-no-limits-on-mikrotik-4-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installation Notice Asterisk on CentOS</title>
		<link>http://a3-system.info/blog/linux/installation-notice-asterisk-on-centos/</link>
		<comments>http://a3-system.info/blog/linux/installation-notice-asterisk-on-centos/#comments</comments>
		<pubDate>Tue, 26 Oct 2010 05:56:37 +0000</pubDate>
		<dc:creator>envio</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[asterisk]]></category>
		<category><![CDATA[Centos]]></category>
		<category><![CDATA[httpd]]></category>

		<guid isPermaLink="false">http://a3-system.info/blog/?p=310</guid>
		<description><![CDATA[Recently I install asterisk using yum (using asterisk repository provided), at the noon a something happen, I try to use phpMyAdmin then found some error session couldn&#8217;t start. Then my other application show same weird thing, it cannot upload file to web directory, it&#8217;s never happen before.
Finally I know, when on asterisk installation process, it [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I install asterisk using yum (using asterisk repository provided), at the noon a something happen, I try to use phpMyAdmin then found some error session couldn&#8217;t start. Then my other application show same weird thing, it cannot upload file to web directory, it&#8217;s never happen before.</p>
<p>Finally I know, when on asterisk installation process, it change user who run httpd / webserver to user asterisk from user apache. So this will make  of trouble of permission <img src='http://a3-system.info/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  . Then the solution I change the ownership of web file from apache to asterisk. The application seem working perfect now, puiff &#8230;..</p>
]]></content:encoded>
			<wfw:commentRss>http://a3-system.info/blog/linux/installation-notice-asterisk-on-centos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Openmeetings installation Notice (on CentOS 5.x)</title>
		<link>http://a3-system.info/blog/linux/openmeetings-installation-notice-on-centos-5-x/</link>
		<comments>http://a3-system.info/blog/linux/openmeetings-installation-notice-on-centos-5-x/#comments</comments>
		<pubDate>Sun, 24 Oct 2010 08:22:54 +0000</pubDate>
		<dc:creator>envio</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[Openmeetings installation NoticeCentOS 5.x]]></category>

		<guid isPermaLink="false">http://a3-system.info/blog/?p=305</guid>
		<description><![CDATA[Finally I have finish install openmeetings on CentOS server with some notice :

Use ulimit to make Red5 server start normaly , event it use high performance
 During this installation I found interesting command for linux , sync; echo 3 &#62; /proc/sys/vm/drop_caches , it will clear RAM cache, if we need to clear linux memcache
After access [...]]]></description>
			<content:encoded><![CDATA[<p>Finally I have finish install openmeetings on CentOS server with some notice :</p>
<ol>
<li>Use ulimit to make Red5 server start normaly , event it use high performance</li>
<li> During this installation I found interesting command for linux , sync; echo 3 &gt; /proc/sys/vm/drop_caches , it will clear RAM cache, if we need to clear linux memcache</li>
<li>After access install page process (http://host:5080/openmeetings/install) we need to change the database and table char set to UTF-8 that already created automatically by hibernate process.</li>
<li>The method of char set changing, I export the database to SQL file, change the charset to UTF-8 using text editor, I drop the table that already created then I import modified SQL file to database.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://a3-system.info/blog/linux/openmeetings-installation-notice-on-centos-5-x/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Starting Red5, Could not reserve enough space for object heap</title>
		<link>http://a3-system.info/blog/linux/301/</link>
		<comments>http://a3-system.info/blog/linux/301/#comments</comments>
		<pubDate>Sun, 24 Oct 2010 05:59:38 +0000</pubDate>
		<dc:creator>envio</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[Could not reserve enough space for object heap]]></category>
		<category><![CDATA[red5]]></category>

		<guid isPermaLink="false">http://a3-system.info/blog/?p=301</guid>
		<description><![CDATA[These day, I am trying install Red5 flash server on CentOS 5.x, it&#8217;s part of Openmeetings web conference application. When I am try to start Red5 server using red5.sh , the service won&#8217;t work, here the log :
Running on  Linux
Starting Red5
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not [...]]]></description>
			<content:encoded><![CDATA[<p>These day, I am trying install Red5 flash server on CentOS 5.x, it&#8217;s part of Openmeetings web conference application. When I am try to start Red5 server using red5.sh , the service won&#8217;t work, here the log :</p>
<p>Running on  Linux<br />
Starting Red5<br />
Error occurred during initialization of VM<br />
Could not reserve enough space for object heap<br />
Could not create the Java virtual machine.</p>
<p>After hour searching I found that the system limit memory usage, so the Red5 that based on java won&#8217;t start. Use ulimit command will resolve it, ah then we go to next step <img src='http://a3-system.info/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>ulimit -n 4096 -u 14335 -m unlimited -d unlimited -s 8192 -c 1000000 -v unlimited 2>/dev/null</p>
<p>This solution may be used for other application that give same error message <img src='http://a3-system.info/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://a3-system.info/blog/linux/301/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Install svn on centos (64bit)</title>
		<link>http://a3-system.info/blog/daily-life/how-to-install-svn-on-centos-64bit/</link>
		<comments>http://a3-system.info/blog/daily-life/how-to-install-svn-on-centos-64bit/#comments</comments>
		<pubDate>Thu, 23 Sep 2010 08:06:46 +0000</pubDate>
		<dc:creator>envio</dc:creator>
				<category><![CDATA[life]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Centos]]></category>
		<category><![CDATA[perl(URI)]]></category>

		<guid isPermaLink="false">http://a3-system.info/blog/?p=299</guid>
		<description><![CDATA[When you try to install svn on 64 centos linux you will get some error, perl(URI) is missing. The solution is very simple, download the perl-URI rpm package from address below:
http://mirror.centos.org/centos/5/os/i386/CentOS/perl-URI-1.35-3.noarch.rpm
Install it manually using rpm -ivh perl-URI-1.35-3.noarch.rpm
After it finish, then we can install svn by using this command
yum install subversion
Yup , that&#8217;s it 
]]></description>
			<content:encoded><![CDATA[<p>When you try to install svn on 64 centos linux you will get some error, perl(URI) is missing. The solution is very simple, download the perl-URI rpm package from address below:</p>
<p>http://mirror.centos.org/centos/5/os/i386/CentOS/perl-URI-1.35-3.noarch.rpm</p>
<p>Install it manually using rpm -ivh perl-URI-1.35-3.noarch.rpm</p>
<p>After it finish, then we can install svn by using this command</p>
<p>yum install subversion</p>
<p>Yup , that&#8217;s it </p>
]]></content:encoded>
			<wfw:commentRss>http://a3-system.info/blog/daily-life/how-to-install-svn-on-centos-64bit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mail sent by user nobody being discarded</title>
		<link>http://a3-system.info/blog/php/mail-sent-by-user-nobody-being-discarded/</link>
		<comments>http://a3-system.info/blog/php/mail-sent-by-user-nobody-being-discarded/#comments</comments>
		<pubDate>Sun, 22 Mar 2009 23:12:05 +0000</pubDate>
		<dc:creator>envio</dc:creator>
				<category><![CDATA[code igniter]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[papercraft]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[Mail sent by user nobody being discarded]]></category>
		<category><![CDATA[Nobody Sender]]></category>
		<category><![CDATA[Sender: Nobody]]></category>

		<guid isPermaLink="false">http://a3-system.info/blog/?p=128</guid>
		<description><![CDATA[Every time I send email, the email always discarded by hosting mailer. Here the error :
Mail sent by user nobody being discarded due to sender restrictions in WHM-&#62;Tweak Settings
After couple time trying, I found the error was generated when  I use &#8216;mail&#8217; PHP function. When we use mail() function to send email,  we [...]]]></description>
			<content:encoded><![CDATA[<p>Every time I send email, the email always discarded by hosting mailer. Here the error :</p>
<p>Mail sent by user nobody being discarded due to sender restrictions in WHM-&gt;Tweak Settings</p>
<p>After couple time trying, I found the error was generated when  I use &#8216;mail&#8217; PHP function. When we use mail() function to send email,  we got &#8220;Sender: Nobody &lt;nobody@yourhosting.com&gt;&#8221; in email header. And that&#8217;s why my email always discarded by my hosting mailer.</p>
<p>I change the email send method by using SMTP ( using fsockopen()  ). Because I use CodeIgniter , the email send code will be like this :</p>
<p>$this-&gt;load-&gt;library(&#39email&#39);<br />
$config[&#39useragent&#39]    = &#39Code-Igniter-Mailer-^^&#39;<br />
$config[&#39mailtype&#39]     = &#39text&#39;<br />
$config[&#39validate&#39]     = TRUE;<br />
$config[&#39protocol&#39]     = &#39smtp&#39;<br />
$config[&#39smtp_host&#39]    = &#39localhost&#39;<br />
$config[&#39newline&#39]      = &#34;\r\n&#34;;<br />
$this-&gt;email-&gt;initialize($config);</p>
<p>$this-&gt;email-&gt;initialize($config);<br />
$this-&gt;email-&gt;from(&#39youremail@yourdomain.com&#39, &#39Your Name&#39);<br />
$this-&gt;email-&gt;reply_to(&#39youremail@yourdomain.com&#39, &#39Your Name&#39);<br />
$this-&gt;email-&gt;to(&#39someemail@somedomain.com&#39);<br />
$this-&gt;email-&gt;subject(&#39Email Subject&#39);<br />
$this-&gt;email-&gt;message(&#39Your Message Here.&#39);<br />
$this-&gt;email-&gt;send();</p>
]]></content:encoded>
			<wfw:commentRss>http://a3-system.info/blog/php/mail-sent-by-user-nobody-being-discarded/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

