12
edits
Changes
no edit summary
=====<u>Configure pkg-cacher</u>=====
Edit /etc/pkg-cacher/pkg-cacher.conf. You should read the included documentation in the file to ensure it is appropriate for your setup. Mostly the defaults will work just fine. By default pkg-cacher will let any system use its cache. You will probably want to limit it to your own systems on the line:
allowed_hosts=*
Once you have checked and updated pkg-cacher.conf, simply restart it.
=====<u>Generate the new template cache</u>=====
Now everything should be ready to go! Make sure both the 'vz' service and 'pkg-cacher' service are running, then run as root:
vzpkgcache
vzpkg2 should get to work generating your initial caches. Now you can run 'vzctl create' and use them.