make deb and make tgz works now (RPM directory not up-to date)
[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)
ae776b10 42. as a root, run "make install" (you shouldn't get errors, just some warnings)
b07b9ac1 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
ae776b10 162. run "make prometheus" (you shouldn't get errors, just some warnings)
b07b9ac1 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
ae776b10 391. you need root access and "debhelper" package installed
402. run "make deb" or "sudo make deb"
This page took 0.202951 seconds and 4 git commands to generate.