Difference between revisions of "Printing in VE with Debian stable"

From OpenVZ Virtuozzo Containers Wiki
Jump to: navigation, search
 
m (Robot: Automated text replacement (-VE +container))
 
Line 1: Line 1:
Here are the steps to set up a print server (CUPS) on a VE using Debian.
+
Here are the steps to set up a print server (CUPS) on a container using Debian.
  
* Create the VE and do your initial setup.
+
* Create the container and do your initial setup.
 
* apt-get cupsys cupsys-bsd foomatic-db cupsomatic-ppd (etc)
 
* apt-get cupsys cupsys-bsd foomatic-db cupsomatic-ppd (etc)
 
* Return to the HN and do the following:
 
* Return to the HN and do the following:
Line 11: Line 11:
 
: <code>lp</code>
 
: <code>lp</code>
 
: <code>_EOF_</code>
 
: <code>_EOF_</code>
* Return to the VE and configure your printer in CUPS.
+
* Return to the container and configure your printer in CUPS.
  
  
 
[[Category: HOWTO]]
 
[[Category: HOWTO]]
 
[[Category: Debian]]
 
[[Category: Debian]]

Latest revision as of 11:11, 11 March 2008

Here are the steps to set up a print server (CUPS) on a container using Debian.

  • Create the container and do your initial setup.
  • apt-get cupsys cupsys-bsd foomatic-db cupsomatic-ppd (etc)
  • Return to the HN and do the following:
vzctl set <veid> --devnodes lp0:rw
  • If you configured parport, etc, as modules, you'll have to do the following:
cat << _EOF_ >> /etc/modules
parport
parport_pc
lp
_EOF_
  • Return to the container and configure your printer in CUPS.