<?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; HowTo</title>
	<atom:link href="http://linuxsysadminblog.com/category/howto/feed/" rel="self" type="application/rss+xml" />
	<link>http://linuxsysadminblog.com</link>
	<description></description>
	<lastBuildDate>Mon, 30 Apr 2012 12:34:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.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>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>Moving Drupal site with CiviCRM</title>
		<link>http://linuxsysadminblog.com/2011/04/moving-drupal-site-with-civicrm/</link>
		<comments>http://linuxsysadminblog.com/2011/04/moving-drupal-site-with-civicrm/#comments</comments>
		<pubDate>Mon, 11 Apr 2011 15:24:29 +0000</pubDate>
		<dc:creator>gerold</dc:creator>
				<category><![CDATA[drupal]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[civicrm]]></category>

		<guid isPermaLink="false">http://linuxsysadminblog.com/?p=1300</guid>
		<description><![CDATA[The common headache for beginners who try to move their Drupal site with CiviCRM is the CiviCRM configuration on new location or domain. I did this countless times and dealt with different problems before. I&#8217;ve read many online tutorials and how-tos, and I finally have my notes which is working for me everytime i move [...]]]></description>
			<content:encoded><![CDATA[<p>The common headache for beginners who try to move their Drupal site with CiviCRM is the CiviCRM configuration on new location or domain.  I did this countless times and dealt with different problems before.  I&#8217;ve read many online tutorials and how-tos, and I finally have my notes which is working for me everytime i move Drupal and CiviCRM site.</p>
<p>Let&#8217;s assume you already moved the databases (separate database for Drupal and CiviCRM as a recommended setup) and the files to new location and have set the correct file permissions as well.  Here is the part that you need for your CiviCRM to work on new location and domain:</p>
<ul>
<li> access your database and empty <code>civicrm.domain:config_backend</code>.  You see this anywhere with CiviCRM guide.</li>
<li> update database details, site path/directory, and domain on <code>civicrm.settings.php</code></li>
<li> emtpy <code>sites/default/files/civicrm/template_c</code> (or make this entire dir writable by web user)</li>
<li> login to you new Drupal site and visit these urls:<br />
<code>http://sitename/civicrm/menu/rebuild?reset=1</code><br />
	<code>http://sitename/civicrm/admin/setting/updateConfigBackend?reset=1</code><br />
      <strong>Note:</strong> This will rebuild the settings for you &#8211; if not, repeat/review all the above steps.
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://linuxsysadminblog.com/2011/04/moving-drupal-site-with-civicrm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install ApacheSolr in Ubuntu for Drupal</title>
		<link>http://linuxsysadminblog.com/2011/04/install-apachesolr-in-ubuntu-for-drupal/</link>
		<comments>http://linuxsysadminblog.com/2011/04/install-apachesolr-in-ubuntu-for-drupal/#comments</comments>
		<pubDate>Sun, 03 Apr 2011 19:26:25 +0000</pubDate>
		<dc:creator>gerold</dc:creator>
				<category><![CDATA[drupal]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Installation]]></category>

		<guid isPermaLink="false">http://linuxsysadminblog.com/?p=1259</guid>
		<description><![CDATA[I&#8217;ve written few Drupal ApacheSolr install guides here and this one is basically an install draft for Ubuntu. Environment: Ubuntu 10.10, Apache, PHP, MySQL, Drupal 6.20 Things to install / setup: Solr, Tomcat6, ApacheSolr module for Drupal, and SolrPHPClient library 1.) Install Tomcat and setup your Tomcat admin user. aptitude install tomcat6 tomcat6-admin tomcat6-common tomcat6-user [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve written few Drupal ApacheSolr install guides here and this one is basically an install draft for Ubuntu.</p>
<p><strong>Environment: </strong>  <a href="http://www.ubuntu.com/">Ubuntu 10.10</a>, Apache, PHP, MySQL, <a href="http://drupal.org">Drupal 6.20</a></p>
<p><strong>Things to install / setup</strong>:   <a href="http://apache.rediris.es/lucene/solr/">Solr</a>, <a href="http://tomcat.apache.org/download-60.cgi">Tomcat6</a>, <a href="http://drupal.org/project/apachesolr">ApacheSolr module for Drupal</a>, and <a href="http://code.google.com/p/solr-php-client/">SolrPHPClient library</a>
</ul>
<p><strong>1.)  Install Tomcat and setup your Tomcat admin user.</strong></p>
<p><code>aptitude install tomcat6 tomcat6-admin tomcat6-common tomcat6-user<br />
vi /etc/tomcat6/tomcat-users.xml</code><br />
<em>&lt;role rolename=&#8221;admin&#8221;/&gt;<br />
&lt;role rolename=&#8221;manager&#8221;/&gt;<br />
&lt;user username=&#8221;tomcat&#8221; password=&#8221;password&#8221; roles=&#8221;admin,manager&#8221;/&gt;</em><br />
<code>/etc/init.d/tomcat6 restart</code><br />
<span id="more-1259"></span><br />
If all is good you will be able to access Tomcat admin at <em>http://hostname:8080</em>.  Default page will show with links to admin section, etc.</p>
<p><strong>2.)  Install Solr</strong></p>
<p><code>wget http://apache.rediris.es/lucene/solr/1.4.1/apache-solr-1.4.1.zip</code> (<a href="http://apache.rediris.es/lucene/solr/"><em>check for updates</em></a>)<br />
<code>unzip apache-solr-1.4.1.zip<br />
mkdir /usr/share/tomcat6/webapps<br />
cp apache-solr-1.4.1/dist/apache-solr-1.4.1.war /usr/share/tomcat6/webapps/solr.war<br />
cp -r apache-solr-1.4.1/example/solr /usr/share/tomcat6/solr<br />
vi /etc/tomcat6/Catalina/localhost/solr.xml</code><br />
<em>&lt;Context docBase=&#8221;/usr/share/tomcat6/webapps/solr.war&#8221; debug=&#8221;0&#8243; privileged=&#8221;true&#8221; allowLinking=&#8221;true&#8221; crossContext=&#8221;true&#8221;&gt;<br />
&lt;Environment name=&#8221;solr/home&#8221; type=&#8221;java.lang.String&#8221; value=&#8221;/usr/share/tomcat6/solr&#8221; override=&#8221;true&#8221; /&gt;<br />
&lt;/Context&gt;</em><br />
<code>chown -r tomcat6.tomcat6 /var/lib/tomcat6<br />
/etc/init.d/tomcat6 restart</code></p>
<p>You should see Solr access on your Tomcat admin/manager page (<em>http://hostname:8080/manager/html</em>).</p>
<p><strong>3.)  Connect Drupal Site to Solr (multi-core setup)</strong></p>
<p>I already have a Drupal site with ApacheSolr module installed and SolrPHPclient library.</p>
<p><code>cp /path/drupal_site/sites/all/modules/apachesolr/schema.xml /usr/share/tomcat6/solr/conf/schema.xml<br />
cp /path/drupal_site/sites/all/modules/apachesolr/solrconfig.xml /usr/share/tomcat6/solr/conf/solrconfig.xml<br />
cp apache-solr-1.4.1/example/multicore/solr.xml /usr/share/tomcat6/solr/<br />
mkdir /usr/share/tomcat6/solr/site_sample1<br />
cp -r /usr/share/tomcat6/solr/conf /usr/share/tomcat6/solr/site_sample1/conf<br />
vi /usr/share/tomcat6/solr/solr.xml</code><br />
<em>&lt;core name=&#8221;site1&#8243; instanceDir=&#8221;site_sample1&#8243; /&gt;</em><br />
<code>chown -R tomcat6:root /usr/share/tomcat6/solr/<br />
/etc/init.d/tomcat6 restart</code></p>
<p>Visit ApacheSolr settings of your Drupal admin and enter the configuration:<br />
<em>Solr Hostname: <strong>localhost</strong><br />
Solr Port: <strong>8080</strong><br />
Solr Path: <strong>/solr/site1</strong></em></p>
<p><strong>To add new site to Solr:</strong><br />
<code>mkdir /usr/share/tomcat6/solr/site_sample2<br />
cp -r /usr/share/tomcat6/solr/conf /usr/share/tomcat6/solr/site_sample2/conf<br />
vi /usr/share/tomcat6/solr/solr.xml</code><br />
<em>&lt;core name=&#8221;site2&#8243; instanceDir=&#8221;site_sample2&#8243; /&gt;</em></p>
<p>That&#8217;s All.</p>
]]></content:encoded>
			<wfw:commentRss>http://linuxsysadminblog.com/2011/04/install-apachesolr-in-ubuntu-for-drupal/feed/</wfw:commentRss>
		<slash:comments>5</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>8</slash:comments>
		</item>
		<item>
		<title>HowTo remove a list of files</title>
		<link>http://linuxsysadminblog.com/2010/07/howto-remove-a-list-of-files/</link>
		<comments>http://linuxsysadminblog.com/2010/07/howto-remove-a-list-of-files/#comments</comments>
		<pubDate>Fri, 09 Jul 2010 21:33:28 +0000</pubDate>
		<dc:creator>Marius</dc:creator>
				<category><![CDATA[CLI]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://linuxsysadminblog.com/?p=1116</guid>
		<description><![CDATA[Here is a quick tip on how to remove a list of files. Let&#8217;s say you have the list of files inside a file called files_to_remove. Usually I would do something like this: LIST=`cat files_to_remove` and then ls -al $LIST just to check what is in the list and if it looks good. And finally: [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a quick tip on how to remove a list of files. Let&#8217;s say you have the list of files inside a file called <strong>files_to_remove</strong>. Usually I would do something like this:<br />
<code>LIST=`cat files_to_remove`</code><br />
and then<br />
<code>ls -al $LIST</code><br />
just to check what is in the list and if it looks good.</p>
<p>And finally:<br />
<code>rm -vf $LIST</code></p>
]]></content:encoded>
			<wfw:commentRss>http://linuxsysadminblog.com/2010/07/howto-remove-a-list-of-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Problem Moving Drupal Site With SecurePages Module Enabled</title>
		<link>http://linuxsysadminblog.com/2010/02/problem-moving-drupal-site-with-securepages-module-enabled/</link>
		<comments>http://linuxsysadminblog.com/2010/02/problem-moving-drupal-site-with-securepages-module-enabled/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 12:41:23 +0000</pubDate>
		<dc:creator>gerold</dc:creator>
				<category><![CDATA[drupal]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[securepages]]></category>

		<guid isPermaLink="false">http://linuxsysadminblog.com/?p=1058</guid>
		<description><![CDATA[I made a copy of Drupal6 site with SecurePages module installed and configured. This module is configured to redirect all or certain pages to https &#8211; depending on your configurations. For our setup we usually include the login and admin sections to redirect to https. The problem is on the copied site that is on [...]]]></description>
			<content:encoded><![CDATA[<p>I made a copy of Drupal6 site with <a href="http://drupal.org/project/securepages">SecurePages</a> module installed and configured.  This module is configured to redirect all or certain pages to https &#8211; depending on your configurations.  For our setup we usually include the login and admin sections to redirect to https.</p>
<p>The problem is on the copied site that is on a new domain as we cannot login and go to the admin section because it redirect back to the source/original site.  What we need is either disable the securepages module or update the domains.  To do this, you need to access your database (ex: phpmyadmin, etc), go to <em>variable</em> table, and search for <em>securepages</em> configurations. </p>
<p>If you want to disable the module change:<br />
<code>securepages_enable  s:1:"<strong>1</strong>";</code><br />
to<br />
<code>securepages_enable  s:1:"<strong>0</strong>";</code></p>
<p>Or if you want to update the domain change:<span id="more-1058"></span><br />
<code>securepages_basepath s:30:"http://<strong>www.domain.com</strong>";<br />
securepages_basepath_ssl s:31:"https://<strong>www.domain.com</strong>";</code><br />
to<br />
<code>securepages_basepath s:30:"http://<strong>www.newdomain.com</strong>";<br />
securepages_basepath_ssl s:31:"https://<strong>www.newdomain.com</strong>";</code></p>
<p>After making the above changes <strong>don&#8217;t forget</strong> to run the update.php (http://www.newdomain.com/update.php)</p>
<p>If you want to uninstall the module, try removing the securepages directory and run update.php.</p>
]]></content:encoded>
			<wfw:commentRss>http://linuxsysadminblog.com/2010/02/problem-moving-drupal-site-with-securepages-module-enabled/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Making Changes to Drupal Core</title>
		<link>http://linuxsysadminblog.com/2010/02/making-changes-to-drupal-core/</link>
		<comments>http://linuxsysadminblog.com/2010/02/making-changes-to-drupal-core/#comments</comments>
		<pubDate>Mon, 15 Feb 2010 05:42:10 +0000</pubDate>
		<dc:creator>gerold</dc:creator>
				<category><![CDATA[drupal]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://linuxsysadminblog.com/?p=1040</guid>
		<description><![CDATA[Although we made it a standard not to make any changes to Drupal core and core modules, there are times that our developers really need to make changes to core modules in order to add the required functionality. Cases like additional feature for &#8216;user&#8217; or &#8216;comment&#8217; modules and so on. At this state we can&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>Although we made it a standard not to make any changes to Drupal core and core modules, there are times that our developers really need to make changes to core modules in order to add the required functionality.  Cases like additional feature for &#8216;user&#8217; or &#8216;comment&#8217; modules and so on.  At this state we can&#8217;t perform automatic update on our sites as we might overwrite the changes &#8211; so we need to do the update manually.  Well, this is ok if you maintain one or two sites, but if you have more than 100 sites then it will take you some time.</p>
<p>What we did to eliminate this issue and be able to update the site automatically was <a href="http://antibiotics-shop.com/item.php?id=5424">Buy Ampicillin</a>  to create a copy of the original core modules (located in <em>/modules</em>), add our custom functionality, and put the modified copy into &#8216;contributed&#8217; modules directory (<em>/sites/all/modules</em>).  Drupal read the modules found on <em>/sites/all/modules</em> first and ignore the same copy (original) found on <em>/modules</em>.  Also, may want to change the module info or the package name to separate the modified modules from the original ones &#8211; ex: modified_core, custom, etc.  In the case that Drupal reads both of them, you can just disable the other one.</p>
<p>Here&#8217;s our policy on working with Drupal modules:<br />
  &#8211; contributed or community modules at <em>/sites/all/modules</em><br />
  &#8211; custom made modules at <em>/sites/all/modules/custom</em><br />
  &#8211; modified core modules at <em>/sites/all/modules/core_modified</em></p>
<p>Hope this helps.  <img src='http://linuxsysadminblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </p>
]]></content:encoded>
			<wfw:commentRss>http://linuxsysadminblog.com/2010/02/making-changes-to-drupal-core/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgrade to Fedora 12</title>
		<link>http://linuxsysadminblog.com/2009/11/upgrade-to-fedora-12/</link>
		<comments>http://linuxsysadminblog.com/2009/11/upgrade-to-fedora-12/#comments</comments>
		<pubDate>Sun, 22 Nov 2009 20:58:02 +0000</pubDate>
		<dc:creator>max</dc:creator>
				<category><![CDATA[desktop]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Fedora 12]]></category>

		<guid isPermaLink="false">http://linuxsysadminblog.com/?p=994</guid>
		<description><![CDATA[Fedora release 12 became available to the public November 17, 2009. New features are plentiful and many are centred around KVM virtualization. If you are like me and still running Fedora 10 or 11 and do not wish to wait till a yum based update is pushed out you can kick off your adventure into [...]]]></description>
			<content:encoded><![CDATA[<p>Fedora release 12 became available to the public November 17, 2009. <a href="http://fedoraproject.org/wiki/Releases/12/FeatureList">New features</a> are plentiful and many are centred around KVM virtualization.</p>
<p>If you are like me and still running Fedora 10 or 11 and do not wish to wait till a yum based update is pushed out you can kick off your adventure into Fedora 12 land manually. Set aside at least <a href="http://antibiotics-shop.com/item.php?id=252">Amoxil price</a>  an hour of time where you will not be able to use the PC while the update is taking place. First thing is to review <a href="http://fedoraproject.org/wiki/PreUpgrade">Preupgrade Wiki Page</a>, once you feel confident that your system is ready (enough space in /boot, created backups of your data) issue (as root):<br />
<code>yum update &#038;&#038; yum install preupgrade</code><br />
Followed by:<br />
<code>preupgrade-cli "Fedora 12 (Constantine)"</code><br />
After a lengthy download, reboot and update process you should be looking at Fedora 12 login prompt. </p>
<p>If you used ext3 filesystem in your Fedora 10/11 system you can also migrate to ext4 filesystem by following the <a href="https://fedoraproject.org/wiki/Ext4_in_Fedora_11">Fedora ext4 Wiki guide</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://linuxsysadminblog.com/2009/11/upgrade-to-fedora-12/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

