
18
|
Chapter 2: Setting Up a Linux Multifunction Server
The Linux kernel usually has default support for quotas. The kernel sees the quota
options in /etc/fstab and checks quota.user and quota.group to determine whether
users and/or groups have limits to their disk space.
You will now see the following in your console:
quotacheck: Scanning /dev/hda1 [/] done
You will also see a message in your console stating something like this:
quotacheck: Checked 1912 directories and 28410 files
You can now execute the next command:
# quotaon -avug
You will see the following messages:
/dev/hda1 [/]: group quotas turned on
/dev/hda1 [/]: user quotas turned on
Are you wondering what you just did? This sequence enabled quotas on the system.
You can check the manual pages for quota if you feel the need to understand more
right now. Your server box is now set up to use the quota facility.
Providing Domain Name Services
In Chapter 3, you will learn how to manage domain names for your server and for
any virtual domains residing on your system. For now, we will set up a minimal con-
figuration for BIND, the ubiquitous DNS server.
Debian provides a stable version of BIND in its repositories. We’ll install and set up
BIND and secure it in a chroot environment, meaning it won’t be able to see or
access files outside its own directory tree. This is an important security technique.
The term chroot refers to the trick of changing ...