Hi Tod @ s, now see the print server.
CUPS (Common Unix Printing System)
is the printing system that comes standard on most (if not all) Linux distributions
. Whether you use it to serve a printer to a network to connect to another printer on the network.
CUPS manages print jobs and tasks, and provides network printing using the standard protocol
Internet Printing (IPP)
, which provides support for a wide range of printers, from dot matrix to laser.
CUPS also supports PostScript Printer Description
(PPD) and auto detection
network printers, and has a simple web-based tool for configuration and administration.
Some people do not even know exists on your system, as discussed above most of the Linux Distros are usually installed by default.
Cups To Access, you enter into your browser the following:
http://127.0.0.1:631
and see this screen if you have it installed on your system:
The "Tab Start
Cups.
If you do not have Cups, you can install on your computer
Ubuntu, simply by using the Command
sudo apt-get
and the name of the packages to install.
A full installation of CUPS has many
package dependencies, but you can install them all in the same command line. Enter the following command in a terminal to install CUPS
:
julian @ ubuntu: ~ $
sudo apt-get install cupsys cupsys-client
NOTE: In this case I put no console output to have Caps Installed on My System. After entering the password, the packages are downloaded and installed. After installation, the CUPS server will start automatically.
CUPS is configured through
file / etc / cups / cupsd.conf.
The CUPS configuration file has the same syntax as the main configuration file of Apache HTTP server, so users accustomed to edit the file Apache will have no problem.
Before editing a configuration file, we must make a copy of the original file and protect it from writing, so we have the original settings as a reference and can use it if necessary.
Copy the file / etc / cups / cupsd.conf and protect it from writing with the following commands: sudo cp / etc / cups / cupsd.conf / etc / cups / cupsd . conf.original [sudo] password for julian:
julian @ ubuntu: ~ $ sudo chmod
aw / etc / cups / cupsd.conf.original For more examples of configuration directives file in the CUPS server configuration, we can see the man page by typing the following command in the Console: julian@ubuntu:~$ man cupsd.conf cupsd.conf(5) Apple Inc. cupsd.conf(5)
NAME
cupsd.conf - server configuration file for cups
DESCRIPTION
The cupsd.conf file configures the CUPS scheduler, cupsd(8). It is
normally located in the /etc/cups directory.
Each line in the file can be a configuration directive, a blank line,
or a comment. Comment lines start with the # character. The configura‐
Are intentionally tion directives similar to Those Used by the popular
Apache web server software and Are Described below. DIRECTIVES The Following directives Are Understood by cupsd (8). Consult the on-line help For detailed descriptions:
AccessLog filename
AccessLog syslog
Defines the access log filename.
NOTE: to navigate the different pages of the manual by pressing space and to exit press the letter "q".
When we made the changes in
configuration file / etc / cups / cupsd.conf
, we restart the CUPS server by typing the following commands:
julian @ ubuntu: ~ $ sudo / etc / init.d / cupsys restart
* Restarting Common Unix Printing System: cupsd [OK]
By default on Ubuntu, the CUPS server installation listens only on the loopback interface IP address 127.0.0.1
.
To make the CUPS server to listen on the IP address of network adapter, you must specify a host name, IP address, or a few IP address / port,
To do this we must add a Listen directive. For example, if your CUPS server is on a local network with IP address 192.168.1.25 and want it to be accessible to other systems on this subnet, we
edit / etc / cups / cups.d / ports.
conf and add a Listen directive
, like this:
julian @ ubuntu: ~ $ sudo gedit / etc / cups / cups.d / ports.conf
And add the following lines:
Existing 127.0.0.1:631 # loopback Listen Listen
Listen / var / run / cups / cups.sock # Existing socket
Listen Listen 192.168.1.25:631 # Listen on the LAN interface, Port 631 (IPP)
In the example above, we must comment or delete the reference to the direction of
loopback (127.0.0.1)
if we do not want
cupsd listen on that interface, and we want to hear only the Ethernet local network (LAN).
To enable listening for all network interfaces which have been set a host name, including loopback, create an entry should listen to the hostname
: Linux as well:
julian @ ubuntu: ~ $
sudo gedit / etc / cups / cups.d / ports.conf
siguienters And add the lines:
Listen · Linux: 631 · # Listen on all interfaces for the hostname 'Linux'
Or, omitting the Listen directive
and using Port instead :
Port 631 # Listen port 631 on all interfaces
Well this is another Article For
Tutorial Systems Management and Linux networks, we are gradually learning how to configure servers Basically, for a more Settings "Professional"
can use these
Books (they are the ones I used) and as not
.
A GREETING. <
PUDI.
0 comments:
Post a Comment