User:Fab/Bcfg2: Difference between revisions

From Alpine Linux
(Created page with "[https://bcfg2.org Bcfg2] helps system administrators produce a consistent, reproducible, and verifiable description of their environment, and offers visualization and reporting ...")
 
m (Removed hyperlink to squatted domain. changed other links to HTTPS.)
 
Line 1: Line 1:
[https://bcfg2.org Bcfg2] helps system administrators produce a consistent, reproducible, and verifiable description of their environment, and offers visualization and reporting tools to aid in day-to-day administrative tasks.
Bcfg2 helps system administrators produce a consistent, reproducible, and verifiable description of their environment, and offers visualization and reporting tools to aid in day-to-day administrative tasks.


Bcfg2 is based on a client-server architecture. The clients are responsible for interpreting their configurations provided by the Bcfg2 server. The clients are uploading a set of statistics to the server when the configuration is done.
Bcfg2 is based on a client-server architecture. The clients are responsible for interpreting their configurations provided by the Bcfg2 server. The clients are uploading a set of statistics to the server when the configuration is done.
Line 7: Line 7:
== Install Bcfg2 ==
== Install Bcfg2 ==


{{Cmd|apk add bcfg2 bcfg2-server -U -X http://dl-3.alpinelinux.org/alpine/edge/testing/ --allow-untrusted}}
{{Cmd|apk add bcfg2 bcfg2-server -U -X https://dl-3.alpinelinux.org/alpine/edge/testing/ --allow-untrusted}}


=== Start bcfg2-server ===
=== Start bcfg2-server ===
Line 41: Line 41:
== Install Bcfg2 ==
== Install Bcfg2 ==


{{Cmd|apk add bcfg2 -U -X http://dl-3.alpinelinux.org/alpine/edge/testing/ --allow-untrusted}}
{{Cmd|apk add bcfg2 -U -X https://dl-3.alpinelinux.org/alpine/edge/testing/ --allow-untrusted}}

Latest revision as of 02:06, 28 August 2023

Bcfg2 helps system administrators produce a consistent, reproducible, and verifiable description of their environment, and offers visualization and reporting tools to aid in day-to-day administrative tasks.

Bcfg2 is based on a client-server architecture. The clients are responsible for interpreting their configurations provided by the Bcfg2 server. The clients are uploading a set of statistics to the server when the configuration is done.

Server

Install Bcfg2

apk add bcfg2 bcfg2-server -U -X https://dl-3.alpinelinux.org/alpine/edge/testing/ --allow-untrusted

Start bcfg2-server

After the installation bcfg2-server is not running. To start the Bcfg2 server, use start.

/etc/init.d/bcfg2-server start

You will get a feedback about the status.

 * Caching service dependencies                                 [ ok ]
 * Starting bcfg2-server...                                     [ ok ]

Stop bcfg2-server

If you want to stop the web server use stop.

/etc/init.d/bcfg2-server stop

Restart bcfg2-server

After changing the configuration file bcfg2-server needs to be restarted.

/etc/init.d/bcfg2-server restart

Runlevel

Normally you want to start the Bcfg2 server when the system is launching. This is done by adding bcfg2-server to the needed runlevel.

rc-update add bcfg2-server default


Client

Install Bcfg2

apk add bcfg2 -U -X https://dl-3.alpinelinux.org/alpine/edge/testing/ --allow-untrusted