From 1ba01fe1bd9257c154ccf6a810ebb0fc7b29dfd4 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Sun, 01 Mar 2009 09:34:36 -0500
Subject: [PATCH] added quota configuration to debian lenny installation guide.

---
 INSTALL_DEBIAN_5.0.txt |   23 +++++++++++++++++++++++
 1 files changed, 23 insertions(+), 0 deletions(-)

diff --git a/INSTALL_DEBIAN_5.0.txt b/INSTALL_DEBIAN_5.0.txt
index 5cf12b3..f3923ed 100644
--- a/INSTALL_DEBIAN_5.0.txt
+++ b/INSTALL_DEBIAN_5.0.txt
@@ -133,6 +133,29 @@
 /etc/init.d/openbsd-inetd restart
 
 
+# Edit /etc/fstab. Mine looks like this (I added ,usrquota,grpquota to the partition with the mount point /):
+
+vi /etc/fstab
+
+----------------------------------------------------------------------------------------------
+# /etc/fstab: static file system information.
+#
+# <file system> <mount point>   <type>  <options>       <dump>  <pass>
+proc            /proc           proc    defaults        0       0
+/dev/sda1       /               ext3    errors=remount-ro,usrquota,grpquota 0       1
+/dev/sda5       none            swap    sw              0       0
+/dev/hda        /media/cdrom0   udf,iso9660 user,noauto     0       0
+/dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0
+----------------------------------------------------------------------------------------------
+
+# To enable quota, run these commands:
+
+touch /quota.user /quota.group
+chmod 600 /quota.*
+mount -o remount /
+quotacheck -avugm
+quotaon -avug
+
 
 5) Install mydns
 

--
Gitblit v1.9.1