Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
design:configfile [2009/02/21 13:19] – Ueli Heuer | design:configfile [2012/06/25 17:49] (current) – Ueli Heuer | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== config file ====== | ||
+ | bis zur Revision 0.9.3 gab es 2 Config Files: / | ||
+ | |||
+ | Darum gibt es ein neues sprachunabhangies Config File: / | ||
+ | |||
+ | ====== Multiple Instanzen ====== | ||
+ | |||
+ | Um mehrere DVG Instanzen auf einem Host zu installieren muss pro Instanz ein Configfile erstellt werden. Der Instanzname ist der Servername des entsprechenden HTTP Hosts (beispielsweise dvg.dvgtool.org für die Demo-site). Das Configfile muss mit dem namen ''/ | ||
+ | |||
+ | Die PHP Seiten können mit $site = $_SERVER[" | ||
+ | Die Perlskripte müssen den Sitename aus dem File $DVG_ROOT/ | ||
+ | |||
+ | Das File '' | ||
+ | {{tag> | ||
+ | |||
+ | ===== ${sitename}.xml ===== | ||
+ | Das Configfile muss im Verzeichnis / | ||
+ | |||
+ | **ACHTUNG**: | ||
+ | |||
+ | Das ist ein Beispiel von dem Config File: | ||
+ | <?xml version=" | ||
+ | <!-- | ||
+ | DVG Configuration File | ||
+ | | ||
+ | This is an example file only and it'll not work out of the box! | ||
+ | | ||
+ | You N E E D to edit this file to meet your settings | ||
+ | and the file is stored in / | ||
+ | -> | ||
+ | | ||
+ | $Id$ | ||
+ | | ||
+ | (c) 2005 ... 2012 by ueli@dvgtool.org | ||
+ | | ||
+ | --> | ||
+ | | ||
+ | <DVG configversion=" | ||
+ | | ||
+ | <!-- is this a test installation? | ||
+ | <TEST flag=" | ||
+ | < | ||
+ | </ | ||
+ | | ||
+ | <!-- Database connection --> | ||
+ | <DB name=" | ||
+ | <user name=" | ||
+ | <user name=" | ||
+ | </DB> | ||
+ | | ||
+ | <!-- Database Connection to the Address Database --> | ||
+ | <DB name=" | ||
+ | <user name=" | ||
+ | <user name=" | ||
+ | < | ||
+ | </DB> | ||
+ | | ||
+ | <!-- Database Connection to the radacct DB (Module Radacct) --> | ||
+ | <DB name=" | ||
+ | <user name=" | ||
+ | <user name=" | ||
+ | < | ||
+ | </DB> | ||
+ | | ||
+ | <!-- Database Connection to the radius DB (Module Radius) --> | ||
+ | <DB name=" | ||
+ | <user name=" | ||
+ | <user name=" | ||
+ | </DB> | ||
+ | | ||
+ | | ||
+ | <!-- Database Connection to the netflow DB (Module Netflow) --> | ||
+ | <DB name=" | ||
+ | <user name=" | ||
+ | <user name=" | ||
+ | </DB> | ||
+ | | ||
+ | <!-- various defaults settings --> | ||
+ | < | ||
+ | <!-- the default Owner for new hosts --> | ||
+ | < | ||
+ | | ||
+ | <!-- DirHash value they should not change after you set it! --> | ||
+ | < | ||
+ | < | ||
+ | | ||
+ | <!-- How many rows should be shown per page --> | ||
+ | < | ||
+ | |||
+ | < | ||
+ | < | ||
+ | < | ||
+ | |||
+ | </ | ||
+ | | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | <!-- home -> home-directory --> | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | | ||
+ | <!-- hostid -> the host_id from the table dvg_host for this host --> | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | |||
+ | <!-- Enable Remarks; Show remarks to user; ' | ||
+ | | ||
+ | <REMARK enabled=" | ||
+ | < | ||
+ | </ | ||
+ | |||
+ | <!-- the version of the rrdlib; dvg 0.9.4 needs for some graph version >= 1.2! --> | ||
+ | <RRD version=" | ||
+ | < | ||
+ | <!-- The Colors for the RRDgraphs | ||
+ | see: http:// | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | | ||
+ | <LETTER enabled=" | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | <!-- TO DEFINE --> | ||
+ | </ | ||
+ | </ | ||
+ | <RIR> | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | %sinetnum: %s - %s | ||
+ | netname: %s%s | ||
+ | country: YOUR_COUNTRY | ||
+ | admin-c: %s | ||
+ | tech-c: | ||
+ | status: | ||
+ | notify: | ||
+ | mnt-by: | ||
+ | %schanged: dvg-%s@DOMAINNAME %s | ||
+ | source: | ||
+ | </ | ||
+ | < | ||
+ | person: | ||
+ | address: %s | ||
+ | address: %s | ||
+ | address: %s | ||
+ | address: YOUR_COUNTRY | ||
+ | phone: | ||
+ | fax-no: | ||
+ | e-mail: | ||
+ | nic-hdl: %s | ||
+ | notify: | ||
+ | mnt-by: | ||
+ | changed: dvg-%s@DOMAINNAME %s | ||
+ | source: | ||
+ | </ | ||
+ | </ | ||
+ | < | ||
+ | </ | ||
+ | | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | <!-- master are used by dvg_export_radius.pl --> | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | | ||
+ | <ASSET enabled=" | ||
+ | <!-- Remote link to the Asset Tracker --> | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | | ||
+ | </ | ||
+ | |||
+ | Mit dem Program [[manpage: | ||
+ | |||
+ | {{tag> |