Thread: Disk Quotas
View Single Post
Old 19th April 2005, 17:13
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts

I just got my first Web server up, SuSE 9.2 with Apache2.
First, you have to enable quota on your system. Have a look at the quota section here:

Now my question is how can I set a limit as to how much space is available for a web site that I put on my server?
To set quotas for a user or group, use the setquota command (see "man setquota" for more information), e.g.:

setquota -g $group $blocks $blocks 0 0 -a
setquota -u $username $blocks $blocks 0 0 -a

Replace $group, $username and $blocks. Note: $blocks is the quota size in MB * 1024! To deactivate quotas for a user or group, run these commands and set $blocks to 0.
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!


nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote