minor bugfixes (#ifdef MONITORINGTRHU)
[svn/Prometheus-QoS/.git] / INSTALL
... / ...
CommitLineData
1Prometheus QoS installation - canonical
2
31. run "./check-kernel-qos" script to check kernel modules HTB and SFQ (optional)
42. as a root, run "make install" (you shouldn't get errors, just some warnings)
53. edit /etc/prometheus/prometheus.conf (conf/prometheus.conf or examples/...)
64. edit /etc/prometheus/hosts (conf/prometheus.hosts or examples/...)
75. edit /etc/cron.d/prometheus to update preview, shutdown and reload times
86. run "/etc/init.d/prometheus start" to activate QoS
97. run "/etc/init.d/prometheus stop" to shutdown QoS and generate stats
108. run "/etc/init.d/prometheus kill" to force immediate flush of QoS rules
119. setup /etc/init.d/prometheus to your system init (distribution dependent)
12
13Prometheus QoS installation - alternative, old way
14
151. if can read read this, you have already unpacked the .tar.gz archive
162. run "make prometheus" (you shouldn't get errors, just some warnings)
173. create /etc/prometheus/prometheus.conf (conf/prometheus.conf or examples/...)
184. create /etc/prometheus/hosts (conf/prometheus.hosts or examples/...)
195. to activate QoS manualy from command line, just run "./prometheus"
206. to softly shutdown QoS (and generate stats), run "./prometheus -f" ("flush")
217. to force immediate flush of QoS rules, run "./prometheus -9" ("kill")
22
23Promethetus QoS advanced tips:
24
251. use -p command line switch to generate instant and safe Hall of fame preview
262. use qos-free-delay option for pause after flushing old rules, before loading new
273. take some time to understand files examples/prometheus.conf and examples/hosts
284. note: qos-proxy-enable and qos-free-zone won't work together
295. warning: doing SNAT and QoS on the same router may cause performance problems
30
31General Linux routing tips for beginners:
32
33echo -n 1 > /proc/sys/net/ipv4/ip_forward
34echo -n 64000 > /proc/sys/net/ipv4/ip_conntrack_max
35echo -n 86400 > /proc/sys/net/ipv4/netfilter/ip_conntrack_tcp_timeout_established
36
37Prometheus Debian packages:
38
391. you need root access and "debhelper" package installed
402. run "make deb" or "sudo make deb"
This page took 0.09927 seconds and 5 git commands to generate.