Search form


OTRS Migration from Ubuntu to CentOS

This page describes an OTRS migration from one Linux server to another. The background: I had an existing version 3.1.x installation of the OTRS Help Desk system that needed to be upgraded to the latest version (at the time, 3.2.9) and migrated from an Ubuntu 12.04 system to a CentOS 6.1 system. The goal was to create an installation that could be upgraded using the RPM packages provided by OTRS themselves. The version of OTRS in use was the free open-source version.

OTRS Installation on Ubuntu 12.04

An updated version of this article using OTRS 5 and Ubuntu 16.04 is available here.

This article describes how to install the OTRS help desk system on an Ubuntu 12.04 server. OTRS is a popular open-source help desk system written in Perl; it was at version 3.2.9 as of this writing. The instructions here should work for later versions of Ubuntu or Debian, but you should RTFM for later versions of OTRS to take advantage of new features.

Using Drush

This is quick overview of using Drush, or the Drupal shell, for updating and managing Drupal web sites. Attempting to administer Drupal through its GUI is a pain, but Drush allows you to run updates and alter your configuration quickly on the command line. Best of all, Drush is fully scriptable and provides its own API so you can develop software to do exactly what you need.

Installing Drush

PHP Composer provides an easier way to install Drush than the method below. Instructions for this can be found in the Drush 8/Drupal 8 version of this article, available here. After installing Composer, run the command php composer.phar global require drush/drush:7.* to install Drush 7.

Procedures for installing Drush on Linux-like machines. The easiest method is through its PEAR channel if available:

Nginx + PHP-FPM + PHP Cache + SSL + Varnish + Drupal

Note: The below instructions are for Varnish 3 on Ubuntu 12. If you want to run Drupal with Varnish 4 on Ubuntu 16, updated instructions are here.

So, you want to set up Nginx and Drupal with all the bells and whistles on Ubuntu Server 12.04. You want caching for both PHP and Varnish and you need it to work for both SSL and non-SSL. Here's a blueprint you might follow. This assumes you're starting from scratch with a bare install or image, with no web server, database or anything except SSH.


Subscribe to RSS - Linux