X-Git-Url: http://git.harvie.cz/?p=svn%2FPrometheus-QoS%2F.git;a=blobdiff_plain;f=INSTALL;h=45a86f9fa06512160af7224e654dcee30e5572ae;hp=2c626aeeff9add8b95249fae5c9349879b5bab66;hb=64b2d1255780905c78973df33145c93ee5613c9c;hpb=b07b9ac11b736259c3cbca6f345f15980d48341f diff --git a/INSTALL b/INSTALL index 2c626ae..45a86f9 100644 --- a/INSTALL +++ b/INSTALL @@ -1,9 +1,9 @@ Prometheus QoS installation - canonical 1. run "./check-kernel-qos" script to check kernel modules HTB and SFQ (optional) -2. as a root, run "make install" (you shouldn't get errors...) -3. edit /etc/prometheus/prometheus.conf (conf/prometheus.conf or sample-configuration/) -4. edit /etc/prometheus/hosts (conf/prometheus.hosts or sample-configuration/) +2. as a root, run "make install" (you shouldn't get errors, just some warnings) +3. edit /etc/prometheus/prometheus.conf (conf/prometheus.conf or examples/...) +4. edit /etc/prometheus/hosts (conf/prometheus.hosts or examples/...) 5. edit /etc/cron.d/prometheus to update preview, shutdown and reload times 6. run "/etc/init.d/prometheus start" to activate QoS 7. run "/etc/init.d/prometheus stop" to shutdown QoS and generate stats @@ -13,9 +13,9 @@ Prometheus QoS installation - canonical Prometheus QoS installation - alternative, old way 1. if can read read this, you have already unpacked the .tar.gz archive -2. run "make prometheus" (you shouldn't get errors...) -3. create /etc/prometheus/prometheus.conf (conf/prometheus.conf or sample-configuration/) -4. create /etc/prometheus/hosts (conf/prometheus.hosts or sample-configuration/) +2. run "make prometheus" (you shouldn't get errors, just some warnings) +3. create /etc/prometheus/prometheus.conf (conf/prometheus.conf or examples/...) +4. create /etc/prometheus/hosts (conf/prometheus.hosts or examples/...) 5. to activate QoS manualy from command line, just run "./prometheus" 6. to softly shutdown QoS (and generate stats), run "./prometheus -f" ("flush") 7. to force immediate flush of QoS rules, run "./prometheus -9" ("kill") @@ -23,8 +23,8 @@ Prometheus QoS installation - alternative, old way Promethetus QoS advanced tips: 1. use -p command line switch to generate instant and safe Hall of fame preview -2. use qos-free-delay option for pause after flushing old rules/before loading new -3. take time to understand sample-configuration/ files prometheus.conf and hosts +2. use qos-free-delay option for pause after flushing old rules, before loading new +3. take some time to understand files examples/prometheus.conf and examples/hosts 4. note: qos-proxy-enable and qos-free-zone won't work together 5. warning: doing SNAT and QoS on the same router may cause performance problems @@ -36,7 +36,5 @@ echo -n 86400 > /proc/sys/net/ipv4/netfilter/ip_conntrack_tcp_timeout_establishe Prometheus Debian packages: -There are two ways to build Prometheus Debian package (*.deb) - -1. as a root access and debhelper package installed, run "make deb" -2. without root access or debhelper, run "./prometheus.debian-noroot-nodebhelper" +1. you need root access and "debhelper" package installed +2. run "make deb" or "sudo make deb"