wiki:Install

Version 15 (modified by dclark, 13 years ago) (diff)

--

Installation

TracNav

  1. Prerequisites
  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.