Printing in VE with Debian stable

From OpenVZ Virtuozzo Containers Wiki
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.