<?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"
	>

<channel>
	<title>theiDaemon.com</title>
	<atom:link href="http://www.theidaemon.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.theidaemon.com</link>
	<description>the luxury of invaluable experience.</description>
	<pubDate>Tue, 16 Sep 2008 21:23:44 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
	<language>en</language>
			<item>
		<title>How to Replacing Widcomm Bluetooth stack with the Windows built-in stack</title>
		<link>http://www.theidaemon.com/eee-pc/how-to-replacing-widcomm-bluetooth-stack-with-the-windows-built-in-stack/</link>
		<comments>http://www.theidaemon.com/eee-pc/how-to-replacing-widcomm-bluetooth-stack-with-the-windows-built-in-stack/#comments</comments>
		<pubDate>Fri, 12 Sep 2008 18:07:56 +0000</pubDate>
		<dc:creator>iDaemon</dc:creator>
		
		<category><![CDATA[Eee PC]]></category>

		<guid isPermaLink="false">http://www.theidaemon.com/?p=19</guid>
		<description><![CDATA[On my 901, I only need Bluetooth for using my cell to connect to the internet (PAN). Therefore I wanted to get rid of the Widcomm stack to save some MBs and use the Windows build-in stack instead. To do this, open C:\WINDOWS\INF\BTH.INF which is the list of Bluetooth drivers Windows supports.
Search for &#8220;[Manufacturer]&#8221; and [...]]]></description>
			<content:encoded><![CDATA[<p>On my 901, I only need Bluetooth for using my cell to connect to the internet (PAN). Therefore I wanted to get rid of the Widcomm stack to save some MBs and use the Windows build-in stack instead. To do this, open C:\WINDOWS\INF\BTH.INF which is the list of Bluetooth drivers Windows supports.</p>
<p>Search for &#8220;[Manufacturer]&#8221; and you see a section like this:</p>
<blockquote><p><code><br />
[Manufacturer]<br />
%Microsoft%=Microsoft<br />
ALPS=ALPS, NT.5.1<br />
Belkin=Belkin, NT.5.1<br />
….</code></p></blockquote>
<p>Append the line Asus=ASUS, NT.5.1 to this list, so it looks like this:</p>
<blockquote><p><code>[Manufacturer]<br />
%Microsoft%=Microsoft<br />
ALPS=ALPS, NT.5.1<br />
Asus=ASUS, NT.5.1<br />
Belkin=Belkin, NT.5.1</code></p></blockquote>
<p>Next, search for &#8220;[Zeevo.NT.5.1]&#8221; and you will find this entry:</p>
<blockquote><p><code>[Zeevo.NT.5.1]<br />
Zeevo Bluetooth Solution=                        BthUsb, USB\Vid_0b7a&amp;Pid_07d0&amp;Rev_0126<br />
Zeevo Bluetooth Solution=                        BthUsb, USB\Vid_0b7a&amp;Pid_07d0&amp;Rev_0133</code></p></blockquote>
<p>Below this, append the following lines:</p>
<blockquote><p><code><br />
[Asus.NT.5.1]<br />
Asus BT-253=                        BthUsb, USB\VID_0B05&amp;PID_B700</code></p></blockquote>
<p>Save the file and quite Notepad.</p>
<p>Next, turn on Bluetooth using the EeePC tray Utility and the Widcomm Bluetooth symbol in your notification area should turn from red to white. Using &#8220;Add/Remove programs&#8221; start removing of the Widcomm Bluetooth drivers. At the end of the process, the setup program will instruct you to deactivate Bluetooth: Do it. Once removing is finished, you are asked to restart your computer: Don&#8217;t do it! Instead, activate Bluetooth again with the EeePC tray Utility and Windows should start immediately installing drivers for the newly detected Bluetooth device. Once this is finished (takes some time), reboot and you are done!</p>
<p>I know it strange to activate, deactivate BT several times but this was the only way I was able to get it working. Removing the Widcomm stack first and trying to install the Windows drivers never worked.</p>
<p>Enjoy!</p>
<p>Credit: Texhex from eeeuser.com</p>
]]></content:encoded>
			<wfw:commentRss>http://www.theidaemon.com/eee-pc/how-to-replacing-widcomm-bluetooth-stack-with-the-windows-built-in-stack/feed/</wfw:commentRss>
		</item>
		<item>
		<title>My Gear Wish list.</title>
		<link>http://www.theidaemon.com/gadget/my-gear-wish-list/</link>
		<comments>http://www.theidaemon.com/gadget/my-gear-wish-list/#comments</comments>
		<pubDate>Mon, 07 Jul 2008 07:33:37 +0000</pubDate>
		<dc:creator>iDaemon</dc:creator>
		
		<category><![CDATA[Gadget and Gizmo]]></category>

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

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

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

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

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

		<guid isPermaLink="false">http://www.theidaemon.com/?p=18</guid>
		<description><![CDATA[I&#8217;ll built wishlist of my next desktop here.
CPU - Considering&#8230;

CPU Cooler - Thermal Right Ultra-120 Extreme
Got it! (Powered by maSweet)
VGA -Sapphire Radeon HD 4870 Video Card
Perfect performance with best valued. Use this brand Or other brands, Since they are same card.
VGA Cooler - Considering&#8230;
RAM - Considering&#8230;
Mainboard - Considering&#8230;
Harddisk - Considering&#8230;
DVD Writer - Considering&#8230;
PSU - Considering&#8230;
Case [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ll built wishlist of my next desktop here.</p>
<p><strong>CPU</strong> - Considering&#8230;<br />
<strong><br />
CPU Cooler</strong> - <a href="http://www.tgsmartchoice.com/2-541966-B000PHEV6C-Thermalright_Ultra_120_eXtreme_Heat_sink_Socket_775_Socket_AM2_aluminum" target="_blank">Thermal Right Ultra-120 Extreme</a><br />
Got it! (Powered by maSweet)</p>
<p><strong>VGA</strong> -<a href="http://www.tgsmartchoice.com/2-541966-B001BOOMBC-Sapphire_Radeon_HD_4870_Video_Card_512MB_GDDR5_PCI_Express_20_x16_CrossFireX_Ready_Dual_Link_Dual_DVI_HDTV_HDMI_Support_VGA_Support">Sapphire Radeon HD 4870 Video Card</a><br />
Perfect performance with best valued. Use this brand Or other brands, Since they are same card.</p>
<p><strong>VGA Cooler</strong> - Considering&#8230;<br />
<strong>RAM</strong> - Considering&#8230;<br />
<strong>Mainboard</strong> - Considering&#8230;<br />
<strong>Harddisk</strong> - Considering&#8230;<br />
<strong>DVD Writer</strong> - Considering&#8230;<br />
<strong>PSU</strong> - Considering&#8230;<br />
<strong>Case</strong> - Cooler Master CM690</p>
<p>So, It may take some time to considerting the spec. If you have any suggestion please comment.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.theidaemon.com/gadget/my-gear-wish-list/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Install Squid Transparent Proxy (A.K.A httpd-accelerator)</title>
		<link>http://www.theidaemon.com/server-administration/install-squid-transparent-proxy-aka-httpd-accelerator/</link>
		<comments>http://www.theidaemon.com/server-administration/install-squid-transparent-proxy-aka-httpd-accelerator/#comments</comments>
		<pubDate>Wed, 09 Apr 2008 16:38:23 +0000</pubDate>
		<dc:creator>iDaemon</dc:creator>
		
		<category><![CDATA[Server Administration]]></category>

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

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

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

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

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

		<guid isPermaLink="false">http://www.theidaemon.com/?p=17</guid>
		<description><![CDATA[Here are for Squid 2.6+ only and here we go
# yum install squid
Then we need to make a config
# vi /etc/squid/squid.conf
by change these config,
edit http port to use transparent proxy
http_port 8080 transparent
search the line with acl QUERY urlpath_regex cgi-bin \? and add these after it
acl nc_post method POST
acl nc_script urlpath_regex -i \.htm \.php /$
cache deny [...]]]></description>
			<content:encoded><![CDATA[<p>Here are for Squid 2.6+ only and here we go</p>
<blockquote><p><code># yum install squid</code></p></blockquote>
<p>Then we need to make a config</p>
<blockquote><p><code># vi /etc/squid/squid.conf</code></p></blockquote>
<p>by change these config,</p>
<p>edit http port to use transparent proxy</p>
<blockquote><p><code>http_port 8080 transparent</code></p></blockquote>
<p>search the line with <span style="text-decoration: underline;">acl QUERY urlpath_regex cgi-bin \</span>? and add these after it</p>
<blockquote><p><code>acl nc_post method POST<br />
acl nc_script urlpath_regex -i \.htm \.php /$<br />
cache deny nc_post<br />
cache deny nc_script<br />
</code></p></blockquote>
<p>edit the size to fit your server</p>
<blockquote><p><code><br />
cache_mem 512 MB<br />
maximum_object_size 8192 KB<br />
minimum_object_size 2 KB<br />
maximum_object_size_in_memory 128 KB<br />
cache_replacement_policy heap LFUDA<br />
memory_replacement_policy heap GDSF<br />
cache_dir aufs /var/spool/squid 1024 16 256<br />
</code></p></blockquote>
<p>uncomment the logformat</p>
<blockquote><p><code><br />
logformat combined %&gt;a %ui %un [%tl] &#8220;%rm %ru HTTP/%rv&#8221; %Hs %h&#8221; &#8220;%{User-Agent}&gt;h&#8221; %Ss:%Sh</code></p></blockquote>
<p>edit the following *ip change it to fit your server</p>
<blockquote><p><code>access_log /var/log/squid/access.log combined<br />
dns_nameservers 127.0.0.1 123.123.123.123</code></p></blockquote>
<p>find the line <span style="text-decoration: underline;">acl CONNECT method CONNECT</span> and add the following</p>
<blockquote><p><code>acl to_httpd dst 123.123.123.123<br />
acl to_httpdport port 80<br />
acl to_httpdport port 3080<br />
http_access allow to_httpd to_httpdport</code></p></blockquote>
<p>edit the host name</p>
<blockquote><p><code>visible_hostname your.hostnameyouwant.here.com</code></p></blockquote>
<p>manage service and start it.</p>
<blockquote><p><code># chkconfig --level 345 squid on<br />
# squid -z<br />
# service squid start</code></p></blockquote>
<p>now you need to edit iptables to use the proxy</p>
<blockquote><p><code># iptables -t nat -A PREROUTING -p tcp -m tcp -d 123.123.123.123 --dport 8080 -j DROP<br />
# iptables -t nat -A PREROUTING -p tcp -m tcp -d 123.123.123.123 --dport 80 -j REDIRECT --to-ports 8080<br />
# service iptables save</code></p></blockquote>
<p>that&#8217;s all for running squid as transparent proxy but you need to do a following if you have problem experience with transparent proxy ip capture<br />
add these line to php.ini at line auto_prepend_file</p>
<blockquote><p><code><br />
<?php<br />
$refip = explode(",", $_SERVER["HTTP_X_FORWARDED_FOR"]);<br />
$_SERVER["REMOTE_ADDR"] = trim($refip[count($refip) - 1]);<br />
$_SERVER["HTTP_X_FORWARDED_FOR"] = "";<br />
for ($i=0; $i<count($refip) - 1; $i++) {<br />
$_SERVER["HTTP_X_FORWARDED_FOR"] .= ", ".trim($refip[$i]);<br />
}<br />
if (!empty($_SERVER["HTTP_X_FORWARDED_FOR"]))<br />
$_SERVER["HTTP_X_FORWARDED_FOR"] = substr($_SERVER["HTTP_X_FORWARDED_FOR"], 2);<br />
else<br />
unset($_SERVER["HTTP_X_FORWARDED_FOR"]);<br />
?> </code></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.theidaemon.com/server-administration/install-squid-transparent-proxy-aka-httpd-accelerator/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Centos 5 Network configuration, Shell method</title>
		<link>http://www.theidaemon.com/server-administration/centos-5-network-configuration-shell-method/</link>
		<comments>http://www.theidaemon.com/server-administration/centos-5-network-configuration-shell-method/#comments</comments>
		<pubDate>Wed, 09 Apr 2008 13:48:29 +0000</pubDate>
		<dc:creator>iDaemon</dc:creator>
		
		<category><![CDATA[Server Administration]]></category>

		<guid isPermaLink="false">http://www.theidaemon.com/?p=16</guid>
		<description><![CDATA[You can configure network card by editing text files stored in /etc/sysconfig/network-scripts/ directory. First change directory to /etc/sysconfig/network-scripts/:
# cd /etc/sysconfig/network-scripts/
You need to edit / create files as follows:
* /etc/sysconfig/network-scripts/ifcfg-eth0 : First Ethernet card configuration file
* /etc/sysconfig/network-scripts/ifcfg-eth1 : Second Ethernet card configuration file
To edit/create first NIC file, type command:
# vi ifcfg-eth0
Append/modify as follows:

# Intel Corporation 82801EB/ER [...]]]></description>
			<content:encoded><![CDATA[<p>You can configure network card by editing text files stored in /etc/sysconfig/network-scripts/ directory. First change directory to /etc/sysconfig/network-scripts/:</p>
<blockquote><p><code># cd /etc/sysconfig/network-scripts/</code></p></blockquote>
<p>You need to edit / create files as follows:</p>
<p>* /etc/sysconfig/network-scripts/ifcfg-eth0 : First Ethernet card configuration file<br />
* /etc/sysconfig/network-scripts/ifcfg-eth1 : Second Ethernet card configuration file</p>
<p>To edit/create first NIC file, type command:</p>
<blockquote><p><code># vi ifcfg-eth0</code></p></blockquote>
<p>Append/modify as follows:</p>
<blockquote><p><code><br />
# Intel Corporation 82801EB/ER (ICH5/ICH5R) integrated LAN Controller<br />
DEVICE=eth0<br />
HWADDR=00:e0:81:28:5b:cc<br />
ONBOOT=yes<br />
TYPE=Ethernet<br />
NETMASK=255.255.255.0<br />
IPADDR=192.168.2.100<br />
GATEWAY=192.168.2.1<br />
</code>
</p></blockquote>
<p>Save and close the file. Define default gateway (router IP) and hostname in /etc/sysconfig//network file:</p>
<blockquote><p><code># vi /etc/sysconfig/network</code></p></blockquote>
<p>Append/modify configuration as follows:</p>
<blockquote><p><code>NETWORKING=yes<br />
HOSTNAME=www.theidaemon.com<br />
GATEWAY=192.168.2.1</code></p></blockquote>
<p>Save and close the file. Restart networking:</p>
<blockquote><p><code># /etc/init.d/network restart</code></p></blockquote>
<p>Make sure you have correct DNS server defined in /etc/resolv.conf file:</p>
<blockquote><p><code># vi /etc/resolv.conf</code></p></blockquote>
<p>Setup DNS Server as follows:</p>
<blockquote><p><code><br />
nameserver 192.168.2.1<br />
nameserver 202.67.222.222<br />
</code></p></blockquote>
<p>Save and close the file. Now you can ping the gateway/other hosts:</p>
<blockquote><p><code>$ ping 192.168.2.101</code></p></blockquote>
<p>Output:</p>
<blockquote><p><code># ping 192.168.2.101<br />
PING 192.168.2.101 (192.168.2.101) 56(84) bytes of data.<br />
64 bytes from 192.168.2.101: icmp_seq=1 ttl=128 time=0.195 ms<br />
64 bytes from 192.168.2.101: icmp_seq=2 ttl=128 time=0.198 ms<br />
64 bytes from 192.168.2.101: icmp_seq=3 ttl=128 time=0.188 ms<br />
</code></p></blockquote>
<p>You can also check for Internet connectivity with nslookup or host command:</p>
<blockquote><p><code># nslookup google.com<br />
Server:         192.168.2.1<br />
Address:        192.168.2.1#53</p>
<p>Name:   google.com<br />
Address: 72.14.207.99</code>
</p></blockquote>
<p>You can also use host command:</p>
<blockquote><p><code># host theidaemon.com<br />
theidaemon.com has address 74.52.68.114<br />
theidaemon.com mail is handled by 0 theidaemon.com.</code></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.theidaemon.com/server-administration/centos-5-network-configuration-shell-method/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How do I install GNU C / C++ compiler on CentOS Linux server?</title>
		<link>http://www.theidaemon.com/server-administration/how-do-i-install-gnu-c-c-compiler-on-centos-linux-server/</link>
		<comments>http://www.theidaemon.com/server-administration/how-do-i-install-gnu-c-c-compiler-on-centos-linux-server/#comments</comments>
		<pubDate>Wed, 09 Apr 2008 01:26:21 +0000</pubDate>
		<dc:creator>iDaemon</dc:creator>
		
		<category><![CDATA[Server Administration]]></category>

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

		<category><![CDATA[c++]]></category>

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

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

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

		<guid isPermaLink="false">http://www.theidaemon.com/?p=15</guid>
		<description><![CDATA[If you installed a fresh Centos and not selected any package like me, You may need C compiler
try to install use following command
yum install gcc gcc-c++ autoconf automake

cheer!
]]></description>
			<content:encoded><![CDATA[<p>If you installed a fresh Centos and not selected any package like me, You may need C compiler</p>
<p>try to install use following command</p>
<blockquote><p><code>yum install gcc gcc-c++ autoconf automake</code>
</p></blockquote>
<p>cheer!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.theidaemon.com/server-administration/how-do-i-install-gnu-c-c-compiler-on-centos-linux-server/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Search and Replace String in MySQL database</title>
		<link>http://www.theidaemon.com/server-administration/search-and-replace-string-in-mysql-database/</link>
		<comments>http://www.theidaemon.com/server-administration/search-and-replace-string-in-mysql-database/#comments</comments>
		<pubDate>Mon, 24 Mar 2008 22:30:51 +0000</pubDate>
		<dc:creator>iDaemon</dc:creator>
		
		<category><![CDATA[Server Administration]]></category>

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

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

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

		<guid isPermaLink="false">http://www.theidaemon.com/common/search-and-replace-string-in-mysql-database/</guid>
		<description><![CDATA[How to search and replace string in mysql database? You can done with phpMyAdmin, That is a easy way.
To search and replace a text string, start up phpMyAdmin, and click on your database name that you want to run the search and replace through. At the top of the window, click on the &#8220;SQL&#8221; tab.In [...]]]></description>
			<content:encoded><![CDATA[<p>How to search and replace string in mysql database? You can done with phpMyAdmin, That is a easy way.</p>
<p>To search and replace a text string, start up phpMyAdmin, and click on your database name that you want to run the search and replace through. At the top of the window, click on the &#8220;SQL&#8221; tab.In the text box, enter the following code.  This is the generic setup, so edit to satisfy your needs:</p>
<blockquote><p><code>UPDATE tablename SET tablefield = replace(tablefield,"findstring","replacestring");</code></p></blockquote>
<p>You can add a WHERE clause onto this as well.</p>
<p>For example, here is one command a ran:</p>
<blockquote><p><code>UPDATE `mos2_content` SET introtext = replace(introtext,"&lt;p&gt;","") WHERE `title` REGEXP '-0';</code></p></blockquote>
<p>This got rid of all paragraph tags in the mos2_content table where the title included the string &#8220;-0&#8243;.</p>
<p>Hope this helps.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.theidaemon.com/server-administration/search-and-replace-string-in-mysql-database/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to backup mysql database</title>
		<link>http://www.theidaemon.com/server-administration/how-to-backup-mysql-database/</link>
		<comments>http://www.theidaemon.com/server-administration/how-to-backup-mysql-database/#comments</comments>
		<pubDate>Tue, 18 Mar 2008 22:11:51 +0000</pubDate>
		<dc:creator>iDaemon</dc:creator>
		
		<category><![CDATA[Server Administration]]></category>

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

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

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

		<guid isPermaLink="false">http://www.theidaemon.com/server-administration/how-to-backup-mysql-database/</guid>
		<description><![CDATA[usage

#mysqldump [options] db_name [tables]
#mysqldump [options] &#8211;databases db_name1 [db_name2 db_name3...]
#mysqldump [options] &#8211;all-databases
Example
#mysqldump -u root -p mydatabase &#62; db.sql
Specific table
#mysqldump -u root -p mydatabase -tables customer &#62; db.sql
How to restore database
#mysql -u root -p database &#60; db.sq
]]></description>
			<content:encoded><![CDATA[<p>usage</p>
<blockquote><p><code><br />
#mysqldump [options] db_name [tables]<br />
#mysqldump [options] &#8211;databases db_name1 [db_name2 db_name3...]<br />
#mysqldump [options] &#8211;all-databases</code></p></blockquote>
<p>Example</p>
<blockquote><p><code>#mysqldump -u root -p mydatabase &gt; db.sql</code></p></blockquote>
<p>Specific table</p>
<blockquote><p><code>#mysqldump -u root -p mydatabase -tables customer &gt; db.sql</code></p></blockquote>
<p>How to restore database</p>
<blockquote><p><code>#mysql -u root -p database &lt; db.sq</code></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.theidaemon.com/server-administration/how-to-backup-mysql-database/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Godaddy promotion coupon list</title>
		<link>http://www.theidaemon.com/hotsting/godaddy-promotion-coupon-list/</link>
		<comments>http://www.theidaemon.com/hotsting/godaddy-promotion-coupon-list/#comments</comments>
		<pubDate>Mon, 17 Mar 2008 07:38:43 +0000</pubDate>
		<dc:creator>iDaemon</dc:creator>
		
		<category><![CDATA[Domain and Web Hosting]]></category>

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

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

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

		<guid isPermaLink="false">http://www.theidaemon.com/hotsting/godaddy-promotion-coupon-list/</guid>
		<description><![CDATA[This is a list of coupon code
OYH3 - $3 off / $6.95 any .COM
BTPS7 - 20% any order of $50 or more
OYH1 - 10% off whatever
BTPS20 - 25% any order of $100 or more
BTPS4 - 10% off anything
OYH2 - $5 off a $30 purchase
hash1 - 10% offhash2 - $5 off $30
hash3 - $6.95 .com registration
gdd1101c [...]]]></description>
			<content:encoded><![CDATA[<p>This is a list of coupon code</p>
<p>OYH3 - $3 off / $6.95 any .COM</p>
<p>BTPS7 - 20% any order of $50 or more</p>
<p>OYH1 - 10% off whatever</p>
<p>BTPS20 - 25% any order of $100 or more</p>
<p>BTPS4 - 10% off anything</p>
<p>OYH2 - $5 off a $30 purchase</p>
<p>hash1 - 10% offhash2 - $5 off $30</p>
<p>hash3 - $6.95 .com registration</p>
<p>gdd1101c - 10% off any order of $40 or more</p>
<p>chill1 - 10% off</p>
<p>chill2 - $5 off $30</p>
<p>chill3 - $6.95 .coms</p>
]]></content:encoded>
			<wfw:commentRss>http://www.theidaemon.com/hotsting/godaddy-promotion-coupon-list/feed/</wfw:commentRss>
		</item>
		<item>
		<title>MRTG : The prefect setup for CentOS 5.1</title>
		<link>http://www.theidaemon.com/server-administration/mrtg-the-prefect-setup-fohttpwwwtheidaemoncomwp-adminpostphpactioneditpost10r-centos-51/</link>
		<comments>http://www.theidaemon.com/server-administration/mrtg-the-prefect-setup-fohttpwwwtheidaemoncomwp-adminpostphpactioneditpost10r-centos-51/#comments</comments>
		<pubDate>Fri, 07 Mar 2008 15:39:11 +0000</pubDate>
		<dc:creator>iDaemon</dc:creator>
		
		<category><![CDATA[Server Administration]]></category>

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

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

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

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

		<guid isPermaLink="false">http://www.theidaemon.com/2008/03/07/mrtg-the-prefect-setup-fohttpwwwtheidaemoncomwp-adminpostphpactioneditpost10r-centos-51/</guid>
		<description><![CDATA[Today I have finished install mrtg for my idaemon server and here are the perfect setup instruction for who run centos 5.1 in the box.
check this instruction  you will not regret, after I have try from many source and googled all day this is the way out!
Part I : SNMP Server
we need to install [...]]]></description>
			<content:encoded><![CDATA[<p>Today I have finished install mrtg for my idaemon server and here are the perfect setup instruction for who run centos 5.1 in the box.</p>
<p>check this instruction  you will not regret, after I have try from many source and googled all day this is the way out!</p>
<p><strong>Part I : SNMP Server</strong></p>
<p>we need to install snmp service to make mrtg graph work.</p>
<pre><code>#yum install net-snmp-utils net-snmp</code></pre>
<p>after it installed make this service that run automaticaly.</p>
<p><code>#chkconfig --level 345 snmpd</code></p>
<p>run it.</p>
<p><code>#service snmpd start</code></p>
<p>check service that run properly.</p>
<p><code>#netstat -natv | grep ':199'</code></p>
<p>look into the line that should be.</p>
<p><code>tcp        0      0 127.0.0.1:199               0.0.0.0:*                   LISTEN </code></p>
<p>now we must check this service.</p>
<p><code>#snmpwalk -v 1 -c public localhost IP-MIB::ipAdEntIfIndex </code></p>
<p>the output should be like this. note that 192.168.0.3 is your network ip or internet ip.</p>
<p><code>ip.ipAddrTable.ipAddrEntry.ipAdEntIfIndex.127.0.0.1 = 1<br />
ip.ipAddrTable.ipAddrEntry.ipAdEntIfIndex.192.168.0.3 = 2</code></p>
<p><span id="more-10"></span><br />
if it not show any line in output you should make a configuration. before that better to make copy of cfg file.</p>
<p><code>#cp /etc/snmp/snmpd.conf /etc/snmp/snmpd.conf.original</code></p>
<p>then it&#8217;s time to config.</p>
<p><code>#vi /etc/snmp/snmpd.conf</code></p>
<p>looking for</p>
<p><code>com2sec notConfigUser  default       public </code></p>
<p>comment it and replace with note that 192.0.0.0 that your ip class.</p>
<p><code>com2sec local          localhost        public<br />
com2sec mynetwork 192.0.0.0/8      public </code></p>
<p>then looking for these line.</p>
<p><code>com2sec local          localhost        public<br />
com2sec mynetwork 10.0.0.0/8      public </code></p>
<p>comment them and replace with.</p>
<p><code>group   MyRWGroup      v1          local<br />
group   MyRWGroup      v2c         local<br />
group   MyRWGroup      usm       local<br />
group   MyROGroup      v1          mynetwork<br />
group   MyROGroup      v2c         mynetwork<br />
group   MyROGroup      usm       mynetwork </code></p>
<p>looking for</p>
<p><code>view    systemview    included   .1.3.6.1.2.1.1<br />
view    systemview    included   .1.3.6.1.2.1.25.1.1  </code></p>
<p>same process comment it and add with this</p>
<p><code>view    all            included      .1              80 </code></p>
<p>and find this</p>
<p><code>access  notConfigGroup "?"      any       noauth    exact  systemview none none   </code></p>
<p>replace with</p>
<p><code>access MyROGroup "?"      any       noauth    exact  all    none   none<br />
access MyRWGroup "?"      any       noauth    exact  all    all    none   </code></p>
<p>the last one change your information if you wish. from this</p>
<p><code>syslocation Unknown (edit /etc/snmp/snmpd.conf)<br />
syscontact Root  (configure /etc/snmp/snmp.local.conf) </code></p>
<p>with your information</p>
<p><code>syslocation Linux, Centos 5.1<br />
syscontact Root root@localhost</code></p>
<p>save it. and now we need to restart snmp server</p>
<p><code>#service snmpd restart    </code></p>
<p>test it with snmpwalk</p>
<p><code>#snmpwalk -v 1 -c public localhost IP-MIB::ipAdEntIfIndex </code></p>
<p>now we will meet output like this</p>
<p><code>IP-MIB::ipAdEntIfIndex.192.168.2.105 = INTEGER: 2<br />
IP-MIB::ipAdEntIfIndex.127.0.0.1 = INTEGER: 1 </code></p>
<p><strong>Part I : MRTG</strong></p>
<p>install it</p>
<p><code>#yum install mrtg</code></p>
<p>create a directoty we want a index page</p>
<p><code>#mkdir /var/www/html/mrtg/ </code></p>
<p>make a configuration file</p>
<p><code>#cfgmaker --global "workdir: /var/www/mrtg" -ifref=ip --output /etc/mrtg/mrtg.cfg --global 'options[_]: growright,bits&#8217; root@localhost </code></p>
<p>create a index file</p>
<p><code>#indexmaker --output=/var/www/html/mrtg/index.html /etc/mrtg/mrtg.cfg   </code></p>
<p>next, we need to config apache alias edit in /etc/httpd/conf.d/mrtg.conf</p>
<p><code> Alias /mrtg /var/www/mrtg<br />
<location><br />
Order allow,deny<br />
Allow from all<br />
</location><br />
</code></p>
<p>Now we need to check</p>
<p><code>#mrtg /etc/mrtg/mrtg.cfg </code></p>
<p>they may be show</p>
<p><code> ERROR: Mrtg will most likely not work properly when the environment</code></p>
<p><code>variable LANG is set to UTF-8. Please run mrtg in an environment</code></p>
<p>where this is not the case. Try the following command to start:</p>
<p>#env LANG=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg</p>
<p>fix it with this</p>
<p><code>#env LANG=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg</code></p>
<p>they will show some error again don&#8217;t worry</p>
<p><code>#env LANG=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg</code></p>
<p>now we will promt to # again so we can view mrtg now!</p>
<p><code>http://www.yoursite.com/mrtg</code></p>
<p>congrat!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.theidaemon.com/server-administration/mrtg-the-prefect-setup-fohttpwwwtheidaemoncomwp-adminpostphpactioneditpost10r-centos-51/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Best Free DNS Service for your primary or slave DNS server</title>
		<link>http://www.theidaemon.com/hotsting/best-free-dns-service/</link>
		<comments>http://www.theidaemon.com/hotsting/best-free-dns-service/#comments</comments>
		<pubDate>Wed, 05 Mar 2008 10:32:02 +0000</pubDate>
		<dc:creator>iDaemon</dc:creator>
		
		<category><![CDATA[Domain and Web Hosting]]></category>

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

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

		<guid isPermaLink="false">http://www.theidaemon.com/2008/03/05/best-free-dns-service/</guid>
		<description><![CDATA[Try this free dns service control for your domain. they are note as best in their industry

 Zoneedit.com
FreeDNS

I have used these for my master domain Thaigaming.com
]]></description>
			<content:encoded><![CDATA[<p>Try this free dns service control for your domain. they are note as best in their industry</p>
<ul>
<li><a href="http://www.zoneedit.com"> Zoneedit.com</a></li>
<li><a href="freedns.afraid.org">FreeDNS</a></li>
</ul>
<p>I have used these for my master domain <a href="http://www.thaigaming.com">Thaigaming.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.theidaemon.com/hotsting/best-free-dns-service/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
