summaryrefslogtreecommitdiff
path: root/torrus/FREESIDE_INSTALL
diff options
context:
space:
mode:
authorivan <ivan>2010-12-29 03:12:19 +0000
committerivan <ivan>2010-12-29 03:12:19 +0000
commit54395e0be06cb94a65d25041f657836241e23b60 (patch)
treeef27eea2bce6605c68363f97c572dea8dd6cb445 /torrus/FREESIDE_INSTALL
parentf480822b8c344289ac97f7db517511fb75d9c364 (diff)
torrus skinning improvements, RT#10574
Diffstat (limited to 'torrus/FREESIDE_INSTALL')
-rw-r--r--torrus/FREESIDE_INSTALL45
1 files changed, 41 insertions, 4 deletions
diff --git a/torrus/FREESIDE_INSTALL b/torrus/FREESIDE_INSTALL
index fa4984851..7432c0048 100644
--- a/torrus/FREESIDE_INSTALL
+++ b/torrus/FREESIDE_INSTALL
@@ -2,10 +2,47 @@ i should move to the wiki once this is further along
aptitude install rrdtool librrds-perl libxml-libxml-perl libberkeleydb-perl libtemplate-perl libproc-daemon-perl libnet-snmp-perl libapache-session-perl libjson-perl
+# in Makefile, set TORRUS_ENABLED = 1
make configure-torrus
-make install-torrus
+make deploy
-#(and for the apache config)
-# in Makefile, set TORRUS_ENABLED = 1
-make install-apache
+#a little more one-offy from here so far
+
+http://torrus.org/install.pod.html#configuring_torrus :
+which isn't enough to start from scratch
+http://torrus.org/userguide.pod.html is better
+torrus genddx and torrus devdisover
+
+cd /usr/local/etc/torrus/discovery
+vi routers.txt #space-delimted router ip addresses
+torrus genddx \
+ --hostfile=routers.txt \
+ --domain=example.com \
+ --community=community_string \
+ --out=routers.ddx \
+ --discout=routers.xml
+torrus devdiscover --in=routers.ddx
+
+mkdir /srv/torrus/collector_rrd
+chown freeside:freeside /srv/torrus/collector_rrd
+
+torrus compile --tree=main --verbose
+
+torrus bs --global --verbose
+
+#XXX database config (before collector start)
+
+#launch data collector
+#XXX add to init
+torrus collector --tree=main
+
+skip http://torrus.org/install.pod.html#apache_http_server_configuration
+and http://torrus.org/install.pod.html#access_control_lists
+
+but do go from http://torrus.org/install.pod.html#cron_job on
+
+
+#---
+this seems to be required on restarts during dev (upgrades?)
+rm /var/torrus/cache/* /var/torrus/db/render_cache.db