Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
OpenVZ Essentials

You're reading from   OpenVZ Essentials Create and administer virtualized containers on your server using the robust OpenVZ

Arrow left icon
Product type Paperback
Published in Nov 2014
Publisher
ISBN-13 9781782167327
Length 110 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Mark Furman Mark Furman
Author Profile Icon Mark Furman
Mark Furman
Arrow right icon
View More author details
Toc

Important system files


In this section, we are going to go over the important system files that you will interact with administering OpenVZ on your server included in the following directories:

  • /etc/vz

  • /vz

  • /proc/user_beancounter

Understanding the /etc/vz directory

The /etc/vz directory is the main configuration directory for OpenVZ that contains several important files in it, such as dists, osrelease.conf, and vz.conf. You will also see a symlink named conf that links to the /sysconfig/vz-scripts directory.

  • dists: This file contains information about container actions that need to be handled in a specific way as per the distribution that the container is using. A good example of this is if you are using an Ubuntu distribution and you want to change the hostname, the hostname change would be written to /etc/hostname.

  • osrelease.conf: This file provides a list to vzctl at the startup of the container that checks the distribution of the container and the required kernel version.

  • vz.conf: This...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime