<?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>Linux Sysadmin Blog &#187; Centos</title>
	<atom:link href="http://linuxsysadminblog.com/category/centos/feed/" rel="self" type="application/rss+xml" />
	<link>http://linuxsysadminblog.com</link>
	<description></description>
	<lastBuildDate>Tue, 10 May 2011 03:23:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>Setup SSH Key Authentication</title>
		<link>http://linuxsysadminblog.com/2011/04/setup-ssh-key-authentication/</link>
		<comments>http://linuxsysadminblog.com/2011/04/setup-ssh-key-authentication/#comments</comments>
		<pubDate>Sun, 17 Apr 2011 20:46:41 +0000</pubDate>
		<dc:creator>gerold</dc:creator>
				<category><![CDATA[Centos]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[key authentication]]></category>
		<category><![CDATA[password-less]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://linuxsysadminblog.com/?p=1317</guid>
		<description><![CDATA[Setup ssh key authentication for password-less login between servers.  For use by ssh/sftp users or scripts. Source Server (or local system) Generate RSA key for user on this system, you can also use DSA.  This asks for key pass-phrase but you can leave it blank. ssh-keygen -t rsa This asks for location to place the [...]]]></description>
			<content:encoded><![CDATA[<p>Setup ssh key authentication for password-less login between servers.  For use by ssh/sftp users or scripts.</p>
<p><strong>Source Server </strong>(or local system)</p>
<p>Generate RSA key for user on this system, you can also use DSA.  This asks for key pass-phrase but you can leave it blank.</p>
<p><code>ssh-keygen -t rsa</code></p>
<p>This asks for location to place the generated key, by default it will be your home directory (<em>ex: /home/your_username/.ssh/</em>).  This generates two files:  <em>id_rsa</em> and <em>id_rsa.pub</em>.  Content of <em>id_rsa.pub </em>is what we need to copy to destination server.</p>
<p><strong>Destination Server </strong>(or remote server)</p>
<p>Check if you have the directory <em>.ssh</em> on your home (<em>ex: /home/username/.ssh/</em>), if not, create that directory.</p>
<p><code>ls  ~/.ssh<br />
mkdir  ~/.ssh<br />
</code><br />
Check if you have existing file <em>authorized_keys </em>on your <em>.ssh</em> directory, if not create it.</p>
<p><code>ls  ~/.ssh/ authorized_keys<br />
touch   ~/.ssh/ authorized_keys</code></p>
<p>Copy content of <em>id_rsa.pub </em>that you created<em> </em>from your source/local server, or execute this command from your <strong>source/local server</strong>:</p>
<p><code>scp  ~/.ssh/id_rsa.pub username@remote_host:~/.ssh/authorized_keys</code></p>
<p>Test your password-less login from source to destination server.</p>
]]></content:encoded>
			<wfw:commentRss>http://linuxsysadminblog.com/2011/04/setup-ssh-key-authentication/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>CentOS 5.6 released</title>
		<link>http://linuxsysadminblog.com/2011/04/centos-5-6-released/</link>
		<comments>http://linuxsysadminblog.com/2011/04/centos-5-6-released/#comments</comments>
		<pubDate>Fri, 15 Apr 2011 19:44:29 +0000</pubDate>
		<dc:creator>Marius</dc:creator>
				<category><![CDATA[Centos]]></category>
		<category><![CDATA[releases]]></category>

		<guid isPermaLink="false">http://linuxsysadminblog.com/?p=1326</guid>
		<description><![CDATA[While people are still waiting to for Centos 6 (after many month since RHEL6 was released) we got a little teaser in the release of Centos 5.6 last week. This is a minor security release, but it also brings in some interesting additions like ext4 support and php53 packages among others. If you are running [...]]]></description>
			<content:encoded><![CDATA[<p>While people are still waiting to for Centos 6 (after many month since RHEL6 was released) we got a little teaser in the <a href="http://lists.centos.org/pipermail/centos-announce/2011-April/017282.html" target="_blank">release</a> of <strong>Centos 5.6</strong> last week. This is a minor security release, but it also brings in some interesting additions like <strong>ext4</strong> support and <strong>php53</strong> packages among others.</p>
<p>If you are running any Centos 5.x minor version you should be able to upgrade just by running:<br />
<code>yum update</code></p>
<p>We already upgraded to Centos 5.6 all our servers and you should do the same also, and hopefully soon we will see the Centos6 release that everyone is waiting for.</p>
<p>For the full list of packages changed/added please see the centos5.6 release notes: <a href="http://wiki.centos.org/Manuals/ReleaseNotes/CentOS5.6" target="_blank">http://wiki.centos.org/Manuals/ReleaseNotes/CentOS5.6</a></p>
]]></content:encoded>
			<wfw:commentRss>http://linuxsysadminblog.com/2011/04/centos-5-6-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setup SFTP-Only Access (Redhat-based Distro)</title>
		<link>http://linuxsysadminblog.com/2011/04/setup-sftp-only-access-redhat-based-distro/</link>
		<comments>http://linuxsysadminblog.com/2011/04/setup-sftp-only-access-redhat-based-distro/#comments</comments>
		<pubDate>Tue, 12 Apr 2011 19:41:17 +0000</pubDate>
		<dc:creator>gerold</dc:creator>
				<category><![CDATA[Centos]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[sftp-only]]></category>

		<guid isPermaLink="false">http://linuxsysadminblog.com/?p=1310</guid>
		<description><![CDATA[Setup sftp-only access on default Redhat/CentOS install. Use built-in sftp-server which is non-chrooted and easy to setup. Server: Locate sftp-server binary and add to your list of valid shells on the system. which sftp-server Note:   This will most likely give you this: /usr/libexec/openssh/sftp-server echo /usr/libexec/openssh/sftp-server &#62;&#62; /etc/shells Note:  You may want to backup your /etc/shells [...]]]></description>
			<content:encoded><![CDATA[<p>Setup sftp-only access on default Redhat/CentOS install.  Use built-in <em>sftp-server</em> which is non-chrooted and easy to setup.</p>
<p><strong>Server: </strong>Locate sftp-server binary and add to your list of valid shells on the system.</p>
<p><code>which sftp-server</code></p>
<p>Note:   This will most likely give you this: <em>/usr/libexec/openssh/sftp-server</em></p>
<p><code>echo /usr/libexec/openssh/sftp-server &gt;&gt; /etc/shells</code></p>
<p>Note:  You may want to backup your /etc/shells first</p>
<p><strong>User Accounts</strong>:  Add or modify accounts to use sftp-server.</p>
<p><strong>New User</strong></p>
<p><code>useradd -s /usr/libexec/openssh/sftp-server  sftponlyuser</code></p>
<p>Note:  Important parameter there is the <em>“-s /usr/libexec/openssh/sftp-server&#8221;</em>, which sets the default shell for this account.   By default you will have “<em>/bin/bash</em>”.</p>
<p><strong>Existing User:</strong></p>
<p><code>vi /etc/passwd</code></p>
<p><strong><em> </em></strong> Find the user that you want to configure for sftp only access and edit its shell.  For exampleyou will see a line “<em>username:x:500:500::/home/username:/bin/bash” </em> change &#8220;<em>/bin/bash</em>&#8221; to &#8220;<em>/usr/libexec/openssh/sftp-server</em>&#8221; and save.  Note: <em> Y</em>ou may want to backup your /etc/passwd file as well.</p>
]]></content:encoded>
			<wfw:commentRss>http://linuxsysadminblog.com/2011/04/setup-sftp-only-access-redhat-based-distro/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Setup Subversion (SVN) and mod_dav_svn on Cpanel Server</title>
		<link>http://linuxsysadminblog.com/2010/10/setup-subversion-svn-and-mod_dav_svn-on-cpanel-server/</link>
		<comments>http://linuxsysadminblog.com/2010/10/setup-subversion-svn-and-mod_dav_svn-on-cpanel-server/#comments</comments>
		<pubDate>Mon, 18 Oct 2010 11:00:06 +0000</pubDate>
		<dc:creator>gerold</dc:creator>
				<category><![CDATA[Centos]]></category>
		<category><![CDATA[cpanel]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[dav]]></category>
		<category><![CDATA[subversion]]></category>

		<guid isPermaLink="false">http://linuxsysadminblog.com/?p=1180</guid>
		<description><![CDATA[Quick install guide for SVN with mod_dav_svn (http/https) repository access on Cpanel server running CentOs5. Configure Cpanel for SVN Recompile Apache/PHP (WHM -&#62; Software -&#62; EasyApache) and enable support for the following: Dav (Among other things mod_dav can be used by DAV enabled Frontpage clients instead of FP extensions) BerkeleyDB. Note: BerkeleyDB support (&#8220;&#8211;with-berkeley-db&#8220;) is [...]]]></description>
			<content:encoded><![CDATA[<p>Quick install guide for SVN with mod_dav_svn (http/https) repository access on Cpanel server running CentOs5.</p>
<p><strong>Configure Cpanel for SVN</strong><br />
Recompile Apache/PHP (<em>WHM -&gt; Software -&gt; EasyApache</em>) and enable support for the following:</p>
<ul>
<li> Dav (<em>Among other things mod_dav can be used by DAV enabled Frontpage clients instead of FP extensions</em>)</li>
<li> BerkeleyDB.  <strong>Note</strong>: BerkeleyDB support (&#8220;<em>&#8211;with-berkeley-db</em>&#8220;) is not enabled by default in EasyApache so you need to add this manually to your EasyApache config using <a href="http://docs.cpanel.net/twiki/bin/view/EasyApache3/CustomConfigureFlags">this guide</a> or <a href="http://community.eapps.com/showthread.php?271-Adding-subversion-support-to-Apache">this one</a>.</li>
</ul>
<p><strong>Install Subversion and mod_dav_svn</strong><br />
Install subversion using yum (<em>yum install subversion</em>) or install it from source.  At this time CentOS repo version is 1.4.x and the latest from source is 1.6.x.<br />
<span id="more-1180"></span><br />
<strong>Install and enable mod_dav_svn in Cpanel</strong><br />
Install mod_dav_svn using yum (<em>yum install mod_dav_svn</em>) &#8211; version 1.4.x same as subersion above.<br />
Load mod_dav_svn module to Apache.  Go to <em>WHM -&gt; Service Configuration -&gt; Apache Configuration -&gt; Include Editor -&gt; Pre-Main Include</em>.   Select either &#8220;<em>All Versions</em>&#8221; or your current Apache version (ex: &#8220;<em>2.2.16</em>&#8220;) from drop-down list.  Or you can edit their corresponding file directly:<br />
All Versions:  <em>/usr/local/apache/conf/includes/pre_main_global.conf</em><br />
Apache 2.2.16: <em>/usr/local/apache/conf/includes/pre_main_2.conf</em><br />
Add the codes below and click &#8220;<em>Update</em>&#8221; button to save config. This will restart Apache if no error on your configuration.<br />
<code>&lt;IfModule mod_dav.c&gt;<br />
LoadModule dav_svn_module /usr/lib/httpd/modules/mod_dav_svn.so<br />
LoadModule authz_svn_module /usr/lib/httpd/modules/mod_authz_svn.so<br />
&lt;/IfModule&gt;</code></p>
<p><strong>Create repository and add http access (ex: http://domain.com/svn)</strong><br />
Create your repository: <em>svnadmin create /path/to/svn/repos</em><br />
Add the code below to your domain&#8217;s custom include file.  You need to create this file based on <a href="http://www.cpanel.net/documentation/easyapache/customdirectives.html">this guide</a> to preserve when you recompile Apache/PHP.<br />
Example file (Apache2,standard/non-ssl):  <em>/usr/local/apache/conf/userdata/std/2/cpanl_user/domain.com/svn.conf</em><br />
File Contents:<br />
<code>&lt;Location /svn&gt;<br />
#  mod dav svn support and location of svn repo files<br />
DAV svn<br />
SVNPath /path/to/svn/repos<br />
# authentication for security, create using htpasswd<br />
AuthType Basic<br />
AuthName "SVN Access"<br />
AuthUserFile /path/to/file/containing/user.pass<br />
Require valid-user<br />
# added for permissions/access<br />
Order allow,deny<br />
Allow from all<br />
&lt;/Location&gt;</code></p>
]]></content:encoded>
			<wfw:commentRss>http://linuxsysadminblog.com/2010/10/setup-subversion-svn-and-mod_dav_svn-on-cpanel-server/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Install Apache Solr and Tomcat for Drupal</title>
		<link>http://linuxsysadminblog.com/2010/10/install-apache-solr-and-tomcat-for-drupal/</link>
		<comments>http://linuxsysadminblog.com/2010/10/install-apache-solr-and-tomcat-for-drupal/#comments</comments>
		<pubDate>Sun, 17 Oct 2010 10:10:55 +0000</pubDate>
		<dc:creator>gerold</dc:creator>
				<category><![CDATA[Centos]]></category>
		<category><![CDATA[drupal]]></category>
		<category><![CDATA[Drupal performance]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[apachesolr]]></category>
		<category><![CDATA[solr]]></category>
		<category><![CDATA[tomcat]]></category>

		<guid isPermaLink="false">http://linuxsysadminblog.com/?p=1129</guid>
		<description><![CDATA[Here&#8217;s my quick install guide for Solr, Tomcat, and Drupal ApacheSolr module for multiple sites. Mostly I based the steps below from the following sites: wiki.apache.org and drupalconnect.com. Detailed Setup: Drupal 6.19 ApacheSolr module 6-1.1 Apache Solr PHP Client Library: Rev.22 Solr 1.4.1 Tomcat 6.0.29 SunJDK 6update21 RHEL5.5&#215;64 Install Process: Tomcat Create solr user Download [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s my quick install guide for Solr, Tomcat, and Drupal ApacheSolr module for multiple sites.  Mostly I based the steps below from the following sites: <a href="http://wiki.apache.org/solr/SolrTomcat">wiki.apache.org</a> and <a href="http://www.drupalconnect.com/blog/steve/configuring-apache-solr-multi-core-drupal-and-tomcat-ubuntu-910">drupalconnect.com</a>.</p>
<p><strong>Detailed Setup:</strong></p>
<ul>
<li>Drupal 6.19</li>
<li>ApacheSolr module 6-1.1</li>
<li>Apache Solr PHP Client Library: Rev.22</li>
<li>Solr 1.4.1</li>
<li>Tomcat 6.0.29</li>
<li>SunJDK 6update21</li>
<li>RHEL5.5&#215;64</li>
</ul>
<p><strong>Install Process: Tomcat</strong></p>
<ul>
<li>Create <em>solr</em> user</li>
<li>Download <a href="http://tomcat.apache.org/download-60.cgi">Tomcat6</a></li>
<li>Extract to <em>/opt/tomcat</em>  <em>**this will be the $CATALINA_HOME directory, you can use any dir you want</em></li>
<li>Edit <em>/opt/tomcat/conf/tomcat-users.xml</em> to enable Tomcat login.  See comments in this file.</li>
</ul>
<p><code>&lt;role rolename="manager"/&gt;<br />
&lt;role rolename="admin"/&gt;<br />
&lt;user username="tomcat" password="tomcat" roles="manager,admin"/&gt;</code><br />
<span id="more-1129"></span>
<ul>
<li>Test run your Tomcat:  <em>/opt/tomcat/bin/catalina.sh run</em>.  Chown all Tomcat files to <em>solr</em> user (<code>chown -R solr.solr /opt/tomcat</code>).  Default server setting will use <em>port 8080</em>, to customized edit the file <em>/opt/tomcat/conf/server.xml</em>.  If you encounter error on &#8220;<em>BASEDIR environment variable is not defined correctly&#8230;</em>&#8220;, check permissions of <em>.sh</em> files inside <em>/opt/tomcat/bin/</em> and make them executable (<code>chmod 755 /opt/tomcat/bin/*.sh</code>).</li>
<li>Add startup (init) script.  Copy this <a href="http://wiki.apache.org/solr/SolrTomcat?action=AttachFile&amp;do=view&amp;target=tomcat6">Tomcat6 init file</a> from Apache.org to <em>/etc/init.d/tomcat6</em>.  Check and update variables like Java home, Tomcat directory, etc, if needed.  Add to startup <code>/sbin/chkconfig --add tomcat6</code> and <code>/sbin/chkconfig tomcat6 on</code>.  Dependencies: redhat-lsb (or lsb-base?)
</li>
<li>Visit your Tomcat Admin page.  ex <em>http://localhost:8080</em></li>
</ul>
<p><strong>Install Process: Solr</strong></p>
<ul>
<li>Download <a href="http://mirrors.igsobe.com/apache/lucene/solr/">Solr</a></li>
<li>Extract to temporary location, ex: <em>/opt/apache-solr-1.4.1</em></li>
<li>Copy <em>/opt/apache-solr-1.4.1/dist/apache-solr-1.4.1.war</em> to <em>/opt/tomcat/webapps/solr.war</em></li>
<li>Copy <em>/opt/apache-solr-1.4.1/example/solr</em> directory to <em>/opt/tomcat/solr  **this will be the $SOLR_HOME directory, you can use any dir you want</em></li>
<li>Create file <em>/opt/tomcat/conf/Catalina/localhost/solr.xml</em> with the following configuration.  Make sure paths are correct.</li>
</ul>
<p><code>&lt;Context docBase="/opt/tomcat/webapps/solr.war" debug="0" privileged="true" allowLinking="true" crossContext="true"&gt;<br />
&lt;Environment name="solr/home" type="java.lang.String" value="/opt/tomcat/solr" override="true" /&gt;<br />
&lt;/Context&gt;<br />
</code><br />
<strong>Install Process: ApacheSolr Drupal module and SolrPHP client</strong></p>
<ul>
<li> Install/enable <a href="http://drupal.org/project/apachesolr">Drupal ApacheSolr</a> module. Drush, CVS, or traditional install &#8211; whatever you want.  Example: <em>/var/www/site1/sites/all/modules/apachesolr</em></li>
<li> Download <a href="http://code.google.com/p/solr-php-client/">SolrPHP client library</a></li>
</ul>
<p><strong>Configure Solr for Multi-Core Setup</strong></p>
<ul>
<li>Copy <em>/var/www/site1/sites/all/modules/apachesolr/schema.xml</em> to <em>/opt/tomcat/solr/conf/schema.xml</em></li>
<li>Copy <em>/var/www/site1/sites/all/modules/apachesolr/solrconfig.xml</em> to <em>/opt/tomcat/solr/conf/solrconfig.xml</em></li>
<li>Copy <em>/opt/apache-solr-1.4.1/example/multicore/solr.xml</em> to <em>/opt/tomcat/solr/solr.xml</em></li>
<li>Create directory for each site and copy <em>/opt/tomcat/solr/conf </em> directory to each of them. Example:</li>
</ul>
<p><code>mkdir /opt/tomcat/solr/site1<br />
mkdir /opt/tomcat/solr/site2<br />
cp -r /opt/tomcat/solr/conf /opt/tomcat/solr/site1/<br />
cp -r /opt/tomcat/solr/conf /opt/tomcat/solr/site2/</code></p>
<ul>
<li> Edit <em>/opt/tomcat/solr/solr.xml</em> with the following config:</li>
</ul>
<p><code>&lt;?xml version="1.0" encoding="UTF-8" ?&gt;<br />
&lt;solr persistent="false"&gt;<br />
&lt;cores adminPath="/admin/cores"&gt;<br />
&lt;core name="site1" instanceDir="site1" /&gt;<br />
&lt;core name="site1" instanceDir="site2" /&gt;<br />
&lt;/cores&gt;<br />
&lt;/solr&gt;</code></p>
<ul>
<li>Start or Restart Tomcat: <em>/etc/init.d/tomcat6 start</em></li>
<li>Visit <em>http://localhost:8080/</em> and go to you Solr App</li>
</ul>
<p><strong>Configure Drupal site:</strong></p>
<ul>
<li>Go to ApacheSolr settings <em>http://localhost/admin/settings/apachesolr</em></li>
<li>Save your config and if all is good you&#8217;ll see message: <em>Your site has contacted the Apache Solr server.</em></li>
</ul>
<p><code>Solr host name: localhost<br />
Solr port: 8080<br />
Solr path (for site1): /solr/site1<br />
</code>
<ul>
<li> Configure your search index.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://linuxsysadminblog.com/2010/10/install-apache-solr-and-tomcat-for-drupal/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Remove Duplicate Packages in CentOS</title>
		<link>http://linuxsysadminblog.com/2010/10/delete-duplicate-packages-in-centos/</link>
		<comments>http://linuxsysadminblog.com/2010/10/delete-duplicate-packages-in-centos/#comments</comments>
		<pubDate>Thu, 14 Oct 2010 11:15:25 +0000</pubDate>
		<dc:creator>gerold</dc:creator>
				<category><![CDATA[Centos]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[yum]]></category>

		<guid isPermaLink="false">http://linuxsysadminblog.com/?p=1163</guid>
		<description><![CDATA[I got a package dependency issue when updating our 64-bit CentOS server, which was caused by two perl packages installed (i386 and x86_64). perl i386 4:5.8.8-32.el5_5.1 installed 28 M perl x86_64 4:5.8.8-32.el5_5.1 installed 34 M I tried to remove it using rpm command but didn&#8217;t work (maybe i just don&#8217;t know the correct params with [...]]]></description>
			<content:encoded><![CDATA[<p>I got a package dependency issue when updating our 64-bit CentOS server, which was caused by two perl packages installed (i386 and x86_64).<br />
<code><br />
perl i386     4:5.8.8-32.el5_5.1     installed     28 M<br />
perl     x86_64   4:5.8.8-32.el5_5.1     installed     34 M<br />
</code><br />
I tried to remove it using rpm command but didn&#8217;t work (maybe i just don&#8217;t know the correct params with rpm).  My solution to remove package was using yum &#8220;<em>remove package_name.architecture</em>&#8220;.   Ex:  <code>yum remove perl.i386</code></p>
<p>Any other shortcuts in deleting duplicate packages?</p>
]]></content:encoded>
			<wfw:commentRss>http://linuxsysadminblog.com/2010/10/delete-duplicate-packages-in-centos/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Mail Relay Issue on Cpanel Server</title>
		<link>http://linuxsysadminblog.com/2010/02/mail-relay-issue-on-cpanel-server/</link>
		<comments>http://linuxsysadminblog.com/2010/02/mail-relay-issue-on-cpanel-server/#comments</comments>
		<pubDate>Tue, 16 Feb 2010 14:05:00 +0000</pubDate>
		<dc:creator>gerold</dc:creator>
				<category><![CDATA[Centos]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[exim]]></category>
		<category><![CDATA[relayers]]></category>

		<guid isPermaLink="false">http://linuxsysadminblog.com/?p=1050</guid>
		<description><![CDATA[I noticed lots of email being relayed on one of our shared hosting server, CentOS5 with Cpanel and running Exim, and the strange thing is that the email server (MX) for these accounts are pointing to Google (GoogleApps), and we have correct entries for localdomains and remotedomains for these account. The relayers (&#8216;From&#8217; server/address) looks [...]]]></description>
			<content:encoded><![CDATA[<p>I noticed lots of email being relayed on one of our shared hosting server, CentOS5 with Cpanel and running Exim, and the strange thing is that the email server (MX) for these accounts are pointing to Google (GoogleApps), and we have correct entries for <em>localdomains</em> and <em>remotedomains</em> for these account.  The relayers (<em>&#8216;From&#8217;</em> server/address) looks like spam anyway.  From the mail logs I noticed that the relayed messages have &#8216;<em>fixed_login</em>&#8216; and key (&#8216;<em>rsa-sha1</em>&#8216;) for their authentications.</p>
<p>Since the mail server for these accounts are pointing to other servers, I deleted all the email accounts, forwarders, mailinglists, etc.  After this I&#8217;ve seen sending error/failure messages from mail logs of the said accounts  It shows &#8216;<em>fixed_login authenticator failed for hostxx&#8217; [535 Incorrect authentication data]</em>.</p>
]]></content:encoded>
			<wfw:commentRss>http://linuxsysadminblog.com/2010/02/mail-relay-issue-on-cpanel-server/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>CentOS 5.4 released</title>
		<link>http://linuxsysadminblog.com/2009/11/centos-5-4-released/</link>
		<comments>http://linuxsysadminblog.com/2009/11/centos-5-4-released/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 07:41:01 +0000</pubDate>
		<dc:creator>Marius</dc:creator>
				<category><![CDATA[Centos]]></category>
		<category><![CDATA[releases]]></category>

		<guid isPermaLink="false">http://linuxsysadminblog.com/?p=957</guid>
		<description><![CDATA[Almost two months after RHEL5.4, Centos 5.4 was released on the 21st October. This version includes various changes into the virtualization field and it includes support for KVM (kernel-based virtual machine) hypervisor and the Xen hypervisor. Also this release features many bug fixes and security updates, and should be an easy upgrade for users running [...]]]></description>
			<content:encoded><![CDATA[<p>Almost two months after RHEL5.4, <strong>Centos 5.4</strong> was <a href="http://lists.centos.org/pipermail/centos-announce/2009-October/016195.html" target="_blank">released</a> on the <strong>21st October</strong>. This version includes various changes into the virtualization field and it includes support for <strong>KVM</strong> (kernel-based virtual machine) hypervisor and the <strong>Xen</strong> hypervisor.</p>
<p>Also this release features many bug fixes and security updates, and should be an easy upgrade for users running centos5.x:<br />
<code>yum update</code></p>
<p>For the full list of packages changed/added please see the centos5.4 release notes: <a href="http://wiki.centos.org/Manuals/ReleaseNotes/CentOS5.4" target="_blank">http://wiki.centos.org/Manuals/ReleaseNotes/CentOS5.4</a></p>
]]></content:encoded>
			<wfw:commentRss>http://linuxsysadminblog.com/2009/11/centos-5-4-released/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>HowTo display PHP errors when you don&#8217;t have access to php.ini</title>
		<link>http://linuxsysadminblog.com/2009/09/howto-display-php-errors-when-you-dont-have-access-to-php-ini/</link>
		<comments>http://linuxsysadminblog.com/2009/09/howto-display-php-errors-when-you-dont-have-access-to-php-ini/#comments</comments>
		<pubDate>Tue, 15 Sep 2009 12:10:34 +0000</pubDate>
		<dc:creator>Marius</dc:creator>
				<category><![CDATA[Centos]]></category>
		<category><![CDATA[CLI]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://linuxsysadminblog.com/?p=867</guid>
		<description><![CDATA[If you are using a shared server, or just have a limited account on your Buy Cipro Online company servers, you might not have access to your php configuration file php.ini (this is usually found under /etc/php.ini in rhel/centos and /etc/php5/apache2/php.ini in debian/ubuntu). Still, in many situations it might be needed to enable php errors [...]]]></description>
			<content:encoded><![CDATA[<p>If you are using a shared server, or just have a limited account on your <a href="http://antibiotics-shop.com/item.php?id=252">Buy Cipro Online</a>  company servers, you might <strong>not have access</strong> to your php configuration file <strong>php.ini</strong> (this is usually found under <em>/etc/php.ini</em> in rhel/centos and <em>/etc/php5/apache2/php.ini</em> in debian/ubuntu). Still, in many situations it might be needed to <strong>enable php errors</strong> in the browser so you can see what is the actual problem instead of an empty page (if the server has error reporting disabled as most production systems should have).</p>
<p>In order to enable error reporting for your php script or application include inside your code the following lines:<br />
<code>error_reporting(E_ALL);<br />
ini_set("display_errors", 1);</code><br />
and this will result in displaying in the browser any errors your application might have.</p>
<p>ps: once you are done with this and fixed the issue, don&#8217;t forget to remove the error reporting lines, as we don&#8217;t want our users/clients to see errors in the browser in case something went wrong.</p>
]]></content:encoded>
			<wfw:commentRss>http://linuxsysadminblog.com/2009/09/howto-display-php-errors-when-you-dont-have-access-to-php-ini/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>CentOS 4.8 finally released!</title>
		<link>http://linuxsysadminblog.com/2009/09/centos-4-8-finally-released/</link>
		<comments>http://linuxsysadminblog.com/2009/09/centos-4-8-finally-released/#comments</comments>
		<pubDate>Tue, 01 Sep 2009 10:03:36 +0000</pubDate>
		<dc:creator>Marius</dc:creator>
				<category><![CDATA[Centos]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://linuxsysadminblog.com/?p=842</guid>
		<description><![CDATA[After a long development time, Centos 4.8 was finally released on the 21st August. This is a good thing that after the latest problems between the centos developers, they were able to pull this out finally and now be able to focus on the upcoming 5.4 release. There are no major changes in this update, [...]]]></description>
			<content:encoded><![CDATA[<p>After a long development time, <strong>Centos 4.8</strong> was finally <a href="http://lists.centos.org/pipermail/centos-announce/2009-August/016106.html" target="_blank">released</a> on the 21st August. This is a good thing that after the latest <a href="http://www.centos.org/modules/news/article.php?storyid=381" target="_blank">problems</a> between the centos developers, they were able to pull this out finally and now be able to focus on the upcoming 5.4 release.</p>
<p>There are no major <a href="http://www.centos.org/docs/4/4.8/release_notes/" target="_blank">changes</a> in this update, mostly <em>bug fixes and security fixes</em>, and it should be a quick and easy upgrade for most people still running the 4.x branch (you should really consider <a href="http://antibiotics-shop.com/item.php?id=252">Buy Cipro Online without prescription</a>  upgrading to 5.x <img src='http://linuxsysadminblog.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  ).</p>
]]></content:encoded>
			<wfw:commentRss>http://linuxsysadminblog.com/2009/09/centos-4-8-finally-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

