|
1684.
|
|
|
To install CUPS on your Ubuntu computer, simply use <application>sudo</application> with the <application>apt-get</application> command and give the packages to install as the first parameter. A complete CUPS install has many package dependencies, but they may all be specified on the same command line. Enter the following at a terminal prompt to install CUPS:
|
|
|
|
Para instalar o CUPS no seu computador Ubuntu, simplesmente use <application>sudo</application> com o comando <application>apt-get</application> e informe o pacote a ser instalado como o primeiro parâmetro. Uma instalação completa do CUPS tem muitas dependências, mas elas poderão ser todas especificadas na mesma linha de comando. Digite o seguinte no interpretador do terminal para instalar o CUPS:
|
|
Translated and reviewed by
Welliton Sá
|
|
|
|
Located in
serverguide/C/file-server.xml:463(para)
|
|
1685.
|
|
|
sudo apt-get install cupsys
|
|
|
|
sudo apt-get install cupsys
|
|
Translated and reviewed by
Fábio Nogueira
|
|
|
|
1686.
|
|
|
Upon authenticating with your user password, the packages should be downloaded and installed without error. Upon the conclusion of installation, the CUPS server will be started automatically.
|
|
|
|
Durante a autenticação com a senha do seu usuário, os pacotes devem ser baixados e instalados sem nenhum erro. Durante a conclusão da instalação, o servidor CUPS será iniciado automaticamente.
|
|
Translated and reviewed by
Laudeci Oliveira
|
|
|
|
Located in
serverguide/C/file-server.xml:471(para)
|
|
1687.
|
|
|
For troubleshooting purposes, you can access CUPS server errors via the error log file at: <filename>/var/log/cups/error_log</filename>. If the error log does not show enough information to troubleshoot any problems you encounter, the verbosity of the CUPS log can be increased by changing the <emphasis role="bold">LogLevel</emphasis> directive in the configuration file (discussed below) to "debug" or even "debug2", which logs everything, from the default of "info". If you make this change, remember to change it back once you've solved your problem, to prevent the log file from becoming overly large.
|
|
|
|
Para propósitos de identificação de erros, você pode acessar os erros do servidor CUPS atráves do arquivo de log em: <filename>/var/log/cups/error_log</filename>. Se o arquivo de log não mostrar informação suficiente para identificar nenhum problema que você encontrou, a verbosidade do log do CUPS pode aumentar configurando a diretiva <emphasis role="bold">LogLevel</emphasis> no arquivo de configuração (discutida abaixo) para "debug" ou até "debug2", que registra tudo a partir do padrão "info". Se você fez esta mudança, lembre de alterar de volta quando você tiver solucionado o problema, para prevenir que o arquivo de log se torne demasiadamente grande.
|
|
Translated and reviewed by
Laudeci Oliveira
|
|
|
|
Located in
serverguide/C/file-server.xml:476(para)
|
|
1688.
|
|
|
The Common UNIX Printing System server's behavior is configured through the directives contained in the file <filename>/etc/cups/cupsd.conf</filename>. The CUPS configuration file follows the same syntax as the primary configuration file for the Apache HTTP server, so users familiar with editing Apache's configuration file should feel at ease when editing the CUPS configuration file. Some examples of settings you may wish to change initially will be presented here.
|
|
|
|
O comportamento do servidor CUPS (The Common UNIX Printing System) é configurado através das diretivas contidas no arquivo <filename>/etc/cups/cupsd.conf</filename>. O arquivo de configuração do CUPS segue a mesma sintaxe que o arquivo de configuração primário para o servidor de HTTP Apache, portanto os usuários familiares com a edição do arquivo de configuração do Apache deverão ter uma maior facilidade ao editar a configuração do CUPS. Alguns exemplos de configuração que você queira inicialmente alterar serão apresentados aqui.
|
|
Translated and reviewed by
Yves Junqueira
|
|
|
|
Located in
serverguide/C/file-server.xml:489(para)
|
|
1689.
|
|
|
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 reuse as necessary.
|
|
|
|
Antes de editar o arquivo de configuração, você deve fazer uma cópia do arquivo original e protegê-lo contra sobrescrição, porque assim você terá os ajustes originais como uma referência, e para re-usar como necessário.
|
|
Translated and reviewed by
Alex Rocha
|
|
|
|
Located in
serverguide/C/file-server.xml:499(para)
|
|
1690.
|
|
|
Copy the <filename>/etc/cups/cupsd.conf</filename> file and protect it from writing with the following commands, issued at a terminal prompt:
|
|
|
|
Copiar o arquivo <filename>/etc/cups/cupsd.conf</filename> e protegê-lo contra sobrescrição com o seguinte comando, executado na linha de comando:
|
|
Translated and reviewed by
Og Maciel
|
|
|
|
Located in
serverguide/C/file-server.xml:503(para)
|
|
1691.
|
|
|
sudo cp /etc/cups/cupsd.conf /etc/cups/cupsd.conf.original
|
|
|
|
sudo cp /etc/cups/cupsd.conf /etc/cups/cupsd.conf.original
|
|
Translated and reviewed by
Og Maciel
|
|
|
|
Located in
serverguide/C/file-server.xml:509(command)
|
|
1692.
|
|
|
sudo chmod a-w /etc/cups/cupsd.conf.original
|
|
|
|
sudo chmod a-w /etc/cups/cupsd.conf.original
|
|
Translated and reviewed by
Og Maciel
|
|
|
|
Located in
serverguide/C/file-server.xml:510(command)
|
|
1693.
|
|
|
<emphasis role="bold">ServerAdmin</emphasis>: To configure the email address of the designated administrator of the CUPS server, simply edit the <filename>/etc/cups/cupsd.conf</filename> configuration file with your preferred text editor, and modify the <emphasis role="italics">ServerAdmin</emphasis> line accordingly. For example, if you are the Administrator for the CUPS server, and your e-mail address is 'bjoy@somebigco.com', then you would modify the ServerAdmin line to appear as such:
|
|
|
|
<emphasis role="bold">ServerAdmin</emphasis>: Para configurar o endereço de email designado para o administrador do servidor CUPS, simplesmente edite o arquivo de configuração <filename>/etc/cups/cupsd.conf</filename> com seu editor de textos predileto, e altere a diretiva <emphasis role="italics">ServerAdmin</emphasis> de acordo. Por exemplo, se você é o administrador do servidor CUPS, e seu email é bjoy@somebigco.com, Então você deverá alterar a diretiva ServerAdmin para ficar como:
|
|
Translated and reviewed by
Yves Junqueira
|
|
|