|
229.
|
|
|
You can save the content in a file <filename>phpinfo.php</filename> and place it under <command>DocumentRoot</command> directory of Apache2 Web server. When point your browser to <filename>http://hostname/phpinfo.php</filename>, it would display values of various PHP5 configuration parameters.
|
|
|
|
Você pode salvar o conteúdo em um arquivo <filename>phpinfo.php</filename> e colocá-lo dentro do diretório <command>DocumentRoot</command> do servidor Web Apache2. Quando você abrir em seu browser a URL <filename>http://hostname/phpinfo.php</filename>, ele deverá exibir valores de vários parâmetros de configuração do PHP5.
|
|
Translated and reviewed by
Welliton Sá
|
|
|
|
Located in
serverguide/C/web-servers.xml:762(para)
|
|
230.
|
|
|
Squid - Proxy Server
|
|
|
|
Squid - Sevidor Proxy
|
|
Translated and reviewed by
Rafael Proença
|
|
|
|
Located in
serverguide/C/web-servers.xml:799(title)
|
|
231.
|
|
|
Squid is a full-featured web proxy cache server application which provides proxy and cache services for Hyper Text Transport Protocol (HTTP), File Transfer Protocol (FTP), and other popular network protocols. Squid can implement caching and proxying of Secure Sockets Layer (SSL) requests and caching of Domain Name Server (DNS) lookups, and perform transparent caching. Squid also supports a wide variety of caching protocols, such as Internet Cache Protocol, (ICP) the Hyper Text Caching Protocol, (HTCP) the Cache Array Routing Protocol (CARP), and the Web Cache Coordination Protocol. (WCCP)
|
|
|
|
Squid é um servidor proxy & cache completo que fornece serviços de proxy e cache para Protocolo de Transporte de HiperTexto (HTTP), Protocolo de Transferência de Arquivos (FTP), e outros protocolos de rede populares. Squid pode implementar cache e proxy para solicitações de Camada Segura de Soquetes (SSL) e cache de busca de Servidor de Nomes de Domínios (DNS), e cache transparente. Squid também suporta uma vasta variedade de protolocos de cache, como Protocolo de Cache de Internet, (ICP) o Protocolo de Cache de HiperTexto, (HTCP) o Cache Array Routing Protocol (CARP), e o Protocolo de Coordenação de Cache de Web (WCCP).
|
|
Translated and reviewed by
Alex Rocha
|
|
|
|
Located in
serverguide/C/web-servers.xml:800(para)
|
|
232.
|
|
|
The Squid proxy cache server is an excellent solution to a variety of proxy and caching server needs, and scales from the branch office to enterprise level networks while providing extensive, granular access control mechanisms and monitoring of critical parameters via the Simple Network Management Protocol (SNMP). When selecting a computer system for use as a dedicated Squid proxy, or caching servers, ensure your system is configured with a large amount of physical memory, as Squid maintains an in-memory cache for increased performance.
|
|
|
|
O servidor proxy cache Squid é uma excelente solução para uma vasta gama de necessidades de servidores de cache e proxy, ele atende desde pequenos escritórios até redes de grandes empresas fornecendo mecanismos de controle de acesso granulares e monitoramento de parâmetros críticos via Protocolo Simples de Gerenciamento de Redes (SNMP). Quando escolher um computador para uso dedicado à função de servidor proxy Squid, ou servidores de cache, certifique-se de que seu sistema estará configurado com uma grande quantidade de memória física, já que o Squid mantém um cache em memória para melhor performance.
|
|
Translated and reviewed by
Mário Meyer
|
|
|
|
Located in
serverguide/C/web-servers.xml:808(para)
|
|
233.
|
|
|
At a terminal prompt, enter the following command to install the Squid server:
|
|
|
|
No prompt de terminal, digite os seguintes comandos para instalar o servidor Squid:
|
|
Translated and reviewed by
Rafael Proença
|
|
|
|
Located in
serverguide/C/web-servers.xml:817(para)
|
|
234.
|
|
|
sudo apt-get install squid
|
|
|
|
sudo apt-get install squid
|
|
Translated and reviewed by
Laudeci Oliveira
|
|
|
|
Located in
serverguide/C/web-servers.xml:822(command)
|
|
235.
|
|
|
Squid is configured by editing the directives contained within the <filename>/etc/squid/squid.conf</filename> configuration file. The following examples illustrate some of the directives which may be modified to affect the behavior of the Squid server. For more in-depth configuration of Squid, see the References section.
|
|
|
|
O Squid é configurado através da edição de diretivas presentes no arquivo de configuração <filename>/etc/squid/squid.conf</filename>. Os exemplos a seguir ilustram algumas das diretivas que podem ser modificadas para afetar o comportamento do servidor Squid. Para uma configuração mais especializada do Squid, veja a seção de referências.
|
|
Translated and reviewed by
Alex Rocha
|
|
|
|
Located in
serverguide/C/web-servers.xml:828(para)
|
|
236.
|
|
|
Prior to editing the configuration file, you should make a copy of the original file and protect it from writing so you will have the original settings as a reference, and to re-use as necessary.
|
|
|
|
Antes de editar o arquivo de configuração você deve fazer uma cópia do arquivo original e protegê-lo contra gravação, assim você terá as configurações originais para referência e reutilização quando necessário.
|
|
Translated and reviewed by
Alex Rocha
|
|
|
|
Located in
serverguide/C/web-servers.xml:834(para)
|
|
237.
|
|
|
Copy the <filename>/etc/squid/squid.conf</filename> file and protect it from writing with the following commands entered at a terminal prompt:
|
|
|
|
Copie o arquivo <filename>/etc/squid/squid.conf</filename> e proteja-o contra gravação informando os seguintes comandos no prompt de comando de um terminal:
|
|
Translated and reviewed by
Marcelo R. Minholi
|
|
|
|
Located in
serverguide/C/web-servers.xml:837(para)
|
|
238.
|
|
|
sudo cp /etc/squid/squid.conf /etc/squid/squid.conf.original
|
|
|
|
sudo cp /etc/squid/squid.conf /etc/squid/squid.conf.original
|
|
Translated and reviewed by
Og Maciel
|
|
|
|
Located in
serverguide/C/web-servers.xml:842(command)
|