<?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>Kurinchi Blogger Scribbles ... &#187; LINUX</title>
	<atom:link href="http://kurinchilamp.kurinchilion.com/category/linux/feed" rel="self" type="application/rss+xml" />
	<link>http://kurinchilamp.kurinchilion.com</link>
	<description>On Open Source Technologies</description>
	<lastBuildDate>Mon, 02 Jan 2012 06:14:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>How to check if linux server can send out email via command line?</title>
		<link>http://kurinchilamp.kurinchilion.com/2011/12/how-to-check-if-linux-server-can-send-out-email-via-command-line.html</link>
		<comments>http://kurinchilamp.kurinchilion.com/2011/12/how-to-check-if-linux-server-can-send-out-email-via-command-line.html#comments</comments>
		<pubDate>Thu, 15 Dec 2011 06:05:34 +0000</pubDate>
		<dc:creator>kurinchilamp</dc:creator>
				<category><![CDATA[LINUX]]></category>
		<category><![CDATA[command line email]]></category>
		<category><![CDATA[linux mail]]></category>
		<category><![CDATA[mail command line]]></category>
		<category><![CDATA[send mail]]></category>

		<guid isPermaLink="false">http://kurinchilamp.kurinchilion.com/?p=931</guid>
		<description><![CDATA[Method 1: $ mail -s &#8220;Subject: Test email from linux server&#8221; info@test.com Press the &#8220;Return&#8221; key Enter the body part of the email Press ctrl + D Enter a CC email if you would like (e.g. info2@test.com) Press ctrl + D again Then check the mail box to see if the mail has arrived. Method [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Method 1:</strong></p>
<p>$ mail -s &#8220;Subject: Test email from linux server&#8221; info@test.com</p>
<p>Press the &#8220;Return&#8221; key</p>
<p>Enter the body part of the email</p>
<p>Press ctrl + D</p>
<p>Enter a CC email if you would like (e.g. info2@test.com)</p>
<p>Press ctrl + D again </p>
<p>Then check the mail box to see if the mail has arrived.</p>
<p><span id="more-931"></span><br />
<strong>Method 2:</strong></p>
<p>$ echo &#8220;Enter the body part of the email&#8221; | mail -s &#8220;Subject: Test email from linux server&#8221; info@test.com -c info2@test.com</p>
]]></content:encoded>
			<wfw:commentRss>http://kurinchilamp.kurinchilion.com/2011/12/how-to-check-if-linux-server-can-send-out-email-via-command-line.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Reverse DNS and Junk Email</title>
		<link>http://kurinchilamp.kurinchilion.com/2011/12/reverse-dns-and-junk-email.html</link>
		<comments>http://kurinchilamp.kurinchilion.com/2011/12/reverse-dns-and-junk-email.html#comments</comments>
		<pubDate>Mon, 12 Dec 2011 13:58:45 +0000</pubDate>
		<dc:creator>kurinchilamp</dc:creator>
				<category><![CDATA[LINUX]]></category>
		<category><![CDATA[dig command]]></category>
		<category><![CDATA[Junk email]]></category>
		<category><![CDATA[PTR]]></category>
		<category><![CDATA[Reverse DNS]]></category>

		<guid isPermaLink="false">http://kurinchilamp.kurinchilion.com/?p=936</guid>
		<description><![CDATA[Many email servers depend on Reverse DNS in order to identify if the mail is legit or spam. For the Reverse DNS to work correctly, two points need to be addressed a) Look for IP address of the mail server should return its name. PTR record should be set for this b) Reverse look on [...]]]></description>
			<content:encoded><![CDATA[<p>Many email servers depend on Reverse DNS in order to identify if the mail is legit or spam. For the Reverse DNS to work correctly, two points need to be addressed<br />
a) Look for IP address of the mail server should return its name. PTR record should be set for this<br />
b) Reverse look on the name should return back the IP address</p>
<p>For example,</p>
<p><strong>$ dig -x 217.83.122.34</strong></p>
<p>;; ANSWER SECTION:</p>
<p>34.122.83.217.in-addr.arpa. 66372 IN    PTR     mail.example.com.</p>
<p><strong>$ dig mail.example.com</strong></p>
<p>;; ANSWER SECTION:</p>
<p>mail.example.com.   900     IN      A       217.83.122.34</p>
<p>Check the IP address that is getting resolved matches the name that is getting returned back.</p>
]]></content:encoded>
			<wfw:commentRss>http://kurinchilamp.kurinchilion.com/2011/12/reverse-dns-and-junk-email.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux: How to upgrade PHP from 5.1 to 5.2 in CentOS5?</title>
		<link>http://kurinchilamp.kurinchilion.com/2011/11/linux-how-to-upgrade-php-from-5-1-to-5-2-in-centos5.html</link>
		<comments>http://kurinchilamp.kurinchilion.com/2011/11/linux-how-to-upgrade-php-from-5-1-to-5-2-in-centos5.html#comments</comments>
		<pubDate>Tue, 15 Nov 2011 06:15:37 +0000</pubDate>
		<dc:creator>kurinchilamp</dc:creator>
				<category><![CDATA[LINUX]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[centos php]]></category>
		<category><![CDATA[php upgrade]]></category>
		<category><![CDATA[update php]]></category>

		<guid isPermaLink="false">http://kurinchilamp.kurinchilion.com/?p=919</guid>
		<description><![CDATA[First Check PHP version that is currently installed $ php -version Check Linux Version $ cat /etc/*-release (or redhat-release) Create a repo file with the content given below. As you can note, we are looking for package upgrade related to php only. $ vi /etc/yum.repos.d/CentOS-phpupgrade.repo # CentOS5-Upgrade: # This repository is a proving grounds for [...]]]></description>
			<content:encoded><![CDATA[<p>First Check PHP version that is currently installed</p>
<p><strong>$ php -version</strong></p>
<p>Check Linux Version </p>
<p><strong>$ cat /etc/*-release (or redhat-release)</strong></p>
<p>Create a repo file with the content given below. As you can note, we are looking for package upgrade related to php only.<br />
<span id="more-919"></span><br />
<strong>$ vi /etc/yum.repos.d/CentOS-phpupgrade.repo</strong></p>
<p># CentOS5-Upgrade:<br />
# This repository is a proving grounds for packages on their way to CentOSPlus and CentOS Extras.<br />
# They may or may not replace core CentOS packages, and are not guaranteed to function properly.<br />
# These packages build and install, but are waiting for feedback from testers as to<br />
# functionality and stability. Packages in this repository will come and go during the<br />
# development period, so it should not be left enabled or used on production systems without due<br />
# consideration.<br />
[cent5-upgrade]<br />
name=CentOS5 Upgrade<br />
baseurl=http://dev.centos.org/centos/$releasever/testing/$basearch/<br />
enabled=1<br />
gpgcheck=1<br />
gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing<br />
includepkgs=php*</p>
<p>Update the repository</p>
<p><strong>$ yum update</strong></p>
<p>Restart Apache server</p>
<p><strong>$ service http restart</strong></p>
<p>Check the PHP version that is installed</p>
<p><strong>$ php -version</strong></p>
<p>Check the package repository</p>
<p><strong>$ rpm -qa | grep php</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://kurinchilamp.kurinchilion.com/2011/11/linux-how-to-upgrade-php-from-5-1-to-5-2-in-centos5.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Linux: How to list or allow access to ports ?</title>
		<link>http://kurinchilamp.kurinchilion.com/2011/10/linux-how-to-list-or-allow-access-to-ports.html</link>
		<comments>http://kurinchilamp.kurinchilion.com/2011/10/linux-how-to-list-or-allow-access-to-ports.html#comments</comments>
		<pubDate>Sat, 15 Oct 2011 14:54:51 +0000</pubDate>
		<dc:creator>kurinchilamp</dc:creator>
				<category><![CDATA[LINUX]]></category>
		<category><![CDATA[find open port]]></category>
		<category><![CDATA[list port]]></category>
		<category><![CDATA[port]]></category>
		<category><![CDATA[port allow access]]></category>
		<category><![CDATA[SELinux]]></category>

		<guid isPermaLink="false">http://kurinchilamp.kurinchilion.com/?p=922</guid>
		<description><![CDATA[SELinux is a feature that may be turned on certain servers and it can restrict access to certain ports. In order to gain access and make the ports work, you need to open those ports. To see if SELinux is set, type $ sestatus To list all port, try the semanage command $ semanage port [...]]]></description>
			<content:encoded><![CDATA[<p><strong>SELinux </strong>is a feature that may be turned on certain servers and it can restrict access to certain ports. In order to gain access and make the ports work, you need to open those ports.</p>
<p>To see if SELinux is set, type</p>
<p><strong>$ sestatus</strong></p>
<p>To list all port, try the semanage command</p>
<p><strong>$ semanage port -l</strong></p>
<p>To check for a specific port that is opened</p>
<p><strong>$ semanage port -l | grep 8085</strong></p>
<p>To allow access to a specific port</p>
<p><strong>$ semanage port -a -t http_port_t -p tcp 8085</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://kurinchilamp.kurinchilion.com/2011/10/linux-how-to-list-or-allow-access-to-ports.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL: How to stop, start or restart mysql?</title>
		<link>http://kurinchilamp.kurinchilion.com/2011/08/mysql-how-to-stop-start-or-restart-mysql.html</link>
		<comments>http://kurinchilamp.kurinchilion.com/2011/08/mysql-how-to-stop-start-or-restart-mysql.html#comments</comments>
		<pubDate>Thu, 11 Aug 2011 00:00:34 +0000</pubDate>
		<dc:creator>kurinchilamp</dc:creator>
				<category><![CDATA[LINUX]]></category>
		<category><![CDATA[MySql]]></category>
		<category><![CDATA[mysql restart]]></category>
		<category><![CDATA[mysql start]]></category>
		<category><![CDATA[mysql stop]]></category>

		<guid isPermaLink="false">http://kurinchilamp.kurinchilion.com/?p=906</guid>
		<description><![CDATA[In linux, following commands are used to start/stop/restart mysql $/etc/init.d/mysqld start $/etc/init.d/mysqld restart $/etc/init.d/mysqld stop In windows, mysql runs as a service. C:&#62; net stop mysql C:&#62; net start mysql]]></description>
			<content:encoded><![CDATA[<p><em>In linux, following commands are used to start/stop/restart mysql</em></p>
<p>$<strong>/etc/init.d/mysqld start</strong><br />
$<strong>/etc/init.d/mysqld restart</strong><br />
$<strong>/etc/init.d/mysqld stop</strong></p>
<p><em>In windows, mysql runs as a service.</em><br />
C:&gt; <strong>net stop mysql</strong><br />
C:&gt; <strong>net start mysql</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://kurinchilamp.kurinchilion.com/2011/08/mysql-how-to-stop-start-or-restart-mysql.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux: Case sensitive MySQL table names</title>
		<link>http://kurinchilamp.kurinchilion.com/2011/07/linux-case-sensitive-mysql-table-names.html</link>
		<comments>http://kurinchilamp.kurinchilion.com/2011/07/linux-case-sensitive-mysql-table-names.html#comments</comments>
		<pubDate>Thu, 21 Jul 2011 00:11:29 +0000</pubDate>
		<dc:creator>kurinchilamp</dc:creator>
				<category><![CDATA[LINUX]]></category>
		<category><![CDATA[MySql]]></category>
		<category><![CDATA[lower_case_table_names]]></category>
		<category><![CDATA[my.cnf]]></category>
		<category><![CDATA[mysql case sensitive]]></category>
		<category><![CDATA[mysql table not found]]></category>
		<category><![CDATA[sql case sensitive error]]></category>

		<guid isPermaLink="false">http://kurinchilamp.kurinchilion.com/?p=909</guid>
		<description><![CDATA[When transitioning MySQL database from Windows to Linux, users often encounter issues related to case-sensitiveness. Windows is case-insensitive and Linux is case-sensitive. In such scenarios when a database call is made after the application migration happens, users often run into errors which can send them in circles between the migration servers. Solution to this problem [...]]]></description>
			<content:encoded><![CDATA[<p>When transitioning MySQL database from Windows to Linux, users often encounter issues related to case-sensitiveness.  Windows is case-insensitive and Linux is case-sensitive. </p>
<p>In such scenarios when a database call is made after the application migration happens, users often run into errors which can send them in circles between the migration servers.</p>
<p>Solution to this problem is to add a single line of text under <strong>my.cnf</strong> (MySQL configuration file) under <em>[mysqld]</em><strong><span id="more-909"></span></p>
<p><strong>lower_case_table_names=1</strong></p>
<p><strong>$ whereis my.cnf</strong><br />
/etc/my.cnf</p>
<p>$ vi my.cnf<br />
&#8230;<br />
&#8230;<br />
<em>[mysqld]</em><br />
lower_case_table_names=1</p>
<p><strong>Common Errors related to this issue</strong></p>
<p>When the application is executed, users get &#8220;table not found&#8221; errors which is an indication of this error.  You can verify the error by issuing the command</p>
<p><strong>$ mysqladmin -uAdmin -pPass variables</strong></p>
<p>and check for the value of <em>lower_case_table_names</em>.</p>
]]></content:encoded>
			<wfw:commentRss>http://kurinchilamp.kurinchilion.com/2011/07/linux-case-sensitive-mysql-table-names.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apache: [warn] NameVirtualHost *:80 has no VirtualHosts</title>
		<link>http://kurinchilamp.kurinchilion.com/2011/06/apache-warn-namevirtualhost-80-has-no-virtualhosts.html</link>
		<comments>http://kurinchilamp.kurinchilion.com/2011/06/apache-warn-namevirtualhost-80-has-no-virtualhosts.html#comments</comments>
		<pubDate>Sat, 25 Jun 2011 18:14:25 +0000</pubDate>
		<dc:creator>kurinchilamp</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[LINUX]]></category>
		<category><![CDATA[warning message]]></category>

		<guid isPermaLink="false">http://kurinchilamp.kurinchilion.com/?p=903</guid>
		<description><![CDATA[$ /etc/init.d/apache2 restart After configuring Apache server settings on the name server, you may encounter a message &#8220;[warn] NameVirtualHost 192.168.1.3:80 has no VirtualHosts&#8221; The issue may be due to more than one entry of NameVirtualHost lines in the configuration settings. You can find this out by $ grep NameVirtual * -R site1:NameVirtualHost *:80 site2:NameVirtualHost *:80 [...]]]></description>
			<content:encoded><![CDATA[<p>$ /etc/init.d/apache2 restart</p>
<p>After configuring Apache server settings on the name server, you may encounter a message &#8220;<strong>[warn] NameVirtualHost 192.168.1.3:80 has no VirtualHosts</strong>&#8221;</p>
<p>The issue may be due to more than one entry of NameVirtualHost lines in the configuration settings. You can find this out by </p>
<p><strong>$ grep NameVirtual * -R</strong><br />
site1:NameVirtualHost *:80<br />
site2:NameVirtualHost *:80</p>
<p><strong>Linux Solution:</strong> Remove one of the occurance of the NameVirtualHost and the warning message that you receive will vanish.</p>
]]></content:encoded>
			<wfw:commentRss>http://kurinchilamp.kurinchilion.com/2011/06/apache-warn-namevirtualhost-80-has-no-virtualhosts.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux: How to display ONLY the directories?</title>
		<link>http://kurinchilamp.kurinchilion.com/2011/01/linux-how-to-display-only-the-directories.html</link>
		<comments>http://kurinchilamp.kurinchilion.com/2011/01/linux-how-to-display-only-the-directories.html#comments</comments>
		<pubDate>Mon, 10 Jan 2011 06:22:52 +0000</pubDate>
		<dc:creator>kurinchilamp</dc:creator>
				<category><![CDATA[LINUX]]></category>
		<category><![CDATA[directory listing]]></category>

		<guid isPermaLink="false">http://kurinchilamp.kurinchilion.com/?p=877</guid>
		<description><![CDATA[To display a list of directories in Linux, issue the command $ ls -l &#124; egrep &#8216;^d&#8217;]]></description>
			<content:encoded><![CDATA[<p>To display a list of directories in Linux, issue the command</p>
<p>$ ls -l | egrep &#8216;^d&#8217;</p>
]]></content:encoded>
			<wfw:commentRss>http://kurinchilamp.kurinchilion.com/2011/01/linux-how-to-display-only-the-directories.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>FTP: 530 login authentication failed</title>
		<link>http://kurinchilamp.kurinchilion.com/2010/07/ftp-530-login-authentication-failed.html</link>
		<comments>http://kurinchilamp.kurinchilion.com/2010/07/ftp-530-login-authentication-failed.html#comments</comments>
		<pubDate>Wed, 14 Jul 2010 16:01:10 +0000</pubDate>
		<dc:creator>kurinchilamp</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[LINUX]]></category>
		<category><![CDATA[530 login error]]></category>
		<category><![CDATA[cuteftp]]></category>
		<category><![CDATA[filezilla]]></category>
		<category><![CDATA[ftp]]></category>
		<category><![CDATA[smartftp]]></category>
		<category><![CDATA[ws-ftp]]></category>

		<guid isPermaLink="false">http://kurinchilamp.kurinchilion.com/?p=856</guid>
		<description><![CDATA[In certain scenarios, users encounter above message when they try to connect to their web hosting accounting using one of their ftp programs like filezilla, ws-ftp, cuteftp, smartftp Solutions that seemed to have worked for me i) Host name: Try adding ftp://www.mysite.com and set the port to 21 ii) User name: Try typing username@domain.com instead [...]]]></description>
			<content:encoded><![CDATA[<p>In certain scenarios, users encounter above message when they try to connect to their web hosting accounting using one of their ftp programs like filezilla, ws-ftp, cuteftp, smartftp</p>
<p><em>Solutions</em> that seemed to have worked for me </p>
<p>i) <strong>Host name</strong>: Try adding ftp://www.mysite.com and set the port to 21<br />
ii) <strong>User name</strong>: Try typing username@domain.com instead of just the user name of the ftp user</p>
]]></content:encoded>
			<wfw:commentRss>http://kurinchilamp.kurinchilion.com/2010/07/ftp-530-login-authentication-failed.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Beginner: Why there are many Linux Distributions?</title>
		<link>http://kurinchilamp.kurinchilion.com/2010/06/beginner-why-there-are-many-linux-distributions.html</link>
		<comments>http://kurinchilamp.kurinchilion.com/2010/06/beginner-why-there-are-many-linux-distributions.html#comments</comments>
		<pubDate>Sat, 05 Jun 2010 14:29:51 +0000</pubDate>
		<dc:creator>kurinchilamp</dc:creator>
				<category><![CDATA[LINUX]]></category>
		<category><![CDATA[Linux Server]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[different distribution]]></category>
		<category><![CDATA[linux distribution]]></category>
		<category><![CDATA[mandrake]]></category>
		<category><![CDATA[RedHat]]></category>
		<category><![CDATA[suse]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://kurinchilamp.kurinchilion.com/?p=863</guid>
		<description><![CDATA[There are different variants of Linux in the market like RedHat, Debian, CentOS, Ubuntu, Mandrake, Suse and a Linux beginner often ponder why they call Linux distributions by various names. The kernel or the heart of all the distributions is Linux and in bringing it to different market usage different community or vendors have adopted [...]]]></description>
			<content:encoded><![CDATA[<p>There are different variants of Linux in the market like <strong>RedHat, Debian, CentOS, Ubuntu, Mandrake, Suse</strong> and a Linux beginner often ponder why they call Linux distributions by various names. The kernel or the heart of all the distributions is Linux and in bringing it to different market usage different community or vendors have adopted the kernel to serve that purpose.<br />
<span id="more-863"></span><br />
<em>Some of the key differences in these distributions are listed below</em>,</p>
<p><strong>Usage</strong>: In addition to the different flavors of Linux in the market, comes the usage of Linux. Some variants are developed as Desktops and a major as servers. In addition to that, there are virtual appliances that are packaged with other applications for easy deployment across environments. The choice is many and the usage determines the choice of the Linux flavor in most cases.</p>
<p><strong>Client Support</strong>: All distributions are open source &#8211; FREE for usage. Red Hat and Ubuntu are maintained by organizations which provide commercial support which bigger organizations prefer. CentOS, Debian, Fedora are maintained by volunteers.</p>
<p><strong>Commands used</strong>: For an administrator it will be easy if ALL the systems in the network use the same distribution. Some commands that are used to achieve a functionality are not consistent across distributions.</p>
<p><strong>Packaging</strong>: Feature enhancements, application patches, software installation and management differ from one distribution to the other making the need for the administrator to remember the subtle keys. </p>
]]></content:encoded>
			<wfw:commentRss>http://kurinchilamp.kurinchilion.com/2010/06/beginner-why-there-are-many-linux-distributions.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

