11Installation
22-------------
33
4- # It is recommended to use a clean (fresh) Debian Squeeze install where you just selected "Standard System" at the package selection during
5- # setup (tasksel). Then follow the steps below to setup your server with ISPConfig 3. In this guide "vi" is used as text editor, but
4+ # It is recommended to use a clean (fresh) Debian Squeeze 6.0 install where you just selected "Standard System" at the package selection during
5+ # setup (tasksel). Journaled quota which this guide uses works on ext3 and ext4 file systems, so format disks either one if you are going to use
6+ # quota (recommended). Then follow the steps below to setup your server with ISPConfig 3. In this guide "vi" is used as text editor, but
67# you can use whatever you prefer. You should be root for doing all of this.
78
89
@@ -144,7 +145,8 @@ openssl req -x509 -nodes -newkey rsa:1024 -keyout /etc/ssl/private/pure-ftpd.pem
144145chmod 600 /etc/ssl/private/pure-ftpd.pem
145146
146147
147- # Edit /etc/fstab. Mine looks like this (I added ,usrquota,grpquota to the partition with the mount point /):
148+ # Edit /etc/fstab. Add "usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0" to the partition where you want to use quota.
149+ # Mine looks like this (I want to use quota on the / partition):
148150
149151vi /etc/fstab
150152
@@ -153,18 +155,18 @@ vi /etc/fstab
153155#
154156# <file system> <mount point> <type> <options> <dump> <pass>
155157proc /proc proc defaults 0 0
156- /dev/sda1 / ext4 errors=remount-ro ,usrquota , grpquota 0 1
158+ /dev/sda1 / ext3 errors=remount-ro ,usrjquota=aquota.user , grpjquota=aquota.group , jqfmt=vfsv0 0 1
157159/dev/sda5 none swap sw 0 0
158160/dev/hda /media/cdrom0 udf ,iso9660 user ,noauto 0 0
159161/dev/fd0 /media/floppy0 auto rw ,user ,noauto 0 0
160162----------------------------------------------------------------------------------------------
161163
162164# To enable quota, run these commands:
163165
164- touch /quota .user /quota .group &&
165- chmod 600 /quota.* &&
166- mount -o remount / &&
167- quotacheck -avugm &&
166+ touch /aquota .user /aquota .group
167+ chmod 600 /aquota.*
168+ mount -o remount /
169+ quotacheck -F vfsv0 -afcvdugm
168170quotaon -avug
169171
170172
0 commit comments