wiki:Install

Version 1 (modified by desai, 17 years ago) (diff)

--

Installation

  1. Prerequisites
    • Install python2.3+ (client and server side)
    • Install m2crypto (server side)
    • Install lxml (client and server side)
  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. Configure communication settings
    • Choose a port for the bcfg2 server
    • Set the bcfg2= line in components section bcfg2.conf to point at the server location
    • Choose a shared secret password, placing it in the password= line of the communication section of bcfg2.conf
  1. Install the example repository
    • Untar this file into your repository location
    • Set this location in the repository line of the server section of 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.