Entries Tagged as 'HowTo'
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 [...]
[Read more →]
Tags: key authentication·password-less·ssh
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 >> /etc/shells Note: You may want to backup your /etc/shells [...]
[Read more →]
Tags: sftp-only
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’ve read many online tutorials and how-tos, and I finally have my notes which is working for me everytime i move [...]
[Read more →]
Tags: civicrm·drupal
I’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 [...]
[Read more →]
Tags:
Here’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×64 Install Process: Tomcat Create solr user Download [...]
[Read more →]
Tags: apachesolr·solr·tomcat
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’t work (maybe i just don’t know the correct params with [...]
[Read more →]
Tags: Centos·yum
Here is a quick tip on how to remove a list of files. Let’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: [...]
[Read more →]
Tags: bash·tips
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 – 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 [...]
[Read more →]
Tags: drupal·securepages
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 ‘user’ or ‘comment’ modules and so on. At this state we can’t [...]
[Read more →]
Tags: drupal
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 [...]
[Read more →]
Tags: Fedora 12