debian-noroot-nodebhelper fix
[svn/Prometheus-QoS/.git] / INSTALL
CommitLineData
b07b9ac1 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...)
53. edit /etc/prometheus/prometheus.conf (conf/prometheus.conf or sample-configuration/)
64. edit /etc/prometheus/hosts (conf/prometheus.hosts or sample-configuration/)
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
a4f661fc 14
151. if can read read this, you have already unpacked the .tar.gz archive
b07b9ac1 162. run "make prometheus" (you shouldn't get errors...)
173. create /etc/prometheus/prometheus.conf (conf/prometheus.conf or sample-configuration/)
184. create /etc/prometheus/hosts (conf/prometheus.hosts or sample-configuration/)
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 time to understand sample-configuration/ files prometheus.conf and 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
a4f661fc 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
b07b9ac1 36
37Prometheus Debian packages:
38
39There are two ways to build Prometheus Debian package (*.deb)
40
411. as a root access and debhelper package installed, run "make deb"
422. without root access or debhelper, run "./prometheus.debian-noroot-nodebhelper"
This page took 0.167372 seconds and 4 git commands to generate.