|
Webmin And Quota configuration in debianWebmin Configuration What is Webmin?Webmin is a web-based interface for system administration for Unix. Using any browser that supports tables and forms (and Java for the File Manager module), you can setup user accounts, Apache, DNS, file sharing and so on. Webmin consists of a simple web server, and a number of CGI programs which directly update system files like /etc/inetd.conf and /etc/passwd. The web server and all CGI programs are written in Perl version 5, and use no non-standard Perl modules.
Installing Webmin in Debian
#apt-get install webmin webmin-core
After installation If you want to access webmin from any machine in your network edit the /etc/webmin/ miniserv.conf file change the “allow” option
Allow=127.0.0.1
To Allow=0.0.0.0
Once you change this and save your file and restart the webmin using following command
/etc/init.d/webmin restart
Go to your browser and type:- https://ipaddress:10000 and you can login using the debian linux root as username and password for root.
If you ou need any webmin modules for you software check here
Update Webmin online from your machine Quota configuration in debian
When you run a multi-user system it's possible for a single user to the system, by filling their home directory with a lot of files, and filling a disk so that other users have no space of their own. Quotas are a system of preventing this. It's possible to setup limits on the amount of space a single user, or a single group, can use. Using quotas on Debian is very Easy as the Debian kernel packages all have quote support compiled in. There are two ways to use quotes:
When using per-user quotas you are effectively giving a limit on how much disk space the specific user may consume. In the case of per-group quotas you're giving a limit on the total disk usage of all members in that group combined.
Generally I find it much more useful to apply quotas on a per-user basis, as this way you dont have to work out which memeber of a group is consuming all the space. To setup quota usage on your system you'll need to do three things:
Installing Quota in debian#apt-get install quota quotatool
As you installed the software you will have been prompted to see if you wish to email your users when their quotas are exceeded, this is their soft limit. Edit /etc/fstab to look like this (I added ,usrquota,grpquota to the partition with the mount point /): # /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/sda1 / ext3 defaults,errors=remount-ro,usrquota,grpquota 0 1
/dev/sda5 none swap sw 0 0
/dev/hdc /media/cdrom0 iso9660 ro,user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
Then run: touch /quota.user /quota.group If you want to manage quotas with graphical webinterface you need to install quota webmin module To Install webmin module for quotas #apt-get install webmin-quota Now you login in to the webmin and you can see quota configuration How to check Warnquota is configured or not? - email warnings are triggered by warnquota
|