Linux Sysadmin Blog

Linux Sysadmin Blog header image 4

Entries Tagged as 'HowTo'

php 5.2.9 on RHEL5.x (for Drupal 6)

October 21st, 2009 · 1 Comment · drupal, HowTo, Installation

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: ··

HowTo display PHP errors when you don’t have access to php.ini

September 15th, 2009 · 1 Comment · Centos, CLI, Debian, HowTo, sysadmin, Tips and Tricks

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:

Using wildcards in nginx valid_referers

August 25th, 2009 · 3 Comments · HowTo, sysadmin, Tips and Tricks

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: ·

Using svn+ssh with a non-standard ssh port

August 17th, 2009 · 1 Comment · CLI, HowTo, sysadmin, Tips and Tricks

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: ··

Task on Amazon EBS on CentOS AMI

July 29th, 2009 · 2 Comments · Centos, cloud computing, HowTo

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: ···

Install TrueCrypt on Fedora 10

July 6th, 2009 · 4 Comments · desktop, HowTo, Installation, Security

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:

Install Apache Solr Multicore for Drupal

July 1st, 2009 · 3 Comments · drupal, HowTo, Installation

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: ··

My First Amazon EC2 Setup (CentOS AMI)

June 29th, 2009 · No Comments · Centos, cloud computing, HowTo, Storage

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: ······

Moving Drupal / Civicrm Sites

June 29th, 2009 · No Comments · Centos, cloud computing, HowTo, Storage

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: ·