Skip to main content

GeoffStratton.com

  • About/Contact
  • GitHub
  • LinkedIn

Tag: Linux

Fedora 20 Installation Woes

November 11, 2014March 16, 2022 Geoff Stratton Leave a comment

Attempting to install Fedora 20 on an older i7 system recently produced a series of failures. For starters, after the installation allegedly completed, the system would hang after the BIOS screens at the point where the OS should start. That’s because Anaconda installed no bootloader. A computer isn’t very useful with no operating system. To […]

Loading

Read More

The Drupal Database: Querying From the PHP filter

November 11, 2014March 16, 2022 Geoff Stratton Leave a comment

If you have a multi-site Drupal 7 install, or simply another database living alongside your Drupal database, sometimes you may want to pull a few records from the other database for display on your Drupal site. Displaying data from the Drupal database is pretty easy since you can just use Drupal’s built-in db_query function: (If […]

Loading

Read More

Perl File Change Notifier

August 25, 2014March 16, 2022 Geoff Stratton Leave a comment

This notifies users by email (sendmail) when a particular file changes on a Unix-style filesystem. This was originally written for a page that was being modified by multiple people in the wiki software shipped with Apple’s OS X Server. This worked all right as a hack, but if you need extensive content management or granular […]

Loading

Read More

Varnish and Pound with Apache

August 21, 2014March 16, 2022 Geoff Stratton Leave a comment

Using Varnish and Pound together is a relatively easy way to ensure the Varnish cache works for both SSL and non-SSL web sites. Varnish is a general-purpose web cache that can make your web sites and applications run substantially faster for your visitors while reducing the overall load on your web server. It works by […]

Loading

Read More

Swap Apache Prefork for Worker

August 19, 2014March 16, 2022 Geoff Stratton Leave a comment

By default most Apache web servers — at least prior to Apache 2.4 — run Apache’s Prefork MPM (multi-processing module). Prefork works OK and offers the greatest compatibility with existing Apache modules, but it consumes a relatively large amount of memory because it spawns many processes that each handle one connection at a time. Prefork […]

Loading

Read More

Back Up MySQL Databases

August 18, 2014March 16, 2022 Geoff Stratton Leave a comment

A simple bash script to back up MySQL databases. This backs up every database on the server to individual gzipped files in the directory you specify so that you can easily restore them separately. If you want it to run everyday, save it with an .sh extension and add it to the crontab of an […]

Loading

Read More

Drupal Installation and Performance

August 18, 2014March 16, 2022 Geoff Stratton Leave a comment

These are some notes on Drupal installation and performance on Unix-like operating systems (using Ubuntu here). Drupal Installation Install MySQL and create the database and Drupal database user first. If you must use apt or yum to install Drupal, don’t try to install everything at once. If you can avoid it, don’t install Drupal from […]

Loading

Read More

Fixes for Drupal Webform

August 18, 2014March 16, 2022 Geoff Stratton Leave a comment

I was seeing a couple of errors in the Drupal Webform module, and this page describes the fixes I used to eliminate them. This applies to version 3.x so if you’ve upgraded to 4 I doubt this is relevant anymore. As described at http://drupal.org/node/1462986. To fix this I found #webform_component in the theme_webform_display_select() function in […]

Loading

Read More

OTRS Migration from Ubuntu to CentOS

August 18, 2014March 16, 2022 Geoff Stratton Leave a comment

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 […]

Loading

Read More

OTRS Installation on Ubuntu 12.04

August 18, 2014March 16, 2022 Geoff Stratton Leave a comment

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 […]

Loading

Read More

Posts pagination

Newer posts 1 … 4 5 6 7 Older posts

About

This is the home server of Geoff Stratton. There's a little more about me on the About page. The server itself lives in Softlayer's DAL02/06 data center in downtown Dallas, Texas, geolocation 32 47 32.599 N 96 48 53.11 W 125m 10m 100m 10m.

I use this place mostly as a personal knowledge base, although I keep it public in case anything useful emerges. Caveat emptor, and don't go handling snake-skin.

Consider everything posted here to be covered by the GNU Public License Version 3. You should read the whole license, but essentially it means you can do anything you want with the code, including bundle it up and sell it as a new application. The catch is that if you make and distribute a new app, you are required to make all the source code available for free to everyone.

Tip Jar

Did you find something useful here? Please consider a tip. Many thanks!


Buy Me A Coffee


Categories

Tags

Ansible Apache awk Bash C# CentOS Debian DNS Docker Drupal Drush Fedora grep Hardware Hosting IP JavaScript jQuery LDAP Linux Mail Server mtr MySQL Nginx OTRS Perl PHP Plone Pound Python Redis sed SpamAssassin SQL SSL tcpdump TrueCrypt Tutorials ufw Varnish VB.NET Webform Windows WordPress Zope

Archives

sparkling Theme by Colorlib Powered by WordPress