no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | centos_apache_optimization [2011/10/13 21:28] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== CentOS: Apache Optimization ====== | ||
+ | |||
+ | * [[Apache]] | ||
+ | * [[Apache Tuning]] | ||
+ | * [[CentOS]] | ||
+ | * [[CentOS Apache]] | ||
+ | |||
+ | ==== Modules ==== | ||
+ | |||
+ | You can remove certain Apache modules from loading simply by editing '' | ||
+ | |||
+ | Some common modules to disable that are rarely used, include: | ||
+ | |||
+ | * mod_autn_anon | ||
+ | * mod_authn_dbm | ||
+ | * mod_authz_owner | ||
+ | * mod_authz_groupfile | ||
+ | * mod_authz_dbm | ||
+ | * mod_ldap | ||
+ | * mod_authnz_ldap | ||
+ | * mod_usertrack | ||
+ | * mod_dav | ||
+ | * mod_dav_fs | ||
+ | * mod_actions (CGI support) | ||
+ | * mod_speling | ||
+ | * mod_proxy | ||
+ | * mod_proxy_balancer | ||
+ | * mod_proxy_ftp | ||
+ | * mod_proxy_http | ||
+ | * mod_proxy_connect | ||
+ | * mod_cgi (CGI support) | ||
+ | |||
+ | ==== Features ==== | ||
+ | |||
+ | CentOS ships with a lot of features enabled by default that are probably not necessary. | ||
+ | |||
+ | == Documentation Manual == | ||
+ | |||
+ | Apache will show the server documentation by default at the ''/ | ||
+ | |||
+ | < | ||
+ | rm -fv / | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | == AJP Proxy == | ||
+ | |||
+ | * [[http:// | ||
+ | |||
+ | Proxy module for AJP backend servers (such as Tomcat). | ||
+ | |||
+ | < | ||
+ | rm -fv / | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | == Perl == | ||
+ | |||
+ | Mod_perl incorporates a Perl interpreter into the Apache web server, so that the Apache web server can directly execute Perl code. | ||
+ | |||
+ | < | ||
+ | rm -fv / | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | == Python == | ||
+ | |||
+ | Mod_python is a module that embeds the Python language interpreter within the server, allowing Apache handlers to be written in Python. | ||
+ | |||
+ | < | ||
+ | rm -fv / | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | == Squid == | ||
+ | |||
+ | Squid is installed by default, and you can remove the package from CentOS directly, or just remove the configuration file. | ||
+ | |||
+ | < | ||
+ | yum -y remove squid | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | Uninstalling squid will remove the squid.conf as well. Or you can do it manually. | ||
+ | |||
+ | < | ||
+ | rm -fv / | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | == Webalizer == | ||
+ | |||
+ | Webalizer is also installed by default, and you can remove the package from CentOS directly, or just remove the configuration file. | ||
+ | |||
+ | < | ||
+ | yum -y remove webalizer | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | Uninstalling squid will remove the webalizer.conf as well. Or you can do it manually. | ||
+ | |||
+ | < | ||
+ | rm -fv / | ||
+ | / | ||
+ | </ | ||