我早已通过网路界面设置了CUPS服务器。可笑的是,我没法通过执行以下步骤来添加复印机:
AtthispointIgetthemessage:Unabletoaddprinter:Unauthorized.Myconfigurationfilelookslikethis:
# Disable cups internal logging - use logrotate instead
MaxLogSize 0
# Log general information in error_log - change "warn" to "debug"
# for troubleshooting...
LogLevel warn
#PageLogFormat
Listen /run/cups/cups.sock
Listen 0.0.0.0:631
Port 631
BrowseAddress *.*.*.*:631
BrowseAllow all
# Show shared printers on the local network.
Browsing On
BrowseLocalProtocols all
# Default authentication type, when authentication is required...
DefaultAuthType None
# Web interface setting...
WebInterface Yes
# Restrict access to the server...
Order allow,deny
Allow All
# Restrict access to the admin pages...
Order allow,deny
Allow All
# Restrict access to configuration files...
Order allow,deny
Allow All
# Restrict access to log files...
Order allow,deny
Allow All
I'musingthefollowingDockerfiletobuildandstartthewholething.Ialsoprovideanewuserinsidetheimage.
我怀念哪些?