Entries Tagged as 'HowTo'
Latest version of PHP available for RHEL5.x is 5.1.6 and no new RedHat releases are coming as packaging has ceased. You can get PHP 5.3 for RHEL5 from Remi, but it it’s incompatible with latest versions of Drupal, Civicrm or many modules so we need the a 5.2X branch of PHP. This requires building php [...]
[Read more →]
Tags: drupal·php·rhel
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 [...]
[Read more →]
Tags: php
This quick post will show how we can easily allow only certain http referrers see some location using nginx. This might be useful for example if you are using nginx as a static content provider and want to not allow everyone hot-linking your images and only your own sites. Doing something like this in nginx [...]
[Read more →]
Tags: nginx·tips
Many people use subversion over ssh for a simple and secure way to work on remotely hosted svn repositories. This is normally as simple as running: svn co svn+ssh://user@server/repo . If the remote ssh server is not running on the default ssh port (tcp 22) then this needs a little tweaking to get it working. [...]
[Read more →]
Tags: ssh·subversion·svn
This is my second activity on using AWS – this time the use of EBS. Objectives: Format a new EBS (10GB) and mount it on a running instance of private AMI (created on first activity – add link/ref to old post) Setup a MySQL server with the datastore on EBS partition Setup the partition(EBS) to [...]
[Read more →]
Tags: Amazon·aws·ebs·ec2
Are you often waiting over 1 minute to get a ssh prompt? This can be caused by several things however more often then not is a missing PTR record for server address and enabled GSSAPIAuthentication in ssh_config. GSSAPIAuthentiction is Kerberos 5 centralized authentication/authorization mechanism that relies on resolving a hostname for proper operation, when it [...]
[Read more →]
Tags: delay·kerberos·lag·login·ssh
TrueCrypt is an open source encryption application, it has an ability to create hidden encrypted containers and file systems/volumes, it is portable and cross platform compatible. It allows to use cascading cyphers and encrypts/decrypts files on the fly. Be sure to read the FAQ and documentation before fully committing your files to TrueCrypt. – install [...]
[Read more →]
Tags: Fedora 10
Yesterday I received new installation request from developers to install ApacheSolr module for Drupal. Check this link for more details on Apache Solr Search Integration. Since this is new to me I spent some time on searching and doing test installations. To make it short below is my setup on our shared hosting server running [...]
[Read more →]
Tags: apachesolr·drupal·solr
Here’s my first try working with Amazon Web Services. Covered tasks are the following: – getting familiar with AWS, specially EC2 and S3. – working with EC2 instance using CentOS image – search, start/stop, and do some customization of an instance – create AMIs (private) and start instance from it. – S3 buckets – upload [...]
[Read more →]
Tags: Amazon·aws·Centos·cloud·cloud computing·ec2·java
In this guide i will provide the steps in moving Drupal sites with CiviCRM – with Drupal and CiviCRM in one or separate databases. I will outline the steps and sample commands but won’t give much details, so feel free to ask if you need any clarifications. Also, refer to my previous guide on “HowTo [...]
[Read more →]
Tags: civicrm·drupal