Changes

From Amahi Wiki
Jump to: navigation, search
515 bytes added ,  17:19, 9 January 2021
== Install PDF Printer ==
{{Code| sudo apt-get install cups-pdf}}
== Secure [http://www.cups.org/ CUPS] Web Interface ==
This will add a user name and password to the administration section of the web interface.
* Stop the service:
{{Code| sudo stop cups}}
* Edit the configuration file:
{{Code| sudo vi /etc/cups/cupsd.conf}}
* Add the following text below <Location /admin>:
{{Text|<pre>Encryption Required
AuthType Default
Require user @SYSTEM}}</pre>
* Save the file.
* Start the service:
{{Code| sudo start cups}}
== Configure Web Interface ==
You will need desktop There are two methods, Desktop or Headless (SSH) for configuring the web access.* Desktop access to your HDA.** Access the web interface via <nowiki>http://localhost:631</nowiki>** Select Administration and enter your First Admin User name and password.** Under "Server Settings" check the box that says "Allow remote administration"* SSH access to your HDA.** Stop the service:<blockquote><blockquote><pre>sudo service cups stop</pre></blockquote></blockquote><ul><ul><li>Edit /etc/cups/cupsd.conf and make changes as follows:</li><ul><li>Change <code>Listen localhost:631</code> to <code>Port 631</code></li><li>Add <code> Allow @LOCAL</code> above the 3 occurrences of <code></Location></code></li></ul></ul><ul><li>Start the service:</li><pre>sudo service cups start</pre></ul> 
Now you can remotely access the web interface from any client using <nowiki>http://hdaip:631</nowiki> (hdaip is the IP address of your HDA).
12,424

edits