Printing in VE with Debian stable

From OpenVZ Virtuozzo Containers Wiki
Revision as of 11:11, 11 March 2008 by Botinki Kira (talk | contribs) (Robot: Automated text replacement (-VE +container))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.