torrus skinning improvements, RT#10574
[freeside.git] / torrus / FREESIDE_INSTALL
1 i should move to the wiki once this is further along
2
3 aptitude install rrdtool librrds-perl libxml-libxml-perl libberkeleydb-perl libtemplate-perl libproc-daemon-perl libnet-snmp-perl libapache-session-perl libjson-perl
4
5 # in Makefile, set TORRUS_ENABLED = 1
6 make configure-torrus
7 make deploy
8
9 #a little more one-offy from here so far
10
11 http://torrus.org/install.pod.html#configuring_torrus :
12 which isn't enough to start from scratch
13 http://torrus.org/userguide.pod.html is better
14 torrus genddx and torrus devdisover
15
16 cd /usr/local/etc/torrus/discovery
17 vi routers.txt #space-delimted router ip addresses
18 torrus genddx \
19   --hostfile=routers.txt \
20   --domain=example.com \
21   --community=community_string \
22   --out=routers.ddx \
23   --discout=routers.xml
24 torrus devdiscover  --in=routers.ddx 
25
26 mkdir /srv/torrus/collector_rrd
27 chown freeside:freeside /srv/torrus/collector_rrd
28
29 torrus compile --tree=main --verbose
30
31 torrus bs --global --verbose
32
33 #XXX database config (before collector start)
34
35 #launch data collector
36 #XXX add to init
37 torrus collector --tree=main
38
39 skip http://torrus.org/install.pod.html#apache_http_server_configuration
40 and http://torrus.org/install.pod.html#access_control_lists
41
42 but do go from http://torrus.org/install.pod.html#cron_job on
43
44
45 #---
46
47 this seems to be required on restarts during dev (upgrades?)
48 rm /var/torrus/cache/* /var/torrus/db/render_cache.db