edit /etc/fstab
ubah dari ...
/dev/md0 / ext3 defaults 1 1
kepada
/dev/md0 / ext3 defaults,usrquota,grpquota 1 1
kemudian
#touch /aquota.user /aquota.group
#chmod 600 /aquota.*
#mount -o remount /
#quotacheck -avugm
last skali on quota anda..
#quotaon -avug
ok skrg nak set quota camna?
setquota -g $group $blocks $blocks 0 0 -a
setquota -u $username $blocks $blocks 0 0 -a
untuk path tertentu atau partition tertentu lakukan
setquota -g $group $blocks $blocks 0 0 /var/www/html
setquota -u $username $blocks $blocks 0 0 /home/$username
Ubah $group, $username and $blocks. Nota: $blocks adalah jumlah quota in MB * 1024.Sbg Contoh jika nak set limit pada 500MB jadi 500 x 1024 = $blocks ( 512000 )
Untuk disable quota , set $blocks kepada 0
cuba main-main dengan :-
#quota
#quotastats
Windows and linux information and one stop centre for myself. Having difficulties to remember all things at once. This blog will remain be my references on the internet. Other people can take benefit from it. Thank you for visiting
Thursday, October 4, 2007
Subscribe to:
Post Comments (Atom)
Simple Python Calculator This script will allows your to calculate the integers given with the chosen operation. You can add, substract, mu...
-
Make your own OpenAi chat I am totally new comer in Python trying to learn this language from scratch. Knowing a basic of python language i...
-
Always getting some gpg error while trying to do aptitude update on older version of debian platform such as etch or lenny. The message look...
-
i found this registry tweak for dns cache in windows xp but don't really know it works or not... give a try edit your registry or put in...
No comments:
Post a Comment