configuration

A2 Hosting Git server SSH setup (A private Git repository)

Git SSH repository FAQ: How do I set up a private Git server on a remote ssh server, such as an A2 Hosting web server? (i.e., how do I create my own private SSH Git repository on an A2 Hosting server?)

I just created a new domain on an A2 Hosting web server, and one of the reasons I chose A2 is because they offer/allow Git hosting, specifically Git hosting over SSH.

If you've never set up a private Git repository over SSH, well, fear not, me either. But, I just got it done, and here's how I did it.

Scala SBT and build.sbt syntax and examples

Note: This page is very much a work in progress.

A sample Scala SBT build.sbt file, including the last line, which handles the SBT 're-run with -deprecation for details' warning message. (If you get the 're-run with -deprecation' message, that last line hands the "-deprecation" option over to the compiler, so you can see the deprecation problems.)

Apache NameVirtualHost configuration using MAMP on Mac OS X

Since I can't seem to ever remember this, here are some notes on how to configure a Name Virtual Host (NameVirtualHost) on an Apache web server. In particular, this is from the httpd.conf configuration file that I use with MAMP on one of my Mac OS X development systems.

In short, as I'm developing two different applications, one named "cato" and another named "zenf", these are the important name-based virtual host lines from my Apache configuration file:

A sample Mac OS X Bash startup file (.bash_profile)

In case anyone needs a sample .bash_profile startup file for their Mac OS X or other Unix/Linux system, I thought I'd share my most recent version here.

Drupal database configuration files - development, testing, and production environments

Drupal database configuration file FAQ: Is there something I can do to quit having to change my Drupal settings.php file every time I go from my Development Environment to Testing and Production?

Yes! One of the things I didn't like about Drupal when I first started working with it was the settings.php file in the sites/default directory. I thought that was THE database configuration file, and you had to keep changing it when you went from Development to Testing to Production.

The Drupal Diaries, Day 12

If you're interested in the really short story, this Drupal-based website is now hosted on a new, dedicated Linux server with much more RAM than the old server. For the longer story -- and the details of Apache tweaks and a script to automatically restart Apache when it got hung up -- read on.

Surprised by the Drupal plus LAMP memory use

I ended up being really surprised, but it turns out that Drupal and the LAMP architecture (Linux, Apache, MySQL, and PHP) take much more memory than the old Java-based blog that I had running the DevDaily site previously.

The Drupal Diaries, Day 3

As a few thousand people saw earlier this morning, Day 3 of the conversion to Drupal was filled with a little comedy. First, I ran into a MySQL "can't create/write to file" error message caused by not having the open-files-limit cranked up high enough.

Drupal default settings, security, and spam

Drupal default settings, security, and spam: I've created several new websites with Drupal lately (One Man's Alaska, Tequila/Monk, and Legend of the Squirrel), and while I really like a lot of things about it, you also have to be careful with Drupal's default settings, in particular the default "social" settings, which lead to a

A Perl configuration file example

Here's some Perl code that I just pulled from a working program that demonstrates how to read a human-readable configuration file in a Perl program:

Example MySQL database design - A Nagios MySQL database design

MySQL database design FAQ: Can you provide a large, complete, example MySQL database design?

I recently worked on a project where I wrote a web-based user interface that would let "everyday users" maintain their own Nagios configuration data. After logging in to the web interface, users could modify the Nagios configuration as desired, for instance, when they added new equipment to their network.

Syndicate content