[freeside-commits] freeside/torrus FREESIDE_INSTALL,1.1,1.2

Ivan,,, ivan at wavetail.420.am
Tue Dec 28 19:12:21 PST 2010


Update of /home/cvs/cvsroot/freeside/torrus
In directory wavetail.420.am:/tmp/cvs-serv24302/torrus

Modified Files:
	FREESIDE_INSTALL 
Log Message:
torrus skinning improvements, RT#10574

Index: FREESIDE_INSTALL
===================================================================
RCS file: /home/cvs/cvsroot/freeside/torrus/FREESIDE_INSTALL,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -w -d -r1.1 -r1.2
--- FREESIDE_INSTALL	27 Dec 2010 08:40:19 -0000	1.1
+++ FREESIDE_INSTALL	29 Dec 2010 03:12:19 -0000	1.2
@@ -2,10 +2,47 @@
 
 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



More information about the freeside-commits mailing list