Difference between revisions of "Mod Deflate"

From SME Server
Jump to navigation Jump to search
 
(15 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Languages}}
+
==Mod_Deflate for SME Server 7.x, 8.x, 9.x, 10.x==
 +
===Maintainer===
  
== modDeflate for SME Server ==
+
Michel Van hees<br/>
{{Level|Easy|}}
+
----
  
=== Maintainer ===
+
===Versions ===
 +
Activate mod_deflate on smeserver
 +
{{#smeversion:smeserver-mod_deflate}}
  
 +
===Description===
  
=== 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.
 
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.
  
 
[http://httpd.apache.org/docs/2.0/mod/mod_deflate.html ModDeflate]
 
[http://httpd.apache.org/docs/2.0/mod/mod_deflate.html ModDeflate]
  
=== Requirements ===
+
===Install===
This contrib works both on SME Server V7 and V8, Need to be tested for SME9
 
  
=== Installation ===
+
Install with the following command and it will install all of the required packages for you.
This contrib is currently held in the smecontribs repository, so the following commands will install on your smeserver.
 
For SME7/SME8
 
yum install --enablerepo=sme7contribs smeserver-mod_deflate
 
  
in according in [[bugzilla:7431]] the rpm for sme8 is in smedev for the moment
+
<tabs container><tab name="For SME 10">
 +
yum --enablerepo=smecontribs install smeserver-mod_deflate
 +
</tab><tab name="For SME 9 , 8, 7">
  
  signal-event post-upgrade; signal-event reboot
+
  yum --enablerepo=smecontribs install smeserver-mod_deflate
 +
  /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
 +
/etc/rc.d/init.d/httpd-e-smith sigusr1
 +
</tab>
 +
</tabs>
 +
 
 +
===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
Line 36: Line 43:
 
=== Uninstall ===
 
=== Uninstall ===
 
  yum remove smeserver-mod_deflate
 
  yum remove smeserver-mod_deflate
signal-event post-upgrade;  signal-event reboot
 
  
=== Bugs ===
+
===Bug===
Please raise bugs under the SME-Contribs section in [http://bugs.contribs.org/enter_bug.cgi bugzilla]
+
 
and select the smeserver-mod_deflate component or use {{BugzillaFileBug|product=SME%20Contribs|component=smeserver-mod_deflate|title=this link}}.
+
Please raise bugs under the SME-Contribs section in {{BugzillaFileBug|product=|component=|title=bugzilla}}and select the smeserver-mod_deflate component or use {{BugzillaFileBug|product=SME%20Contribs|component=smeserver-mod_deflate|title=this link}}.
 +
{{#bugzilla:columns=id,product,version,status,summary |sort=id |order=desc |component=smeserver-mod_deflate |noresultsmessage="No open bugs found."}}
  
 +
----
 
[[Category: Contrib]]
 
[[Category: Contrib]]

Latest revision as of 18:11, 20 September 2023

Mod_Deflate for SME Server 7.x, 8.x, 9.x, 10.x

Maintainer

Michel Van hees


Versions

Activate mod_deflate on smeserver

Contrib 10:
Contrib 9:
smeserver-mod_deflate
The latest version of smeserver-mod_deflate is available in the SME repository, click on the version number(s) for more information.


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.

ModDeflate

Install

Install with the following command and it will install all of the required packages for you.

yum --enablerepo=smecontribs install smeserver-mod_deflate
yum --enablerepo=smecontribs install smeserver-mod_deflate
/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

Bug

Please raise bugs under the SME-Contribs section in bugzilla and select the smeserver-mod_deflate component or use this link .

IDProductVersionStatusSummary
12076SME Contribs10.0CONFIRMEDsmeserver-mod_deflate missing Match sections for DEFLATE