Difference between revisions of "Mod Deflate"
Unnilennium (talk | contribs) |
|||
Line 20: | Line 20: | ||
yum install --enablerepo=smecontribs smeserver-mod_deflate | yum install --enablerepo=smecontribs smeserver-mod_deflate | ||
− | + | then you should issue | |
signal-event post-upgrade; signal-event reboot | signal-event post-upgrade; signal-event reboot | ||
+ | |||
+ | or alternatively | ||
+ | |||
+ | /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf | ||
+ | /etc/rc.d/init.d/httpd-e-smith sigusr1 | ||
+ | |||
+ | ===Configuration=== | ||
After that you can change the db parameter in a root terminal | After that you can change the db parameter in a root terminal |
Revision as of 21:20, 27 May 2013
modDeflate for SME Server
Maintainer
Description
This contribution mod_deflate for smeserver is an optional module for the Apache HTTP Server, Apache v2 only. Based on Deflate lossless data compression algorithm that uses a combination of the LZ77 algorithm and Huffman coding. This module provides the DEFLATE output filter that allows output from Apache HTTP server to be compressed before being sent to the client over the network.
Requirements
This contrib works both on SME Server V7 and V8, Need to be tested for SME9
Installation
This contrib is currently held in the smecontribs repository, so the following commands will install on your smeserver. For SME7/SME8
yum install --enablerepo=smecontribs smeserver-mod_deflate
then you should issue
signal-event post-upgrade; signal-event reboot
or alternatively
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf /etc/rc.d/init.d/httpd-e-smith sigusr1
Configuration
After that you can change the db parameter in a root terminal
config show modDeflate modDeflate=service level=9 status=enabled
The value must between 1 (less compression) and 9 (more compression). X=(1 to 9)
config setprop modDeflate level X config setprop modDeflate status enabled/disabled
Uninstall
yum remove smeserver-mod_deflate signal-event post-upgrade; signal-event reboot
Bugs
Please raise bugs under the SME-Contribs section in bugzilla and select the smeserver-mod_deflate component or use this link .