<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.2.2" -->
<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/"
	>

<channel>
	<title></title>
	<link>http://seoroot.com/blog</link>
	<description></description>
	<pubDate>Sun, 14 Apr 2013 02:47:52 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.2</generator>
	<language>en</language>
			<item>
		<title>How to Limit Maximum Outgoing Emails Per Hour in WHM Cpanel</title>
		<link>http://seoroot.com/blog/tips-and-fixes/how-to-limit-maximum-outgoing-emails-per-hour-in-whm-cpanel.html</link>
		<comments>http://seoroot.com/blog/tips-and-fixes/how-to-limit-maximum-outgoing-emails-per-hour-in-whm-cpanel.html#comments</comments>
		<pubDate>Sun, 14 Apr 2013 02:47:52 +0000</pubDate>
		<dc:creator>Batman</dc:creator>
		
		<category><![CDATA[Internet Servers]]></category>

		<category><![CDATA[Tips and Howtos]]></category>

		<category><![CDATA[WHM CPanel]]></category>

		<category><![CDATA[Tips and Fixes]]></category>

		<guid isPermaLink="false">http://seoroot.com/blog/tips-and-fixes/how-to-limit-maximum-outgoing-emails-per-hour-in-whm-cpanel.html</guid>
		<description><![CDATA[
I&#8217;ve been getting a lot of bounced emails lately due to a client doing mass mailing with most of the recipient emails either does not exist or server is unreachable and it&#8217;s clogging the server&#8217;s mail queue. The server is using WHM/Cpanel that manages all the tweaks and settings of the server.
Below is a guide [...]]]></description>
			<content:encoded><![CDATA[<p><img src='http://seoroot.com/blog/wp-content/uploads/2013/04/whmcpanel2.jpg' alt='WHMCpanel' /></p>
<p>I&#8217;ve been getting a lot of bounced emails lately due to a client doing mass mailing with most of the recipient emails either does not exist or server is unreachable and it&#8217;s clogging the server&#8217;s mail queue. The server is using WHM/Cpanel that manages all the tweaks and settings of the server.</p>
<p>Below is a guide on how to put a limit on the number of outgoing emails allowed to be sent from the server per user, per hour.</p>
<p>Login to your WHM account, under Server Configuration, look for Tweak Settings then look for &#8220;Max hourly emails per domain&#8221; section and enter the number of outgoing emails you want to process per hour for every domain.</p>
<p><img src='http://seoroot.com/blog/wp-content/uploads/2013/04/whmcpanel.jpg' alt='WHMCpanel Email Limit' /></p>
<p>Once you have the number of emails to process per hour set, go to &#8220;Mail&#8221; tab and look for the &#8220;The percentage of email messages (above the account’s hourly maximum) to queue and retry for delivery&#8221; and set it to how many percent of those that exceeds the number of emails to process per hour be placed on queue for delivery the next hour.</p>
<p><img src='http://seoroot.com/blog/wp-content/uploads/2013/04/whmcpanel-hourlymax-email.jpg' alt='WHMCpanel Email Limit' /></p>
<p>Save your changes and restart your mail services.<br />
 <a href="http://seoroot.com/blog/tips-and-fixes/how-to-limit-maximum-outgoing-emails-per-hour-in-whm-cpanel.html" class="more" class="more-link">(more&#8230;)</a></p>
<p><map name='google_ad_map_645'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/645?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_645' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=645&amp;url= http%3A%2F%2Fseoroot.com%2Fblog%2Ftips-and-fixes%2Fhow-to-limit-maximum-outgoing-emails-per-hour-in-whm-cpanel.html' /></p>]]></content:encoded>
			<wfw:commentRss>http://seoroot.com/blog/tips-and-fixes/how-to-limit-maximum-outgoing-emails-per-hour-in-whm-cpanel.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Using mod_php_ruid2 with Apache2 on Kloxo</title>
		<link>http://seoroot.com/blog/tips-and-fixes/using-mod_php_ruid2-with-apache2-on-kloxo.html</link>
		<comments>http://seoroot.com/blog/tips-and-fixes/using-mod_php_ruid2-with-apache2-on-kloxo.html#comments</comments>
		<pubDate>Sat, 13 Apr 2013 10:00:57 +0000</pubDate>
		<dc:creator>Batman</dc:creator>
		
		<category><![CDATA[Apache HTTP]]></category>

		<category><![CDATA[CentOS Linux]]></category>

		<category><![CDATA[Tips and Howtos]]></category>

		<category><![CDATA[Tips and Fixes]]></category>

		<guid isPermaLink="false">http://seoroot.com/blog/tips-and-fixes/using-mod_php_ruid2-with-apache2-on-kloxo.html</guid>
		<description><![CDATA[
mod_ruid2 is an SuExec module for Apache 2.x web server based on mod_ruid and mod_suid2 which is one of the PHP types supported by Kloxo web control panel for secure environment.
There are two main operating modes for mod_ruid2, namely stat and config.
Config mode is the default mode used by mod_ruid2 wherein you define the uid [...]]]></description>
			<content:encoded><![CDATA[<p><img src='http://seoroot.com/blog/wp-content/uploads/2013/04/kloxo-cp.jpg' alt='kloxo cp' /></p>
<p><strong>mod_ruid2</strong> is an SuExec module for Apache 2.x web server based on mod_ruid and mod_suid2 which is one of the PHP types supported by Kloxo web control panel for secure environment.</p>
<p>There are two main operating modes for mod_ruid2, namely stat and config.</p>
<p><strong>Config mode</strong> is the default mode used by mod_ruid2 wherein you define the uid and gid that will be used as effective user for the executed/read file.</p>
<p><strong>Stat mode</strong> is used when you have multiple sites owned by different users and every file being read or executed must be run through its effective user or group. This is commonly used in virtual hosting environment.</p>
<p>When you install Kloxo, mod_php_ruid2 is also installed together with other PHP types like suphp. In this tutorial we will be setting up mod_php_ruid2 for a shared hosting server or a virtual hosting environment using Apache 2 web server.</p>
<p>Let&#8217;s configure first our mod_php_ruid2 to use Stat mode by setting &#8220;RMode config&#8221; to &#8220;RMode stat&#8221; in our ruid2 config file</p>
<p><code>vi /etc/httpd/conf.d/ruid2.conf</code></p>
<pre class="brush: vb; ">

LoadModule ruid2_module modules/mod_ruid2.so

&lt;ifmodule mod_ruid2.c&gt;
    RMode stat
    RDefaultUidGid apache apache
    RUidGid apache apache
    RGroups apache
&lt;/ifmodule&gt;
</pre>
<p>Save and exit from the editor then restart your Apache web server.</p>
<p><code>service httpd restart</code></p>
<p><img src='http://seoroot.com/blog/wp-content/uploads/2013/04/mod_php_ruid2-kloxo.jpg' alt='Kloxo Webserver config' /></p>
<p>Now, let&#8217;s setup our Kloxo to use mod_php_ruid2 by going to your server&#8217;s &#8220;Webserver config&#8221; . Under the PHP type section, select mod_php_ruid2 and under &#8220;Fix ownership and permissions&#8221;, select &#8220;fix-ALL&#8221;. Lastly, click on the Update button and wait for the operation to be completed.</p>
<p>When it&#8217;s finished, try to execute or access a file while running &#8220;top&#8221; command, you should see that the effective user of the executed file is used by the Apache web server.</p>
<p><img src='http://seoroot.com/blog/wp-content/uploads/2013/04/mod_php_ruid2-ls.jpg' alt='file stat mod_php_ruid2' /></p>
<p><img src='http://seoroot.com/blog/wp-content/uploads/2013/04/mod_php_ruid2-top.jpg' alt='mod_php_ruid2 top' /></p>
<p>That&#8217;s it, you should have the mod_php_ruid2 setup and configured. Please do not hesitate to drop your comments and suggestions below.<br />
 <a href="http://seoroot.com/blog/tips-and-fixes/using-mod_php_ruid2-with-apache2-on-kloxo.html" class="more" class="more-link">(more&#8230;)</a></p>
<p><map name='google_ad_map_682'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/682?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_682' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=682&amp;url= http%3A%2F%2Fseoroot.com%2Fblog%2Ftips-and-fixes%2Fusing-mod_php_ruid2-with-apache2-on-kloxo.html' /></p>]]></content:encoded>
			<wfw:commentRss>http://seoroot.com/blog/tips-and-fixes/using-mod_php_ruid2-with-apache2-on-kloxo.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Error setting up swfmill on CentOS Linux</title>
		<link>http://seoroot.com/blog/howto/error-setting-up-swfmill-on-centos-linux.html</link>
		<comments>http://seoroot.com/blog/howto/error-setting-up-swfmill-on-centos-linux.html#comments</comments>
		<pubDate>Thu, 14 Mar 2013 10:12:22 +0000</pubDate>
		<dc:creator>Batman</dc:creator>
		
		<category><![CDATA[Tips and Howtos]]></category>

		<category><![CDATA[Tips and Fixes]]></category>

		<category><![CDATA[HowTo]]></category>

		<guid isPermaLink="false">http://seoroot.com/blog/howto/error-setting-up-swfmill-on-centos-linux.html</guid>
		<description><![CDATA[
Here&#8217;s a short note on setting up swfmill on CentOS linux.

swfmill is an xml2swf and swf2xml processor with import functionalities.
It&#8217;s most common use is the generation of asset libraries containing images (PNG and JPEG), fonts (TTF) or other SWF movies for use with MTASC- or haXe-compiled ActionScript, although swfmill can be used to produce both [...]]]></description>
			<content:encoded><![CDATA[<p><img src='http://seoroot.com/blog/wp-content/uploads/2013/03/swfmill.jpg' alt='SWFMill' /></p>
<p>Here&#8217;s a short note on setting up swfmill on CentOS linux.</p>
<blockquote><p>
swfmill is an xml2swf and swf2xml processor with import functionalities.</p>
<p>It&#8217;s most common use is the generation of asset libraries containing images (PNG and JPEG), fonts (TTF) or other SWF movies for use with MTASC- or haXe-compiled ActionScript, although swfmill can be used to produce both simple and complex SWF structures.
</p></blockquote>
<p><strong>Download and Install swfmill</strong></p>
<p>wget -c http://swfmill.org/releases/swfmill-0.3.2.tar.gz</p>
<p>Untar the downloaded package and change to its directory.</p>
<pre class="brush: php; ">

cd swfmill-0.3.2
./configure
</pre>
<pre class="brush: php; ">

configure: error: Package requirements (libxslt) were not met:

No package &#039;libxslt&#039; found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables XSLT_CFLAGS
and XSLT_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
</pre>
<p>If you encounter an error related to libxslt then you need to install it.</p>
<pre class="brush: php; ">

yum -y install libxslt libxslt-devel
</pre>
<p><map name='google_ad_map_680'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/680?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_680' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=680&amp;url= http%3A%2F%2Fseoroot.com%2Fblog%2Fhowto%2Ferror-setting-up-swfmill-on-centos-linux.html' /></p>]]></content:encoded>
			<wfw:commentRss>http://seoroot.com/blog/howto/error-setting-up-swfmill-on-centos-linux.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>How To Extend Your iPhone5 Battery Life</title>
		<link>http://seoroot.com/blog/smart-phones-review/how-to-extend-your-iphone5-battery-life.html</link>
		<comments>http://seoroot.com/blog/smart-phones-review/how-to-extend-your-iphone5-battery-life.html#comments</comments>
		<pubDate>Mon, 18 Feb 2013 10:06:42 +0000</pubDate>
		<dc:creator>Batman</dc:creator>
		
		<category><![CDATA[Smart Phones Review]]></category>

		<guid isPermaLink="false">http://seoroot.com/blog/smart-phones-review/how-to-extend-your-iphone5-battery-life.html</guid>
		<description><![CDATA[By specification an iPhone 5 battery life is  Up to 8 hours on 3G (TalkTime) and  Up to 225 hours (Standby Time). However if you experienced shorter battery life than what is said in its specification,perhaps it’s time to re-evaluate the features you are frequently using. May  you find these tips helpful.

Brightness [...]]]></description>
			<content:encoded><![CDATA[<p>By specification an <strong>iPhone 5</strong> battery life is  Up to 8 hours on 3G (TalkTime) and  Up to 225 hours (Standby Time). However if you experienced shorter battery life than what is said in its specification,perhaps it’s time to re-evaluate the features you are frequently using. May  you find these tips helpful.</p>
<p align="center"><a href='http://seoroot.com/blog/wp-content/uploads/2013/02/iphone5.jpg' title='iphone5.jpg'><img src='http://seoroot.com/blog/wp-content/uploads/2013/02/iphone5.jpg' alt='iphone5.jpg' /></a></p>
<p><strong>Brightness Settings</strong><br />
Setting it to a not too bright when in use will help lower down the iPhone5 battery consumption. Go to <strong>Settings > Brightness > </strong>then move the slider as far left as you can while still being able to see everything.<br />
<strong><br />
Lock it Up</strong><br />
When not in use, be sure to lock it to save battery (click the top button for sleep/wake) or auto lock your iPhone5.  <strong>Go to Settings > General > Auto-Lock.</strong></p>
<p><strong>Close applications</strong><br />
Leaving applications active will drain the battery even when the iPhone 5 is in the standby state. Make sure to close it after using.</p>
<p><strong>Turn off unused networking</strong><br />
Turn 3G access, data roaming or Wi-Fi OFF when not in used. Go to <strong>Settings > General > Network </strong>and select options there.<br />
 <a href="http://seoroot.com/blog/smart-phones-review/how-to-extend-your-iphone5-battery-life.html" class="more" class="more-link">(more&#8230;)</a></p>
<p><map name='google_ad_map_678'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/678?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_678' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=678&amp;url= http%3A%2F%2Fseoroot.com%2Fblog%2Fsmart-phones-review%2Fhow-to-extend-your-iphone5-battery-life.html' /></p>]]></content:encoded>
			<wfw:commentRss>http://seoroot.com/blog/smart-phones-review/how-to-extend-your-iphone5-battery-life.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Possible HTC M7 Leaked</title>
		<link>http://seoroot.com/blog/smart-phones-review/possible-htc-m7-leaked.html</link>
		<comments>http://seoroot.com/blog/smart-phones-review/possible-htc-m7-leaked.html#comments</comments>
		<pubDate>Thu, 14 Feb 2013 07:21:00 +0000</pubDate>
		<dc:creator>Batman</dc:creator>
		
		<category><![CDATA[Smart Phones Review]]></category>

		<guid isPermaLink="false">http://seoroot.com/blog/smart-phones-review/possible-htc-m7-leaked.html</guid>
		<description><![CDATA[The net had it first! Well at least possibly! The yet to be released/announced flagship HTC smart phone have leaked. The photo was posted by @evleaks. This phone is likely to be the HTC M7, rumored to have 13 megapixel camera, 4.7-inch 1080p display and is expected to be powered by a 1.7GHz quad-core processor [...]]]></description>
			<content:encoded><![CDATA[<p align="justify">The net had it first! Well at least possibly! The yet to be released/announced flagship <strong>HTC</strong> smart phone have leaked. The photo was posted by <a href="https://twitter.com/evleaks/status/300965116659257344">@evleaks</a>. This phone is likely to be the <strong>HTC M7</strong>, rumored to have 13 megapixel camera, 4.7-inch 1080p display and is expected to be powered by a 1.7GHz quad-core processor display alongside 2GB RAM. It is said to have a 4.3 &#8216;ultrapixel&#8217; rear camera and run on Android 4.2 skinned with a layer of the brand new Sense 5.0 UI. </p>
<p align="center"><a href='http://seoroot.com/blog/wp-content/uploads/2013/02/htc-one-leak.jpeg' title='htc-one-leak.jpeg'><img src='http://seoroot.com/blog/wp-content/uploads/2013/02/htc-one-leak.jpeg' alt='htc-one-leak.jpeg' /></a></p>
<p align="justify">From this “leaked” photo, it appears that HTC’s new flagship smartphone looks similar to the iPhone 5, the dimensions at least compared to the much bigger and wider current Android phones in the market. Whether this is the HTC M7 or not, we will definitely find out on February 19,2012 at the HTC press event in New York City.</p>
<p><a href='http://seoroot.com/blog/wp-content/uploads/2013/02/android-phones.JPG' title='android-phones.JPG'><img src='http://seoroot.com/blog/wp-content/uploads/2013/02/android-phones.JPG' alt='android-phones.JPG' /></a></p>
<p>Meanwhile, here’s a quick comparison between the<strong> iPhone5</strong> and <strong>Blackberry Z10</strong>.<br />
 <a href="http://seoroot.com/blog/smart-phones-review/possible-htc-m7-leaked.html" class="more" class="more-link">(more&#8230;)</a></p>
<p><map name='google_ad_map_672'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/672?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_672' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=672&amp;url= http%3A%2F%2Fseoroot.com%2Fblog%2Fsmart-phones-review%2Fpossible-htc-m7-leaked.html' /></p>]]></content:encoded>
			<wfw:commentRss>http://seoroot.com/blog/smart-phones-review/possible-htc-m7-leaked.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Mikrotik RouterOS Scripting - Automatically find unathorized devices and block it on firewall</title>
		<link>http://seoroot.com/blog/mikrotik-routeros/mikrotik-routeros-scripting-automatically-find-unathorized-devices-and-block-it-on-firewall.html</link>
		<comments>http://seoroot.com/blog/mikrotik-routeros/mikrotik-routeros-scripting-automatically-find-unathorized-devices-and-block-it-on-firewall.html#comments</comments>
		<pubDate>Thu, 10 Jan 2013 08:10:52 +0000</pubDate>
		<dc:creator>Batman</dc:creator>
		
		<category><![CDATA[Mikrotik Scripting]]></category>

		<category><![CDATA[Mikrotik]]></category>

		<category><![CDATA[Mikrotik Routers]]></category>

		<category><![CDATA[Mikrotik RouterOS]]></category>

		<guid isPermaLink="false">http://seoroot.com/blog/mikrotik-routeros/mikrotik-routeros-scripting-automatically-find-unathorized-devices-and-block-it-on-firewall.html</guid>
		<description><![CDATA[
One of the features I like most in Mikrotik RouterOS is the ability to run custom scripts that will enable you to automate some things on router side. In a workplace where &#8220;bring your own device&#8221; is practiced, being able to control the registration of these devices on your network is very important especially for [...]]]></description>
			<content:encoded><![CDATA[<p><img src='http://seoroot.com/blog/wp-content/uploads/2013/01/mikrotik-routeros.jpg' alt='mikrotik routeros' /></p>
<p>One of the features I like most in Mikrotik RouterOS is the ability to run custom scripts that will enable you to automate some things on router side. In a workplace where &#8220;bring your own device&#8221; is practiced, being able to control the registration of these devices on your network is very important especially for mobile devices - laptops, tablets and smartphones. </p>
<p>It&#8217;s becoming harder to control these device especially if they are in large number. Smartphone can be just placed inside a bag or pocket while it automatically connect through your access points where wireless key is known to the user and download unnecessary files on the internet thus wasting network bandwidth while increasing network security risk.</p>
<p>Now, if you happen to have a Mikrotik RouterOS in your network and is facing the same dilemma then probably the script below will help you solve it or least get you started on a better solution.</p>
<pre class="brush: perl; ">

# Written by: Rex Cortez
# Tested to work on RouterOS 5.19

:foreach i in=[/ip dhcp-server lease find dynamic=yes] do={
   :local dynamicIP [/ip dhcp-server lease get $i address];
   :local dynamicMAC [/ip dhcp-server lease get $i mac-address];
   :local dynamicHOST [/ip dhcp-server lease get $i host-name];
   :local macfound [/ip firewall filter find src-mac-address=$dynamicMAC];

    :if ($macfound != &quot;&quot;) do={
        :log info ($dynamicMAC. &quot; already filtered&quot;)
    } else= {
        /ip firewall filter add chain=forward src-mac-address=$dynamicMAC action=drop comment=($dynamicHOST . &quot; - &quot; . $dynamicMAC . &quot; Unregistered device&quot;)
        :log info (&quot;Added &quot; . $dynamicMAC. &quot; to firewall filter&quot;)
    }
}
</pre>
<p>Basically, the script will look for dynamic ip addresses inside the dhcp server leases table and search their mac address in the firewall filter table. If it&#8217;s not yet blocked then it will create an entry blocking the mac address to prevent it from sending traffic through your network.</p>
<p>To automatically execute the script periodically, you will need to add it on the scheduler, see example below:</p>
<p> <a href="http://seoroot.com/blog/mikrotik-routeros/mikrotik-routeros-scripting-automatically-find-unathorized-devices-and-block-it-on-firewall.html" class="more" class="more-link">(more&#8230;)</a></p>
<p><map name='google_ad_map_669'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/669?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_669' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=669&amp;url= http%3A%2F%2Fseoroot.com%2Fblog%2Fmikrotik-routeros%2Fmikrotik-routeros-scripting-automatically-find-unathorized-devices-and-block-it-on-firewall.html' /></p>]]></content:encoded>
			<wfw:commentRss>http://seoroot.com/blog/mikrotik-routeros/mikrotik-routeros-scripting-automatically-find-unathorized-devices-and-block-it-on-firewall.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Install PHP Pear on Cloud with Linux</title>
		<link>http://seoroot.com/blog/computing/systems-administration/install-php-pear-on-cloud-with-linux.html</link>
		<comments>http://seoroot.com/blog/computing/systems-administration/install-php-pear-on-cloud-with-linux.html#comments</comments>
		<pubDate>Tue, 08 Jan 2013 02:22:19 +0000</pubDate>
		<dc:creator>Batman</dc:creator>
		
		<category><![CDATA[Tips and Howtos]]></category>

		<category><![CDATA[Tips and Fixes]]></category>

		<category><![CDATA[HowTo]]></category>

		<category><![CDATA[Systems Administration]]></category>

		<guid isPermaLink="false">http://seoroot.com/blog/computing/systems-administration/install-php-pear-on-cloud-with-linux.html</guid>
		<description><![CDATA[
I recently got a linux server running on a cloud and migrated few of my sites including this site. However, I forgot that the main page of this site requires DB package to be installed which can be installed through PEAR, and to cut the story short I end up installing PEAR just to get [...]]]></description>
			<content:encoded><![CDATA[<p><img src='http://seoroot.com/blog/wp-content/uploads/2013/01/php-pear.jpg' alt='php pear installation' /></p>
<p>I recently got a linux server running on a cloud and migrated few of my sites including this site. However, I forgot that the main page of this site requires DB package to be installed which can be installed through PEAR, and to cut the story short I end up installing PEAR just to get the DB package installed. Below is how to install PEAR on Linux specifically on Ubuntu 12.04.</p>
<pre class="brush: shell; ">

wget  http://pear.php.net/go-pear.phar

sudo php -q go-pear.phar
</pre>
<pre class="brush: shell; ">

Below is a suggested file layout for your new PEAR installation.  To
change individual locations, type the number in front of the
directory.  Type &#039;all&#039; to change all of them or simply press Enter to
accept these locations.

 1. Installation base ($prefix)                   : /usr
 2. Temporary directory for processing            : /tmp/pear/install
 3. Temporary directory for downloads             : /tmp/pear/install
 4. Binaries directory                            : /usr/bin
 5. PHP code directory ($php_dir)                 : /usr/share/pear
 6. Documentation directory                       : /usr/docs
 7. Data directory                                : /usr/data
 8. User-modifiable configuration files directory : /usr/cfg
 9. Public Web Files directory                    : /usr/www
10. Tests directory                               : /usr/tests
11. Name of configuration file                    : /etc/pear.conf

1-11, &#039;all&#039; or Enter to continue:
Beginning install...
Configuration written to /etc/pear.conf...
Initialized registry...
Preparing to install...
installing phar:///root/go-pear.phar/PEAR/go-pear-tarballs/Archive_Tar-1.3.7.tar...
installing phar:///root/go-pear.phar/PEAR/go-pear-tarballs/Console_Getopt-1.3.0.tar...
installing phar:///root/go-pear.phar/PEAR/go-pear-tarballs/PEAR-1.9.4.tar...
installing phar:///root/go-pear.phar/PEAR/go-pear-tarballs/Structures_Graph-1.0.4.tar...
installing phar:///root/go-pear.phar/PEAR/go-pear-tarballs/XML_Util-1.2.1.tar...
install ok: channel://pear.php.net/Archive_Tar-1.3.7
install ok: channel://pear.php.net/Console_Getopt-1.3.0
install ok: channel://pear.php.net/Structures_Graph-1.0.4
install ok: channel://pear.php.net/XML_Util-1.2.1
install ok: channel://pear.php.net/PEAR-1.9.4
PEAR: Optional feature webinstaller available (PEAR&#039;s web-based installer)
PEAR: Optional feature gtkinstaller available (PEAR&#039;s PHP-GTK-based installer)
PEAR: Optional feature gtk2installer available (PEAR&#039;s PHP-GTK2-based installer)
PEAR: To install optional features use &quot;pear install pear/PEAR#featurename&quot;

The &#039;pear&#039; command is now at your service at /usr/bin/pear

** The &#039;pear&#039; command is not currently in your PATH, so you need to
** use &#039;/usr/bin/pear&#039; until you have added
** &#039;/usr/bin&#039; to your PATH environment variable.

Run it without parameters to see the available actions, try &#039;pear list&#039;
to see what packages are installed, or &#039;pear help&#039; for help.

For more information about PEAR, see:

  http://pear.php.net/faq.php
  http://pear.php.net/manual/

Thanks for using go-pear!
</pre>
<p>Once you have successfully installed PEAR, you can start installing PEAR packages by invoking pear.</p>
<pre class="brush: shell; ">

pear install DB
</pre>
<p>That&#8217;s about it, let me know should you encounter installation issues with PEAR.</p>
<p><map name='google_ad_map_667'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/667?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_667' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=667&amp;url= http%3A%2F%2Fseoroot.com%2Fblog%2Fcomputing%2Fsystems-administration%2Finstall-php-pear-on-cloud-with-linux.html' /></p>]]></content:encoded>
			<wfw:commentRss>http://seoroot.com/blog/computing/systems-administration/install-php-pear-on-cloud-with-linux.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Fetching URL and Sending Post Data on Python</title>
		<link>http://seoroot.com/blog/code-snippets/fetching-url-and-sending-post-data-on-python.html</link>
		<comments>http://seoroot.com/blog/code-snippets/fetching-url-and-sending-post-data-on-python.html#comments</comments>
		<pubDate>Wed, 02 Jan 2013 16:43:48 +0000</pubDate>
		<dc:creator>Batman</dc:creator>
		
		<category><![CDATA[Python Language]]></category>

		<category><![CDATA[Code Snippets]]></category>

		<guid isPermaLink="false">http://seoroot.com/blog/code-snippets/fetching-url-and-sending-post-data-on-python.html</guid>
		<description><![CDATA[
Here&#8217;s a short simple script on how to fetch URL and sending post data on Python.


#!/path/to/python

import urllib

params = urllib.urlencode({&#039;param1&#039;: value1, &#039;param2&#039;: value2})
response = urllib.urlopen(&#34;http://www.somewebsite.com/post-data-file.php&#34;, params)
html = response.read()

print(html)

That easy  



]]></description>
			<content:encoded><![CDATA[<p><img src='http://seoroot.com/blog/wp-content/uploads/2013/01/python-pic.png' alt='pythong language' /></p>
<p>Here&#8217;s a short simple script on how to fetch URL and sending post data on Python.</p>
<pre class="brush: python; ">

#!/path/to/python

import urllib

params = urllib.urlencode({&#039;param1&#039;: value1, &#039;param2&#039;: value2})
response = urllib.urlopen(&quot;http://www.somewebsite.com/post-data-file.php&quot;, params)
html = response.read()

print(html)
</pre>
<p>That easy <img src='http://seoroot.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><map name='google_ad_map_665'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/665?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_665' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=665&amp;url= http%3A%2F%2Fseoroot.com%2Fblog%2Fcode-snippets%2Ffetching-url-and-sending-post-data-on-python.html' /></p>]]></content:encoded>
			<wfw:commentRss>http://seoroot.com/blog/code-snippets/fetching-url-and-sending-post-data-on-python.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>DNSQuackie Dynamic DNS Service</title>
		<link>http://seoroot.com/blog/internet-servers/dnsquackie-dynamic-dns-service.html</link>
		<comments>http://seoroot.com/blog/internet-servers/dnsquackie-dynamic-dns-service.html#comments</comments>
		<pubDate>Wed, 26 Dec 2012 19:17:11 +0000</pubDate>
		<dc:creator>Batman</dc:creator>
		
		<category><![CDATA[Dynamic DNS]]></category>

		<category><![CDATA[Software Reviews]]></category>

		<category><![CDATA[Internet Servers]]></category>

		<guid isPermaLink="false">http://seoroot.com/blog/internet-servers/dnsquackie-dynamic-dns-service.html</guid>
		<description><![CDATA[
I&#8217;ve been looking for a free dynamic dns service that I can use to resolve the ip address that is dynamically assigned by my internet service provider to my home router. The search led me to DNSQuackie, which provide just what I needed on a dynamic dns service, a reliable and free dynamic dns. 
It [...]]]></description>
			<content:encoded><![CDATA[<p><img src='http://seoroot.com/blog/wp-content/uploads/2012/12/dnsquackie.jpg' alt='dnsquackie' /></p>
<p>I&#8217;ve been looking for a free dynamic dns service that I can use to resolve the ip address that is dynamically assigned by my internet service provider to my home router. The search led me to DNSQuackie, which provide just what I needed on a dynamic dns service, a reliable and free dynamic dns. </p>
<p>It also supports both dynamic and static ip name resolutions. For routers that support custom DDNS entry, you can use DNSQuackie directly through its direct authentication interface. </p>
<p><img src='http://seoroot.com/blog/wp-content/uploads/2012/12/dnsquackie-manage.jpg' alt='manage dnsquackie' /></p>
<p><a href="http://www.dnsquackie.com">DNSQuackie&#8217;s dynamic dns</a> client is easy to use and automatically detect ip changes and send that changes to the server without having to logout and relogin.</p>
<p><img src='http://seoroot.com/blog/wp-content/uploads/2012/12/dnsquackie-client.jpg' alt='dnsquackie client' /></p>
<p> <a href="http://seoroot.com/blog/internet-servers/dnsquackie-dynamic-dns-service.html" class="more" class="more-link">(more&#8230;)</a></p>
<p><map name='google_ad_map_657'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/657?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_657' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=657&amp;url= http%3A%2F%2Fseoroot.com%2Fblog%2Finternet-servers%2Fdnsquackie-dynamic-dns-service.html' /></p>]]></content:encoded>
			<wfw:commentRss>http://seoroot.com/blog/internet-servers/dnsquackie-dynamic-dns-service.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>How to Install Memcached on CentOS Linux</title>
		<link>http://seoroot.com/blog/howto/how-to-install-memcached-on-centos-linux.html</link>
		<comments>http://seoroot.com/blog/howto/how-to-install-memcached-on-centos-linux.html#comments</comments>
		<pubDate>Sun, 25 Nov 2012 12:39:29 +0000</pubDate>
		<dc:creator>Batman</dc:creator>
		
		<category><![CDATA[Memory Caching]]></category>

		<category><![CDATA[Linux Filesystems]]></category>

		<category><![CDATA[HowTo]]></category>

		<guid isPermaLink="false">http://seoroot.com/blog/howto/how-to-install-memcached-on-centos-linux.html</guid>
		<description><![CDATA[
What is Memcached?
An open source high-performance distributed memory object caching system.

Memcached is an in-memory key-value store for small chunks of arbitrary data (strings, objects) from results of database calls, API calls, or page rendering.

How to install Memcached?
Below is a guide on how to install memcached on your server.
Download the memcached package.


wget http://memcached.googlecode.com/files/memcached-1.4.15.tar.gz
tar -vxzf memcached-1.4.15.tar.gz
./configure

checking for [...]]]></description>
			<content:encoded><![CDATA[<p><img src='http://seoroot.com/blog/wp-content/uploads/2012/11/memcached.jpg' alt='memcached' /></p>
<p><strong>What is Memcached?</strong><br />
An open source high-performance distributed memory object caching system.</p>
<blockquote><p>
<a href="http://memcached.org">Memcached</a> is an in-memory key-value store for small chunks of arbitrary data (strings, objects) from results of database calls, API calls, or page rendering.
</p></blockquote>
<p><strong>How to install Memcached?</strong><br />
Below is a guide on how to install memcached on your server.</p>
<p>Download the memcached package.</p>
<pre class="brush: php; ">

wget http://memcached.googlecode.com/files/memcached-1.4.15.tar.gz
tar -vxzf memcached-1.4.15.tar.gz
./configure

checking for gcov... /usr/bin/gcov
checking for main in -lgcov... yes
checking for library containing clock_gettime... -lrt
checking for library containing socket... none required
checking for library containing gethostbyname... none required
checking for libevent directory... configure: error: libevent is required.  You can get it from http://www.monkey.org/~provos/libevent/

      If it&#039;s already installed, specify its path using --with-libevent=/dir/
</pre>
<p>If the system is not able to find the libevent and libevent libraries during the configuration time then you need to install both libevent and libevent-devel packages.</p>
<pre class="brush: php; ">

yum -y install libevent libevent-devel
</pre>
<p>Once memcached is installed, you need to install a memcache client to be able to access the memcached server.</p>
<pre class="brush: php; ">

pecl install memcache
</pre>
<p> <a href="http://seoroot.com/blog/howto/how-to-install-memcached-on-centos-linux.html" class="more" class="more-link">(more&#8230;)</a></p>
<p><map name='google_ad_map_655'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/655?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_655' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=655&amp;url= http%3A%2F%2Fseoroot.com%2Fblog%2Fhowto%2Fhow-to-install-memcached-on-centos-linux.html' /></p>]]></content:encoded>
			<wfw:commentRss>http://seoroot.com/blog/howto/how-to-install-memcached-on-centos-linux.html/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
