<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>LAMP How To - Open Source At Work &#187; Think Linux</title>
	<atom:link href="http://www.azhowto.com/category/linux-everything/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.azhowto.com</link>
	<description>Only Passion Matters</description>
	<lastBuildDate>Wed, 08 Feb 2012 03:07:41 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Removing sensitive data from git</title>
		<link>http://www.azhowto.com/2011/09/22/removing-sensitive-data-from-git/</link>
		<comments>http://www.azhowto.com/2011/09/22/removing-sensitive-data-from-git/#comments</comments>
		<pubDate>Thu, 22 Sep 2011 01:58:38 +0000</pubDate>
		<dc:creator>bpeh</dc:creator>
				<category><![CDATA[Think Linux]]></category>
		<category><![CDATA[Think Software]]></category>
		<category><![CDATA[Think Technology]]></category>

		<guid isPermaLink="false">http://www.azhowto.com/?p=781</guid>
		<description><![CDATA[suppose one accidentally commited a file with sensitive data ages ago, others could actually retrieve the passwd easily since git keeps a history of the changes. So the idea is to remove the file from git altogether with file changed history, then recommit the affected file (without sensitive data this time) again. 
do a git [...]]]></description>
		<wfw:commentRss>http://www.azhowto.com/2011/09/22/removing-sensitive-data-from-git/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>compare file changed in different directories</title>
		<link>http://www.azhowto.com/2011/05/24/compare-file-changed-in-different-directories/</link>
		<comments>http://www.azhowto.com/2011/05/24/compare-file-changed-in-different-directories/#comments</comments>
		<pubDate>Tue, 24 May 2011 23:02:27 +0000</pubDate>
		<dc:creator>bpeh</dc:creator>
				<category><![CDATA[Think Linux]]></category>

		<guid isPermaLink="false">http://www.azhowto.com/?p=766</guid>
		<description><![CDATA[it might be useful to compare different directories for file changed. the unix diff command rocks.
for example, this command compares 2 directories, ie blogs and blogs.bak recursively, output only the files changed and ignore any files named .git
diff -qr -x .git blogs blogs.bak
]]></description>
		<wfw:commentRss>http://www.azhowto.com/2011/05/24/compare-file-changed-in-different-directories/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Updating ruby to version 1.9.1 in ubuntu 8.04</title>
		<link>http://www.azhowto.com/2011/02/16/updating-ruby-to-version-1-9-1-in-ubuntu-8-04/</link>
		<comments>http://www.azhowto.com/2011/02/16/updating-ruby-to-version-1-9-1-in-ubuntu-8-04/#comments</comments>
		<pubDate>Wed, 16 Feb 2011 00:04:11 +0000</pubDate>
		<dc:creator>bpeh</dc:creator>
				<category><![CDATA[Think Linux]]></category>
		<category><![CDATA[Think Ruby]]></category>

		<guid isPermaLink="false">http://www.azhowto.com/?p=753</guid>
		<description><![CDATA[unfortunately, ubuntu 8.04 hardy comes with ruby version 1.8.6 by default. The latest rubygems doesn&#8217;t work well with this version. so we need to get a new version for ruby.
might want to check if you have these libraries first:

sudo apt-get install libncurses5-dev
sudo apt-get install libreadline5-dev

Download the ruby the latest source and compile it.

wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p243.tar.gz
tar -xzvf [...]]]></description>
		<wfw:commentRss>http://www.azhowto.com/2011/02/16/updating-ruby-to-version-1-9-1-in-ubuntu-8-04/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Testing emails in your local vm</title>
		<link>http://www.azhowto.com/2010/11/04/testing-emails-in-your-local-vm/</link>
		<comments>http://www.azhowto.com/2010/11/04/testing-emails-in-your-local-vm/#comments</comments>
		<pubDate>Thu, 04 Nov 2010 03:08:56 +0000</pubDate>
		<dc:creator>bpeh</dc:creator>
				<category><![CDATA[Think Linux]]></category>

		<guid isPermaLink="false">http://www.azhowto.com/?p=712</guid>
		<description><![CDATA[testing emails can be tricky because you dont really want to send emails to real users. So we really need to turn emails service on and off as and when needed. 
To stop postfix:
- stop postfix in rc.x so that it doesnt boot up with postfix started.
- /etc/init.d/postfix stop (to stop postfix if it is [...]]]></description>
		<wfw:commentRss>http://www.azhowto.com/2010/11/04/testing-emails-in-your-local-vm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to increase the size of virtual machines  in Virtualbox</title>
		<link>http://www.azhowto.com/2010/10/03/how-to-increase-the-size-of-virtual-machines-in-virtualbox/</link>
		<comments>http://www.azhowto.com/2010/10/03/how-to-increase-the-size-of-virtual-machines-in-virtualbox/#comments</comments>
		<pubDate>Sun, 03 Oct 2010 22:47:42 +0000</pubDate>
		<dc:creator>bpeh</dc:creator>
				<category><![CDATA[Think Linux]]></category>

		<guid isPermaLink="false">http://www.azhowto.com/?p=696</guid>
		<description><![CDATA[If you have created a 20G vm in the first place and want to double the disk size, how do you do it?? There are alot of posts in different forums but there is no easy way of doing it. However, the theory behind increasing the disk size is not difficult and should work for [...]]]></description>
		<wfw:commentRss>http://www.azhowto.com/2010/10/03/how-to-increase-the-size-of-virtual-machines-in-virtualbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Making every row uniq in multiple files</title>
		<link>http://www.azhowto.com/2010/09/17/making-every-row-uniq-in-multiple-files/</link>
		<comments>http://www.azhowto.com/2010/09/17/making-every-row-uniq-in-multiple-files/#comments</comments>
		<pubDate>Fri, 17 Sep 2010 02:24:59 +0000</pubDate>
		<dc:creator>bpeh</dc:creator>
				<category><![CDATA[Think Linux]]></category>

		<guid isPermaLink="false">http://www.azhowto.com/?p=687</guid>
		<description><![CDATA[There are times when we want uniq rows in different files. One good example is when we have emails that spans across multiple csv and we dont want them to be replicated. I wrote this script and it seems to do the job well&#8230;. Depending on the size of the files, it might take a [...]]]></description>
		<wfw:commentRss>http://www.azhowto.com/2010/09/17/making-every-row-uniq-in-multiple-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Advance SVN post-commit hook script for System Administrators</title>
		<link>http://www.azhowto.com/2010/04/16/advance-svn-post-commit-hook-script-for-system-administrators/</link>
		<comments>http://www.azhowto.com/2010/04/16/advance-svn-post-commit-hook-script-for-system-administrators/#comments</comments>
		<pubDate>Fri, 16 Apr 2010 02:11:39 +0000</pubDate>
		<dc:creator>bpeh</dc:creator>
				<category><![CDATA[Think Linux]]></category>
		<category><![CDATA[Think Software]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://www.azhowto.com/?p=663</guid>
		<description><![CDATA[Everyone knows how cool svn post-commit feature is. Instead of using the basic post-commit script provided by svn, we can do alot more with a bit of server side scripting. Here, I like to share a simple script that I wrote to automate the process of updating different server system files using svn post-commit. It [...]]]></description>
		<wfw:commentRss>http://www.azhowto.com/2010/04/16/advance-svn-post-commit-hook-script-for-system-administrators/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SVN over HTTP</title>
		<link>http://www.azhowto.com/2010/03/29/svn-over-http/</link>
		<comments>http://www.azhowto.com/2010/03/29/svn-over-http/#comments</comments>
		<pubDate>Mon, 29 Mar 2010 05:46:31 +0000</pubDate>
		<dc:creator>bpeh</dc:creator>
				<category><![CDATA[Think Linux]]></category>
		<category><![CDATA[Think Software]]></category>
		<category><![CDATA[Think Technology]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://www.azhowto.com/?p=657</guid>
		<description><![CDATA[Objective
I want to be able to browse the svn dir from a website like http://zeus.dev/svn.php and at the same time, be able to checkout from the repository via http://zeus.dev/svn/projectname
How

First of all, install mod_dav_svn
Then in the apache config, I am using vhost for example
&#60;VirtualHost *:80&#62;
  DocumentRoot /home/data/zeus.dev/apps/
  ServerName zeus.dev
  # this is for [...]]]></description>
		<wfw:commentRss>http://www.azhowto.com/2010/03/29/svn-over-http/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Implementing SSL Certificates in Apache</title>
		<link>http://www.azhowto.com/2010/03/29/implementing-ssl-certificates-in-apache/</link>
		<comments>http://www.azhowto.com/2010/03/29/implementing-ssl-certificates-in-apache/#comments</comments>
		<pubDate>Mon, 29 Mar 2010 02:36:22 +0000</pubDate>
		<dc:creator>bpeh</dc:creator>
				<category><![CDATA[Think Linux]]></category>
		<category><![CDATA[Think Technology]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://www.azhowto.com/?p=650</guid>
		<description><![CDATA[Creating a Private Key
To create a private key without triple des encryption, use the following command:
openssl genrsa -out ssl.key 1024

Creating a Certificate Signing Request
To obtain a certificate signed by a certificate authority, you will need to create a Certificate Signing Request (CSR). The purpose is to send the certificate authority enough information to create the [...]]]></description>
		<wfw:commentRss>http://www.azhowto.com/2010/03/29/implementing-ssl-certificates-in-apache/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>synchronising system clock manually</title>
		<link>http://www.azhowto.com/2010/03/25/synchronising-system-clock-manually/</link>
		<comments>http://www.azhowto.com/2010/03/25/synchronising-system-clock-manually/#comments</comments>
		<pubDate>Thu, 25 Mar 2010 04:38:28 +0000</pubDate>
		<dc:creator>bpeh</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Think Linux]]></category>

		<guid isPermaLink="false">http://www.azhowto.com/?p=641</guid>
		<description><![CDATA[if there is a need to synchronise the system clock manually, it can be a straight forward thing

service ntpd stop
ntpdate 0.rhel.pool.ntp.org
service ntpd start

some of the files of interest:

/etc/sysconfig/clock
/usr/share/zoneinfo

]]></description>
		<wfw:commentRss>http://www.azhowto.com/2010/03/25/synchronising-system-clock-manually/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>init: Id &#8220;co&#8221; respawning too fast: disabled for 5 minutes</title>
		<link>http://www.azhowto.com/2010/03/25/init-id-co-respawning-too-fast-disabled-for-5-minutes/</link>
		<comments>http://www.azhowto.com/2010/03/25/init-id-co-respawning-too-fast-disabled-for-5-minutes/#comments</comments>
		<pubDate>Thu, 25 Mar 2010 02:57:25 +0000</pubDate>
		<dc:creator>bpeh</dc:creator>
				<category><![CDATA[Think Linux]]></category>

		<guid isPermaLink="false">http://www.azhowto.com/?p=639</guid>
		<description><![CDATA[If you are getting this message, it means that you are in run level 3 and most likely you dont have the GUI installed. inittab is trying to create too many terminals at a go. Have a look at the /etc/inittab file, and commented off the extra gettys lines.
# Run gettys in standard runlevels
co:2345:respawn:/sbin/agetty xvc0 [...]]]></description>
		<wfw:commentRss>http://www.azhowto.com/2010/03/25/init-id-co-respawning-too-fast-disabled-for-5-minutes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>system-config-securitylevel &#8211; Love or hatred?</title>
		<link>http://www.azhowto.com/2010/03/22/system-config-securitylevel-love-or-hatred/</link>
		<comments>http://www.azhowto.com/2010/03/22/system-config-securitylevel-love-or-hatred/#comments</comments>
		<pubDate>Mon, 22 Mar 2010 03:59:30 +0000</pubDate>
		<dc:creator>bpeh</dc:creator>
				<category><![CDATA[Think Linux]]></category>
		<category><![CDATA[firewall]]></category>

		<guid isPermaLink="false">http://www.azhowto.com/?p=637</guid>
		<description><![CDATA[system-config-securitylevel provides the user an easy interface to edit firewall rules. If you only need to open up certain tcp and udp ports, this tool may prove handy. For more complex routing rules, you are tempted to edit /etc/sysconfig/iptables directly.
If you have used system-config-securitylevel before, check out the iptables file and you will see this [...]]]></description>
		<wfw:commentRss>http://www.azhowto.com/2010/03/22/system-config-securitylevel-love-or-hatred/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Highly available load Balancer + web server in centos</title>
		<link>http://www.azhowto.com/2010/02/10/highly-available-load-balancer-web-server-in-centos/</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><![CDATA[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 &#8211; 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 [...]]]></description>
		<wfw:commentRss>http://www.azhowto.com/2010/02/10/highly-available-load-balancer-web-server-in-centos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>syncing date and time in command line</title>
		<link>http://www.azhowto.com/2010/01/22/syncing-date-and-time-in-command-line/</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><![CDATA[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. [...]]]></description>
		<wfw:commentRss>http://www.azhowto.com/2010/01/22/syncing-date-and-time-in-command-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing SVN on a samba shared drive in mac</title>
		<link>http://www.azhowto.com/2010/01/07/installing-svn-on-a-samba-shared-drive-in-mac/</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><![CDATA[1. Configure the samba share in linux. It needs to have the &#8220;delete readonly = yes&#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
      [...]]]></description>
		<wfw:commentRss>http://www.azhowto.com/2010/01/07/installing-svn-on-a-samba-shared-drive-in-mac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mounting windows share on local machine via samba &#8211; fixing selinux</title>
		<link>http://www.azhowto.com/2010/01/07/mounting-windows-share-on-local-machine-via-samba-fixing-selinux/</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><![CDATA[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 &#8220;samba_selinux&#8221; [...]]]></description>
		<wfw:commentRss>http://www.azhowto.com/2010/01/07/mounting-windows-share-on-local-machine-via-samba-fixing-selinux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing KVM in Centos, Redhat or Fedora</title>
		<link>http://www.azhowto.com/2009/12/23/installing-kvm-in-centos-redhat-or-fedora/</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><![CDATA[KVM is available in RHEL 5.4. I finally managed to find the time to play around it over the weekend. I don&#8217;t think it is as matured as xen but having said that, I do agree with the approach &#8211; Kernel virtualisation. Redhat is promoting kvm very hard and you can see it from their [...]]]></description>
		<wfw:commentRss>http://www.azhowto.com/2009/12/23/installing-kvm-in-centos-redhat-or-fedora/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>making dd to report the copy status</title>
		<link>http://www.azhowto.com/2009/12/23/making-dd-to-report-the-copy-status/</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><![CDATA[the linux &#8220;dd&#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 &#8220;ps aux&#8221;, then 

kill -usr1 pid

The [...]]]></description>
		<wfw:commentRss>http://www.azhowto.com/2009/12/23/making-dd-to-report-the-copy-status/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing different language support for Linux</title>
		<link>http://www.azhowto.com/2009/12/21/installing-different-language-support-for-linux/</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><![CDATA[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&#8230;
]]></description>
		<wfw:commentRss>http://www.azhowto.com/2009/12/21/installing-different-language-support-for-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting Up A Secure Linux Authentication Server Quickly (LDAP + TLS + SAMBA)</title>
		<link>http://www.azhowto.com/2009/09/18/setting-up-a-secure-linux-authentication-server-quickly-ldap-tls-samba/</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><![CDATA[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&#8230;etc) has its own user database&#8230; Sooner or later, you will find managing users very difficult. A simple task like deleting a user [...]]]></description>
		<wfw:commentRss>http://www.azhowto.com/2009/09/18/setting-up-a-secure-linux-authentication-server-quickly-ldap-tls-samba/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>
