Skip to content

Commit 1ba01fe

Browse files
committed
added quota configuration to debian lenny installation guide.
1 parent ea31fdb commit 1ba01fe

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

INSTALL_DEBIAN_5.0.txt

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,29 @@ vi /etc/inetd.conf
133133
/etc/init.d/openbsd-inetd restart
134134

135135

136+
# Edit /etc/fstab. Mine looks like this (I added ,usrquota,grpquota to the partition with the mount point /):
137+
138+
vi /etc/fstab
139+
140+
----------------------------------------------------------------------------------------------
141+
# /etc/fstab: static file system information.
142+
#
143+
# <file system> <mount point> <type> <options> <dump> <pass>
144+
proc /proc proc defaults 0 0
145+
/dev/sda1 / ext3 errors=remount-ro,usrquota,grpquota 0 1
146+
/dev/sda5 none swap sw 0 0
147+
/dev/hda /media/cdrom0 udf,iso9660 user,noauto 0 0
148+
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
149+
----------------------------------------------------------------------------------------------
150+
151+
# To enable quota, run these commands:
152+
153+
touch /quota.user /quota.group
154+
chmod 600 /quota.*
155+
mount -o remount /
156+
quotacheck -avugm
157+
quotaon -avug
158+
136159

137160
5) Install mydns
138161

0 commit comments

Comments
 (0)