Ticket #788: bcfg2-server.README.Debian

File bcfg2-server.README.Debian, 1.4 KB (added by Arto Jantunen <viiru@…>, 11 years ago)

bcfg2-server README.Debian from the current Debian package

Line 
1Getting started
2===============
3
4The first thing to do is to create the repository and SSL key, these
5can be done by running "bcfg2-admin init" as root on the server. The
6script will ask questions about the SSL key, and a few things about
7the repository.
8
9After that is done, you should be able to start the server with the
10init script by running "/etc/init.d/bcfg2-server start"
11
12You can look at /var/log/daemon.log to see what the server said while
13starting up. If the server started without problems, you can run
14"bcfg2 -q -v -n" to see if the client and server are communicating
15properly.
16
17The next step after that is to actually populate the repository (by
18default in /var/lib/bcfg2/) with configuration files, see the Bcfg2
19wiki (http://trac.mcs.anl.gov/projects/bcfg2/wiki/UsingBcfg2) for
20information on how that is done.
21
22Using create-debian-pkglist.py
23==============================
24
25Copy the included create-debian-pkglist.py and it's configuration
26(debian-pkglist.conf) to /var/lib/bcfg2/etc/ on your bcfg2 server
27machine.  Edit the configuration to fit your environment, so that it's
28apt sources match the sources.list on your managed servers and the
29group names you are using. Make the script executable and run it (cd
30/var/lib/bcfg2 && ./etc/create-debian-pkglist.py). It should generate
31usable xml files to /var/lib/bcfg2/Pkgmgr/. If everything works, you
32can setup cron to run it every night.
33
34 -- Arto Jantunen <viiru@debian.org>, Sat, 24 Apr 2010 09:43:44 +0300