<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>LAMP How To - Open Source At Work</title>
	
	<link>http://www.azhowto.com</link>
	<description>Only Passion Matters</description>
	<pubDate>Sun, 28 Feb 2010 11:05:30 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.5</generator>
	<language>en</language>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking" /><feedburner:info uri="everythinglinux-webdevelopmentlinuxadministrationandnetworking" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Installing phpunit</title>
		<link>http://feedproxy.google.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~3/D0qsO_b5AHU/</link>
		<comments>http://www.azhowto.com/2010/02/27/installing-phpuni/#comments</comments>
		<pubDate>Sat, 27 Feb 2010 06:57:41 +0000</pubDate>
		<dc:creator>bpeh</dc:creator>
		
		<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://www.azhowto.com/?p=631</guid>
		<description>this is very simple, firstly install pear
http://www.azhowto.com/2009/08/14/php-manual-install-of-pear/
then from the pear manual, ie http://www.phpunit.de/manual/3.4/en/installation.html

pear channel-discover pear.phpunit.de
pear channel-discover pear.symfony-project.com
pear install --alldeps phpunit/PHPUnit

getting the latest phpunit will need php 5.2 and above. To get php 5.2,
see http://www.azhowto.com/2009/08/07/getting-new-packages-from-centos-dev-repo/
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/c5cfKBAa3e_C5WDuQJb2rfmGsiI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/c5cfKBAa3e_C5WDuQJb2rfmGsiI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/c5cfKBAa3e_C5WDuQJb2rfmGsiI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/c5cfKBAa3e_C5WDuQJb2rfmGsiI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~4/D0qsO_b5AHU" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.azhowto.com/2010/02/27/installing-phpuni/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.azhowto.com/2010/02/27/installing-phpuni/</feedburner:origLink></item>
		<item>
		<title>Highly available load Balancer + web server in centos</title>
		<link>http://feedproxy.google.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~3/aZyQM1ztRBE/</link>
		<comments>http://www.azhowto.com/2010/02/10/highly-available-load-balancer-web-server-in-centos/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 10:38:57 +0000</pubDate>
		<dc:creator>bpeh</dc:creator>
		
		<category><![CDATA[Think Linux]]></category>

		<category><![CDATA[Think Software]]></category>

		<category><![CDATA[Think Technology]]></category>

		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://www.azhowto.com/?p=629</guid>
		<description>This tutorial is about creating a highly available HTTP load balancer using HAProxy. The setup can be slightly complicated but you will appreciate the result - you will get a load-balanced + highly available web service in your network. Basic linux skill is assumed.
Scenario:
Imagine we have 2 physical machines. In each machine, I have 2 [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/IkTFkg9jXlgF5ccMxqi8YwtuhLU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/IkTFkg9jXlgF5ccMxqi8YwtuhLU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/IkTFkg9jXlgF5ccMxqi8YwtuhLU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/IkTFkg9jXlgF5ccMxqi8YwtuhLU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~4/aZyQM1ztRBE" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.azhowto.com/2010/02/10/highly-available-load-balancer-web-server-in-centos/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.azhowto.com/2010/02/10/highly-available-load-balancer-web-server-in-centos/</feedburner:origLink></item>
		<item>
		<title>submitting a form using hyperlinks</title>
		<link>http://feedproxy.google.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~3/c5Zi4e0P_nI/</link>
		<comments>http://www.azhowto.com/2010/02/10/submitting-a-form-using-hyperlinks/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 03:08:36 +0000</pubDate>
		<dc:creator>bpeh</dc:creator>
		
		<category><![CDATA[Think PHP]]></category>

		<category><![CDATA[Think SQL]]></category>

		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.azhowto.com/?p=625</guid>
		<description>If using hyperlink to submit form, remember to return false in &amp;#8220;onclick&amp;#8221; so that it is backward compatible with IE6, ie
&amp;#60;a class=&amp;#8221;button_next&amp;#8221; href=&amp;#8221;javascript:;&amp;#8221; onclick=&amp;#8221;$(&amp;#8217;#form_wizard&amp;#8217;).submit();return false;&amp;#8221;&amp;#62;
&amp;#60;span&amp;#62;Update&amp;#60;/span&amp;#62;
&amp;#60;/a&amp;#62;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/hbMxCnaaAD2QQ-oCjZC6LyVZZNo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/hbMxCnaaAD2QQ-oCjZC6LyVZZNo/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/hbMxCnaaAD2QQ-oCjZC6LyVZZNo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/hbMxCnaaAD2QQ-oCjZC6LyVZZNo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~4/c5Zi4e0P_nI" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.azhowto.com/2010/02/10/submitting-a-form-using-hyperlinks/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.azhowto.com/2010/02/10/submitting-a-form-using-hyperlinks/</feedburner:origLink></item>
		<item>
		<title>resolving jquery conflict with other javascript libraries</title>
		<link>http://feedproxy.google.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~3/ApoeROGsbQs/</link>
		<comments>http://www.azhowto.com/2010/02/04/resolving-jquery-conflict-with-other-javascript-libraries/#comments</comments>
		<pubDate>Thu, 04 Feb 2010 00:23:31 +0000</pubDate>
		<dc:creator>bpeh</dc:creator>
		
		<category><![CDATA[Think PHP]]></category>

		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://www.azhowto.com/?p=622</guid>
		<description>It is good to know that jquery can work with other js libraries&amp;#8230;
Just need to know how to resolve the conflict
http://api.jquery.com/jQuery.noConflict
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/-tyzGwvsPYQkpk17hzzWLIkhYIk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/-tyzGwvsPYQkpk17hzzWLIkhYIk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/-tyzGwvsPYQkpk17hzzWLIkhYIk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/-tyzGwvsPYQkpk17hzzWLIkhYIk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~4/ApoeROGsbQs" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.azhowto.com/2010/02/04/resolving-jquery-conflict-with-other-javascript-libraries/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.azhowto.com/2010/02/04/resolving-jquery-conflict-with-other-javascript-libraries/</feedburner:origLink></item>
		<item>
		<title>syncing date and time in command line</title>
		<link>http://feedproxy.google.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~3/WvzASDa96A4/</link>
		<comments>http://www.azhowto.com/2010/01/22/syncing-date-and-time-in-command-line/#comments</comments>
		<pubDate>Fri, 22 Jan 2010 23:25:23 +0000</pubDate>
		<dc:creator>bpeh</dc:creator>
		
		<category><![CDATA[Think Linux]]></category>

		<guid isPermaLink="false">http://www.azhowto.com/?p=620</guid>
		<description>having the wrong date and time in the system can be disastrous as many applications will be using the system date and time. It is therefore very important to have the right date and time.
In linux,

yum install ntp
chkconfig ntp on
ntpdate pool.ntp.org
service ntpd start

You can add the ntpdate command to cron to automate the syncing process. [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/gekr28VdtOwq7fi4b7EV9K49hVc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/gekr28VdtOwq7fi4b7EV9K49hVc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/gekr28VdtOwq7fi4b7EV9K49hVc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/gekr28VdtOwq7fi4b7EV9K49hVc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~4/WvzASDa96A4" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.azhowto.com/2010/01/22/syncing-date-and-time-in-command-line/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.azhowto.com/2010/01/22/syncing-date-and-time-in-command-line/</feedburner:origLink></item>
		<item>
		<title>Starting and stopping vmware in linux command line</title>
		<link>http://feedproxy.google.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~3/ETdJ_DdQsLo/</link>
		<comments>http://www.azhowto.com/2010/01/20/starting-and-stopping-vmware-in-linux-command-line/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 23:55:57 +0000</pubDate>
		<dc:creator>bpeh</dc:creator>
		
		<category><![CDATA[Blog]]></category>

		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://www.azhowto.com/?p=617</guid>
		<description>One advantage of using command line is that you can start and stop the VM without logging into the web console. I am using vmware server 2.0. I believe it should work the same for future versions. 
To start and stop certain instance, say ares,

vmrun -T server -h 'https://10.2.115.21:8333/sdk' -u root -p 'yourpass' start "[standard] [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/CivKnKUGrm32UwUuCqn3V_ZsxZs/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/CivKnKUGrm32UwUuCqn3V_ZsxZs/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/CivKnKUGrm32UwUuCqn3V_ZsxZs/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/CivKnKUGrm32UwUuCqn3V_ZsxZs/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~4/ETdJ_DdQsLo" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.azhowto.com/2010/01/20/starting-and-stopping-vmware-in-linux-command-line/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.azhowto.com/2010/01/20/starting-and-stopping-vmware-in-linux-command-line/</feedburner:origLink></item>
		<item>
		<title>using variables in cron</title>
		<link>http://feedproxy.google.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~3/qyle7wewPwk/</link>
		<comments>http://www.azhowto.com/2010/01/20/using-variables-in-cron/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 23:49:06 +0000</pubDate>
		<dc:creator>bpeh</dc:creator>
		
		<category><![CDATA[Blog]]></category>

		<category><![CDATA[cron]]></category>

		<guid isPermaLink="false">http://www.azhowto.com/?p=615</guid>
		<description>unlike normal bash scripts, you can&amp;#8217;t really use the back ticks to execute a certain command like so

DATE=`date +%F`

In crontab, you have to use the $(), eg

$(date +\%F)
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/FOEijrwCo8Fn973oEH3H8Cs3YNE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/FOEijrwCo8Fn973oEH3H8Cs3YNE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/FOEijrwCo8Fn973oEH3H8Cs3YNE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/FOEijrwCo8Fn973oEH3H8Cs3YNE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~4/qyle7wewPwk" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.azhowto.com/2010/01/20/using-variables-in-cron/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.azhowto.com/2010/01/20/using-variables-in-cron/</feedburner:origLink></item>
		<item>
		<title>fsck on lvm partition</title>
		<link>http://feedproxy.google.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~3/LnDQoK20X50/</link>
		<comments>http://www.azhowto.com/2010/01/20/fsck-on-lvm-partition/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 20:52:25 +0000</pubDate>
		<dc:creator>bpeh</dc:creator>
		
		<category><![CDATA[Blog]]></category>

		<category><![CDATA[lvm]]></category>

		<guid isPermaLink="false">http://www.azhowto.com/?p=613</guid>
		<description>fsck on lvm can be a bit tricky. Like a the normal process, the partition needs to be umounted and we can boot up using the rescue cd or in emergency mode. Normally, you

fsck /dev/sda1

if the partition is lvm, you need to activate the lvm first like so

vgchange --ignorelockingfailure -ay
lvscan --ignorelockingfailure (this command should now [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Ds5vKCKrwniT-J4PvUQnAhwljyg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Ds5vKCKrwniT-J4PvUQnAhwljyg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Ds5vKCKrwniT-J4PvUQnAhwljyg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Ds5vKCKrwniT-J4PvUQnAhwljyg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~4/LnDQoK20X50" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.azhowto.com/2010/01/20/fsck-on-lvm-partition/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.azhowto.com/2010/01/20/fsck-on-lvm-partition/</feedburner:origLink></item>
		<item>
		<title>SVN commits fail- Can’t get exclusive lock</title>
		<link>http://feedproxy.google.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~3/lYRiwnIfc9A/</link>
		<comments>http://www.azhowto.com/2010/01/15/svn-commits-fail-cant-get-exclusive-lock/#comments</comments>
		<pubDate>Fri, 15 Jan 2010 03:36:13 +0000</pubDate>
		<dc:creator>bpeh</dc:creator>
		
		<category><![CDATA[Blog]]></category>

		<category><![CDATA[nfs]]></category>

		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://www.azhowto.com/?p=611</guid>
		<description>this could be due to many reasons. If your data is in a nfs mounted drive, restart nfs and it should fix the problem.
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/10ESP3fUiAparaHviQaIlD5ppRw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/10ESP3fUiAparaHviQaIlD5ppRw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/10ESP3fUiAparaHviQaIlD5ppRw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/10ESP3fUiAparaHviQaIlD5ppRw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~4/lYRiwnIfc9A" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.azhowto.com/2010/01/15/svn-commits-fail-cant-get-exclusive-lock/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.azhowto.com/2010/01/15/svn-commits-fail-cant-get-exclusive-lock/</feedburner:origLink></item>
		<item>
		<title>php coding standard and tips</title>
		<link>http://feedproxy.google.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~3/BBmCVEsElnQ/</link>
		<comments>http://www.azhowto.com/2010/01/10/php-coding-standard-and-tips/#comments</comments>
		<pubDate>Sun, 10 Jan 2010 10:53:32 +0000</pubDate>
		<dc:creator>bpeh</dc:creator>
		
		<category><![CDATA[Blog]]></category>

		<category><![CDATA[Think PHP]]></category>

		<category><![CDATA[zend framework]]></category>

		<guid isPermaLink="false">http://www.azhowto.com/?p=607</guid>
		<description>It is important that developers follow a certain coding standard to help make the code readable and maintainable. These are what I gathered so far as the best coding practice:
File formatting:
- Never close php tag when using zend framework, ie, &amp;#8220;?&amp;#62;&amp;#8221;
- Use 4 space indentation as tab spacing. It is possible to configure this in [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/U9BBpZTA6FBubKQFKyd5hnGUVE4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/U9BBpZTA6FBubKQFKyd5hnGUVE4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/U9BBpZTA6FBubKQFKyd5hnGUVE4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/U9BBpZTA6FBubKQFKyd5hnGUVE4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~4/BBmCVEsElnQ" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.azhowto.com/2010/01/10/php-coding-standard-and-tips/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.azhowto.com/2010/01/10/php-coding-standard-and-tips/</feedburner:origLink></item>
		<item>
		<title>Installing SVN on a samba shared drive in mac</title>
		<link>http://feedproxy.google.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~3/ZU5bVit0uug/</link>
		<comments>http://www.azhowto.com/2010/01/07/installing-svn-on-a-samba-shared-drive-in-mac/#comments</comments>
		<pubDate>Thu, 07 Jan 2010 21:30:41 +0000</pubDate>
		<dc:creator>bpeh</dc:creator>
		
		<category><![CDATA[Think Linux]]></category>

		<category><![CDATA[samba]]></category>

		<guid isPermaLink="false">http://www.azhowto.com/?p=605</guid>
		<description>1. Configure the samba share in linux. It needs to have the &amp;#8220;delete readonly = yes&amp;#8221; line, if not, you will permission errors in .svn/entries when checking out projects in mac. so we need something like this:

[homes]
        comment = LAM IT Home Directories
      [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/d4YheqKqEGSpBPejeLK_yThEJNQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/d4YheqKqEGSpBPejeLK_yThEJNQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/d4YheqKqEGSpBPejeLK_yThEJNQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/d4YheqKqEGSpBPejeLK_yThEJNQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~4/ZU5bVit0uug" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.azhowto.com/2010/01/07/installing-svn-on-a-samba-shared-drive-in-mac/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.azhowto.com/2010/01/07/installing-svn-on-a-samba-shared-drive-in-mac/</feedburner:origLink></item>
		<item>
		<title>mounting windows share on local machine via samba - fixing selinux</title>
		<link>http://feedproxy.google.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~3/HoQciXrX5k0/</link>
		<comments>http://www.azhowto.com/2010/01/07/mounting-windows-share-on-local-machine-via-samba-fixing-selinux/#comments</comments>
		<pubDate>Thu, 07 Jan 2010 02:16:23 +0000</pubDate>
		<dc:creator>bpeh</dc:creator>
		
		<category><![CDATA[Think Linux]]></category>

		<category><![CDATA[selinux]]></category>

		<guid isPermaLink="false">http://www.azhowto.com/?p=602</guid>
		<description>if you are running selinux, you get this error

SELinux is preventing samba (smbd) "getattr" to /mnt/blarblar (cifs_t). For complete SELinux messages. run sealert -l e523015e-150a-4736-80c1-c7a40af6d396"

In fstab, we need to mount samba with the right context like so:

//10.2.115.11/linuxbackup /mnt/blarblar  cifs domain=MYDOMAIN,user=backupservice,password=blarblar,context=system_u:object_r:samba_share_t:s0 0 0

or using command line, remember to use the right context

mount --context="system_u:object_r:samba_share_t:s0"

I found the &amp;#8220;samba_selinux&amp;#8221; [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/cuwwn2d7kMWuqcoL63n8dr3v51Q/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/cuwwn2d7kMWuqcoL63n8dr3v51Q/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/cuwwn2d7kMWuqcoL63n8dr3v51Q/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/cuwwn2d7kMWuqcoL63n8dr3v51Q/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~4/HoQciXrX5k0" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.azhowto.com/2010/01/07/mounting-windows-share-on-local-machine-via-samba-fixing-selinux/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.azhowto.com/2010/01/07/mounting-windows-share-on-local-machine-via-samba-fixing-selinux/</feedburner:origLink></item>
		<item>
		<title>Installing KVM in Centos, Redhat or Fedora</title>
		<link>http://feedproxy.google.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~3/a_1KL55tYbI/</link>
		<comments>http://www.azhowto.com/2009/12/23/installing-kvm-in-centos-redhat-or-fedora/#comments</comments>
		<pubDate>Wed, 23 Dec 2009 12:37:27 +0000</pubDate>
		<dc:creator>bpeh</dc:creator>
		
		<category><![CDATA[Think Linux]]></category>

		<category><![CDATA[Think Networking]]></category>

		<category><![CDATA[Think Software]]></category>

		<category><![CDATA[Think Technology]]></category>

		<category><![CDATA[kvm]]></category>

		<category><![CDATA[virtualisation]]></category>

		<guid isPermaLink="false">http://www.azhowto.com/?p=600</guid>
		<description>KVM is available in RHEL 5.4. I finally managed to find the time to play around it over the weekend. I don&amp;#8217;t think it is as matured as xen but having said that, I do agree with the approach - Kernel virtualisation. Redhat is promoting kvm very hard and you can see it from their [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/UTmq05i0Rp2K0C3eih8IO8P6pKc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/UTmq05i0Rp2K0C3eih8IO8P6pKc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/UTmq05i0Rp2K0C3eih8IO8P6pKc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/UTmq05i0Rp2K0C3eih8IO8P6pKc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~4/a_1KL55tYbI" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.azhowto.com/2009/12/23/installing-kvm-in-centos-redhat-or-fedora/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.azhowto.com/2009/12/23/installing-kvm-in-centos-redhat-or-fedora/</feedburner:origLink></item>
		<item>
		<title>making dd to report the copy status</title>
		<link>http://feedproxy.google.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~3/OpfOZzOjbkw/</link>
		<comments>http://www.azhowto.com/2009/12/23/making-dd-to-report-the-copy-status/#comments</comments>
		<pubDate>Wed, 23 Dec 2009 03:50:53 +0000</pubDate>
		<dc:creator>bpeh</dc:creator>
		
		<category><![CDATA[Think Linux]]></category>

		<guid isPermaLink="false">http://www.azhowto.com/?p=592</guid>
		<description>the linux &amp;#8220;dd&amp;#8221; command is indispensible to all sys admin. Many people already know that by killing the dd process with the usr1 signal, we can force it to display the file transfer status which is useful.
You can either run a script or check the dd process id from &amp;#8220;ps aux&amp;#8221;, then 

kill -usr1 pid

The [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/GP7DPH0HK225IqwDma8CYBvd0Nw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/GP7DPH0HK225IqwDma8CYBvd0Nw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/GP7DPH0HK225IqwDma8CYBvd0Nw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/GP7DPH0HK225IqwDma8CYBvd0Nw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~4/OpfOZzOjbkw" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.azhowto.com/2009/12/23/making-dd-to-report-the-copy-status/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.azhowto.com/2009/12/23/making-dd-to-report-the-copy-status/</feedburner:origLink></item>
		<item>
		<title>Installing different language support for Linux</title>
		<link>http://feedproxy.google.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~3/ylHZwLa9Fms/</link>
		<comments>http://www.azhowto.com/2009/12/21/installing-different-language-support-for-linux/#comments</comments>
		<pubDate>Mon, 21 Dec 2009 05:04:51 +0000</pubDate>
		<dc:creator>bpeh</dc:creator>
		
		<category><![CDATA[Think Linux]]></category>

		<guid isPermaLink="false">http://www.azhowto.com/?p=590</guid>
		<description>It is easy using yum.
If want to install chinese in centos for example,
yum install "@Chinese Support"
This will bring in all required chinese libraries&amp;#8230;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/gCn0DgmOVg1tHflEIYojdoemHdU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/gCn0DgmOVg1tHflEIYojdoemHdU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/gCn0DgmOVg1tHflEIYojdoemHdU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/gCn0DgmOVg1tHflEIYojdoemHdU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~4/ylHZwLa9Fms" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.azhowto.com/2009/12/21/installing-different-language-support-for-linux/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.azhowto.com/2009/12/21/installing-different-language-support-for-linux/</feedburner:origLink></item>
		<item>
		<title>Setting Up A Secure Linux Authentication Server Quickly (LDAP + TLS + SAMBA)</title>
		<link>http://feedproxy.google.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~3/FPJDWAbRlFA/</link>
		<comments>http://www.azhowto.com/2009/09/18/setting-up-a-secure-linux-authentication-server-quickly-ldap-tls-samba/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 05:40:22 +0000</pubDate>
		<dc:creator>bpeh</dc:creator>
		
		<category><![CDATA[Blog]]></category>

		<category><![CDATA[Think Linux]]></category>

		<category><![CDATA[Think Networking]]></category>

		<category><![CDATA[Think Technology]]></category>

		<category><![CDATA[ldap]]></category>

		<category><![CDATA[samba]]></category>

		<category><![CDATA[tls]]></category>

		<guid isPermaLink="false">http://www.azhowto.com/?p=552</guid>
		<description>Just like microsoft active directory, having a centralised authentication server in linux is important especially when you have more than one server or service to manage. Just imagine each service (ssh, samba, httpd&amp;#8230;etc) has its own user database&amp;#8230; Sooner or later, you will find managing users very difficult. A simple task like deleting a user [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/CIwZE91vwFIncQXI54Ryr_AIbNI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/CIwZE91vwFIncQXI54Ryr_AIbNI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/CIwZE91vwFIncQXI54Ryr_AIbNI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/CIwZE91vwFIncQXI54Ryr_AIbNI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~4/FPJDWAbRlFA" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.azhowto.com/2009/09/18/setting-up-a-secure-linux-authentication-server-quickly-ldap-tls-samba/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.azhowto.com/2009/09/18/setting-up-a-secure-linux-authentication-server-quickly-ldap-tls-samba/</feedburner:origLink></item>
		<item>
		<title>bash: copying files without prompt</title>
		<link>http://feedproxy.google.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~3/c5tUziA_IVM/</link>
		<comments>http://www.azhowto.com/2009/09/09/bash-copying-files-without-prompt/#comments</comments>
		<pubDate>Wed, 09 Sep 2009 03:51:18 +0000</pubDate>
		<dc:creator>bpeh</dc:creator>
		
		<category><![CDATA[Think Linux]]></category>

		<category><![CDATA[bash]]></category>

		<guid isPermaLink="false">http://www.azhowto.com/?p=550</guid>
		<description>It can be annoying that the &amp;#8216;cp&amp;#8217; command keep prompting if you are to overwrite some files. This is due the  cp alias. To fix that,

unalias cp
cp -af source target

done.
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/JlLhTIS4IeNe-ma1SIfW7w9C-S4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/JlLhTIS4IeNe-ma1SIfW7w9C-S4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/JlLhTIS4IeNe-ma1SIfW7w9C-S4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/JlLhTIS4IeNe-ma1SIfW7w9C-S4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~4/c5tUziA_IVM" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.azhowto.com/2009/09/09/bash-copying-files-without-prompt/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.azhowto.com/2009/09/09/bash-copying-files-without-prompt/</feedburner:origLink></item>
		<item>
		<title>Restarting vmware web access</title>
		<link>http://feedproxy.google.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~3/2cwigOQksZs/</link>
		<comments>http://www.azhowto.com/2009/09/03/restarting-vmware-web-access/#comments</comments>
		<pubDate>Thu, 03 Sep 2009 01:22:15 +0000</pubDate>
		<dc:creator>bpeh</dc:creator>
		
		<category><![CDATA[Think Software]]></category>

		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://www.azhowto.com/?p=546</guid>
		<description>sometimes the vmware web access just halted for some reason. A good way to overcome that is to simply restart the vmware web server, ie

/etc/init.d/vmware-mgmt restart
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/rNHcfCG9Fs8IjFj4uThtBR4VdSk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/rNHcfCG9Fs8IjFj4uThtBR4VdSk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/rNHcfCG9Fs8IjFj4uThtBR4VdSk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/rNHcfCG9Fs8IjFj4uThtBR4VdSk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~4/2cwigOQksZs" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.azhowto.com/2009/09/03/restarting-vmware-web-access/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.azhowto.com/2009/09/03/restarting-vmware-web-access/</feedburner:origLink></item>
		<item>
		<title>Bash: Simple command to mass replace content in directory</title>
		<link>http://feedproxy.google.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~3/3RbynpaXZ68/</link>
		<comments>http://www.azhowto.com/2009/09/02/bash-simple-command-to-mass-replace-content-in-directory/#comments</comments>
		<pubDate>Wed, 02 Sep 2009 06:00:19 +0000</pubDate>
		<dc:creator>bpeh</dc:creator>
		
		<category><![CDATA[Blog]]></category>

		<category><![CDATA[bash]]></category>

		<category><![CDATA[sed]]></category>

		<guid isPermaLink="false">http://www.azhowto.com/?p=544</guid>
		<description>Imagine that we need to mass change the content in certain directory. A combination of find and sed can save the day. It is very to do it in perl as well.

find /your/dir -type f &amp;#124; xargs sed -i 's/old/new/g'
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/NgURL3K999ESNb4q2X49OviyqJc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/NgURL3K999ESNb4q2X49OviyqJc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/NgURL3K999ESNb4q2X49OviyqJc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/NgURL3K999ESNb4q2X49OviyqJc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~4/3RbynpaXZ68" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.azhowto.com/2009/09/02/bash-simple-command-to-mass-replace-content-in-directory/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.azhowto.com/2009/09/02/bash-simple-command-to-mass-replace-content-in-directory/</feedburner:origLink></item>
		<item>
		<title>extending vmware harddisk</title>
		<link>http://feedproxy.google.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~3/gUrSBMPcVK8/</link>
		<comments>http://www.azhowto.com/2009/08/31/extending-vmware-harddisk/#comments</comments>
		<pubDate>Mon, 31 Aug 2009 01:26:59 +0000</pubDate>
		<dc:creator>bpeh</dc:creator>
		
		<category><![CDATA[Blog]]></category>

		<category><![CDATA[Think Linux]]></category>

		<category><![CDATA[Think Software]]></category>

		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://www.azhowto.com/?p=541</guid>
		<description>1. shutdown vmware either from browser or console.
2. checkout the vmware-vdiskmanager command. The example there tells everything.
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/w5q2GJY_qPozXpDxuT7dnOqO2S4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/w5q2GJY_qPozXpDxuT7dnOqO2S4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/w5q2GJY_qPozXpDxuT7dnOqO2S4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/w5q2GJY_qPozXpDxuT7dnOqO2S4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~4/gUrSBMPcVK8" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.azhowto.com/2009/08/31/extending-vmware-harddisk/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.azhowto.com/2009/08/31/extending-vmware-harddisk/</feedburner:origLink></item>
	</channel>
</rss>
