wiki:Install

Version 9 (modified by bradshaw, 14 years ago) (diff)

--

Installation

TracNav

  1. Prerequisites
    • Install python (2.3+) (client and server side)
    • Install m2crypto 0.13-0.15 (server side)
      • Requires openssl
    • Install lxml 0.8+ (client and server side)
      • Requires libxml2 (2.6.16+)
      • Requires libxslt (1.1.12+)
      • Requires pyrex (0.9.3)
  1. Configure communication settings
    • copy examples/bcfg2.conf /etc/bcfg2.conf
    • Choose a port for the bcfg2 server
    • Set the bcfg2= line in components section bcfg2.conf to point at the server location
      bcfg2=https://servername.domain.com:port
    • Choose a shared secret password, placing it in the password= line of the communication section of /etc/bcfg2.conf
  1. Generate an ssl cert
    • openssl req -x509 -nodes -days 1000 -newkey rsa:1024 -out cert.pem -keyout cert.pem
    • Set the key= line in the communication section of bcfg2.conf to point at this new certificate
  1. Install the example repository
    • Untar this file into your repository location
    • Set this location in the repository line of the server section of /etc/bcfg2.conf
  1. Start up the bcfg2 server
    • /etc/init.d/bcfg2-server start
  1. Copy bcfg2.conf to clients
    • remove the key= line and server section; they aren't needed on clients

The server is now up and running. Now you need to create your configuration specification.