<?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; Installation</title>
	<atom:link href="http://linuxsysadminblog.com/category/installation/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>HowTo Install APC on CPanel/WHM</title>
		<link>http://linuxsysadminblog.com/2011/05/howto-install-apc-on-cpanelwhm/</link>
		<comments>http://linuxsysadminblog.com/2011/05/howto-install-apc-on-cpanelwhm/#comments</comments>
		<pubDate>Fri, 06 May 2011 02:07:16 +0000</pubDate>
		<dc:creator>Marius</dc:creator>
				<category><![CDATA[cpanel]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[apc]]></category>
		<category><![CDATA[whm]]></category>

		<guid isPermaLink="false">http://linuxsysadminblog.com/?p=1338</guid>
		<description><![CDATA[CPanel includes support in their installer for eaccelerator; still, for some strange reason they don&#8217;t include support for APC also. So, if you want to install APC on your CPanel powered server, you will have to go back at the command line and install it manually. Here are the steps needed to install the latest [...]]]></description>
			<content:encoded><![CDATA[<p><strong>CPanel</strong> includes support in their installer for <strong>eaccelerator</strong>; still, for some strange reason they don&#8217;t include support for <strong><a href="http://pecl.php.net/package/APC" target="_blank">APC</a></strong> also. So, if you want to install APC on your CPanel powered server, you will have to go back at the command line and install it manually.</p>
<p>Here are the steps needed to install the latest version of APC (3.1.8 at the time of writing this article; please check for the latest version available when you are reading this and make the changes accordingly):<br />
<code>cd /usr/local/src<br />
wget http://pecl.php.net/get/APC-3.1.8.tgz<br />
tar -zxvf APC-3.1.8.tgz<br />
cd APC-3.1.8<br />
phpize<br />
./configure --enable-apc --enable-apc-mmap --with-apxs --with-php-config=/usr/local/bin/php-config<br />
make<br />
make install</code></p>
<p>Next, activate the apc module in <strong>php.ini</strong> by adding something like this:<br />
<code>extension="apc.so"<br />
apc.enabled=1<br />
apc.shm_segments=1<br />
apc.shm_size=128</code></p>
<p>Finally, you will have to <em>restart apache</em> and after that the APC module should be activated and in use. Hopefully, this will help you enable APC on your CPanel server in some very simple steps in less that 5minutes.</p>
]]></content:encoded>
			<wfw:commentRss>http://linuxsysadminblog.com/2011/05/howto-install-apc-on-cpanelwhm/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>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>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>Upload or Download Multiple Files (recursive) using Command-line FTP</title>
		<link>http://linuxsysadminblog.com/2010/10/upload-or-download-multiple-files-resursive-using-command-line-ftp/</link>
		<comments>http://linuxsysadminblog.com/2010/10/upload-or-download-multiple-files-resursive-using-command-line-ftp/#comments</comments>
		<pubDate>Fri, 15 Oct 2010 11:30:30 +0000</pubDate>
		<dc:creator>gerold</dc:creator>
				<category><![CDATA[Installation]]></category>
		<category><![CDATA[ftp]]></category>
		<category><![CDATA[lftp]]></category>

		<guid isPermaLink="false">http://linuxsysadminblog.com/?p=1168</guid>
		<description><![CDATA[Problem is I can&#8217;t upload directory including sub-directories and files using command-line ftp. I searched for similar problem and looks like you can&#8217;t do this using command line ftp, unless you create a script. One solution I found is the use of &#8220;lftp&#8220;. # lftp ftp_host > user ftp_user ftp_pass > mirror source target (download [...]]]></description>
			<content:encoded><![CDATA[<p>Problem is I can&#8217;t upload directory including sub-directories and files using command-line ftp.   I searched for similar problem and looks like you can&#8217;t do this using command line ftp, unless you create a script.   One solution I found is the use of &#8220;<a href="http://lftp.yar.ru/">lftp</a>&#8220;.<br />
<code><br />
   # lftp ftp_host<br />
   > user ftp_user ftp_pass<br />
   > mirror source target</code>      (download entire directory tree)<code><br />
   > mirror -R source target</code>  (reverse mirror; upload entire directory tree)</p>
<p>Usefull when transferring files between servers where you only have ftp access.</p>
]]></content:encoded>
			<wfw:commentRss>http://linuxsysadminblog.com/2010/10/upload-or-download-multiple-files-resursive-using-command-line-ftp/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Firefox SSL Warning on Valid SSL Certificate</title>
		<link>http://linuxsysadminblog.com/2010/10/firefox-ssl-warning-on-valid-ssl-certificate/</link>
		<comments>http://linuxsysadminblog.com/2010/10/firefox-ssl-warning-on-valid-ssl-certificate/#comments</comments>
		<pubDate>Wed, 13 Oct 2010 22:26:29 +0000</pubDate>
		<dc:creator>gerold</dc:creator>
				<category><![CDATA[Installation]]></category>
		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://linuxsysadminblog.com/?p=1160</guid>
		<description><![CDATA[Normally, you will receive this warning when you are using a self-signed ssl certificate. But I encountered this issue on a domain with valid ssl from Verisign. Warning message indicates that Verisign not recognized. Update: Need to install GeoTrust&#8217;s intermidiate CA.]]></description>
			<content:encoded><![CDATA[<p>Normally, you will receive this warning when you are using a self-signed ssl certificate.  But I encountered this issue on a domain with valid ssl from Verisign.  Warning message indicates that Verisign not recognized.</p>
<p><strong>Update:</strong><br />
Need to install <a href="https://knowledge.geotrust.com/support/knowledge-base/index?page=content&#038;id=AR1422"><strong>GeoTrust&#8217;s intermidiate CA</strong></a>. </p>
]]></content:encoded>
			<wfw:commentRss>http://linuxsysadminblog.com/2010/10/firefox-ssl-warning-on-valid-ssl-certificate/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Surge2010 after party &#8211; three martini chug</title>
		<link>http://linuxsysadminblog.com/2010/10/surge2010-after-party-three-martini-chug/</link>
		<comments>http://linuxsysadminblog.com/2010/10/surge2010-after-party-three-martini-chug/#comments</comments>
		<pubDate>Fri, 01 Oct 2010 13:35:41 +0000</pubDate>
		<dc:creator>andrew</dc:creator>
				<category><![CDATA[Installation]]></category>
		<category><![CDATA[fun]]></category>

		<guid isPermaLink="false">http://linuxsysadminblog.com/?p=1157</guid>
		<description><![CDATA[I don&#8217;t know the name of this gentelman but he was THE hit at the after hour part.  I believe this was the second or third time he did the trick at the insistance of the other sysadmins in the audience.  It should be noted that there were no more than three women in the [...]]]></description>
			<content:encoded><![CDATA[<p>I don&#8217;t know the name of this gentelman but he was THE hit at the after hour part.  I believe this was the second or third time he did the trick at the insistance of the other sysadmins in the audience.  It should be noted that there were no more than three women in the crowd.</p>
<p><object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/CkcaArLpR4c?fs=1&amp;hl=en_US"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/CkcaArLpR4c?fs=1&amp;hl=en_US" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://linuxsysadminblog.com/2010/10/surge2010-after-party-three-martini-chug/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Keynote summary of Surge conference</title>
		<link>http://linuxsysadminblog.com/2010/09/keynote-summary-of-surge-conference/</link>
		<comments>http://linuxsysadminblog.com/2010/09/keynote-summary-of-surge-conference/#comments</comments>
		<pubDate>Thu, 30 Sep 2010 13:29:56 +0000</pubDate>
		<dc:creator>andrew</dc:creator>
				<category><![CDATA[Installation]]></category>

		<guid isPermaLink="false">http://linuxsysadminblog.com/?p=1143</guid>
		<description><![CDATA[Where can the very young industry of Web Ops learn from? Keynote &#8211; John Allspaw from Surge Conference. System Engineering &#8211; Systems engineering is an interdisciplinary field of engineering that focuses on how complex engineering projects should be designed and managed Fault Tolerance &#8211; looking at massive Control Systems Engineering Max users on apache or max connections [...]]]></description>
			<content:encoded><![CDATA[<p>Where can the very young industry of Web Ops learn from?  Keynote &#8211; John Allspaw from <a href="http://omniti.com/surge/2010/sessions">Surge Conference</a>.</p>
<ul>
<li><a href="http://en.wikipedia.org/wiki/Systems_engineering">System Engineering</a> &#8211; <strong>Systems engineering</strong> is an <a title="Interdisciplinary" href="http://en.wikipedia.org/wiki/Interdisciplinary">interdisciplinary</a> field of <a title="Engineering" href="http://en.wikipedia.org/wiki/Engineering">engineering</a> that focuses on how complex engineering projects should be designed and managed</li>
<li><a href="http://en.wikipedia.org/wiki/Fault_tolerance">Fault Tolerance</a> &#8211; looking at massive</li>
<li>Control Systems Engineering</li>
<li>Max users on apache or max connections to your db &#8211; Sheer Pin -</li>
</ul>
<p>Interesting  which arent  about the web but relate to Systems Enge</p>
<ul>
<li>Complex Systems Fail in Funny Ways &#8211; Accidents, Living with High-Risk Technologies</li>
<li>An Engineers view of Human Error &#8211; Human Error comes in different flavors</li>
<li>RAD Lab</li>
</ul>
<p>Why do systems engineers have it easy?</p>
<ul>
<li>No one dies when the site goes down</li>
<li>If we make a mistake we can recover quickly</li>
<li>Future is bright</li>
</ul>
<p>John concludes in these calls to actions:</p>
<ul>
<li>Look around!  NASA, go to non web conferences that relate, for example, systems safety</li>
<li>Engage Academia</li>
<li>It&#8217;s time for our field to get more sophisticated</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://linuxsysadminblog.com/2010/09/keynote-summary-of-surge-conference/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

