This repository has been archived by the owner on Feb 17, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
42 lines (32 loc) · 1.51 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
http://neil.franklin.ch/Projects/dphys-config/INSTALL
author Neil Franklin, last modification 2010.02.16
copyright ETH Zuerich Physics Departement
use under either modified/non-advertising BSD or GPL license
To install/config/use dphys-config do the following:
Source install
==============
1. Download and unpack the .tar.gz archive file from:
http://neil.franklin.ch/Projects/dphys-config.tar.gz or
http://neil.franklin.ch/Projects/dphys-config-<date>.tar.gz
where last milestone/release is <date>=20100216
make
make install
Configuration
=============
1. ensure that wget is installed
2. install this software
3. make HTTP server space which will host the config files and file list
(dir, HTTP server config, DNS, etc), such as http://server/configs/sarge/*
4. in the virtual servers base directory, make for each host an directory,
such as http://server/configs/sarge/<hostname>/*
5. in this host directory put an file listing the files to be installed;
with each line formatted: file-on-server:path-on-target:script-to-run
as many hosts have the same files, hardlink or symlink them to an file in an
http://server/configs/sarge/<PSEUDOHOST>/* directory
6. set up the config file /etc/dphys-config
- where your file list and config files are to be found
7. run the /usr/bin/dphys-config script at every startup:
- /usr/bin/dphys-config init
and daily from cron:
- 0 3 * * * root /usr/bin/dphys-config cron > /dev/null 2>&1
For details read the included dphys-config.1 man page.