Skip to content

Building from Source

redhatrises edited this page Sep 10, 2014 · 20 revisions

Build from Source

  1. On RHEL and Fedora make sure the packages openscap-utils and python-lxml and their dependencies are installed. We require version 1.0.8 or later of openscap-utils (available in RHEL) as well as git.

# yum -y install git openscap-utils python-lxml

  1. Download the source code

$ git clone https://github.com/OpenSCAP/scap-security-guide.git

  1. Build the source code
  • To build all the content:

    $ cd scap-security-guide/
    $ make

  • To build content for a specific distribution for example:

    $ cd scap-security-guide/RHEL/6/
    $ make

When the content has completed the build process, the built content exists in the distribution's output directory. For example:

`$ cd scap-security-guide/RHEL/6/output`  
  1. Discover the following:
  • A pretty prose guide in rhel6-guide.html containing practical, actionable information for administrators
  • A concise spreadsheet representation (potentially useful as the basis for an SRTM document) in rhel6-table-nistrefs-server.html
  • Files that can be ingested by SCAP-compatible scanning tools, to enable automated checking:
    • rhel6-xccdf-scap-security-guide.xml
    • rhel6-oval-scap-security-guide.xml