ARM-SIte CM Reporting Tool Installation and Configuration
Purpose of this document
This document describes the steps required to install the infrastructure, code and settings required to run a full-fledged instance of the NSA CM Reporting tool developed since 2011 by the NSA UAF operations support team. The initial lead on this project is Chris Waigl.
The following instructions presumed a complete *nix-type system, ideally dedicated to this purpose. It has been installed successfully on the following platforms:
- Debian GNU/Linux stable "Squeeze" 6.0 (x86_64 GNU/Linux 2.6.32-5-amd64)
- CentOS 5.8 (Final) (x86_64 x86_64 GNU/Linux 2.6.18-308.11.1.el5)
- OS X Snow Leopard 10.6.8 (desktop version)
- OS X Snow LEopard Server 10.6.x
Installation will be described in the following as a slightly fictionalized install for a different ARM Site, using TWP as an example. The reason is that on June 27, Brad Perkins and Chris Waigl indeed carried out such an install on the LANL infrastructure, as an exercise that intended to produce, and indeed succeeded to produce, a useable CM reporting tool instance for the TWP site.
You will need a distribution of the code with the following directories:
/new_cm /new_cm_media /new_cm_templates
content of direcories - list here
Install infrastructure components
Check and/or install MySQL components
Verify which MySQL version is installed with your system. You can find out whether your version is 32 or 64 bit by running mysql, using a user or root password
- If the version installed on your server is a 32 bit version of a sufficiently recent MySQL, you will need to install both Python and the python-mysql connector in 32 bit version. If you find out that your Python is already 64 bit, you may have to re-install a 32 bit version.
- If the version installed on your server is a 64 bit version of a sufficiently recent MySQL, you will need to install both Python and the python-mysql connector in 64 bit version.
- If you install MySQL from scratch, or your version is old, we recommend to go wi