Howto: Configure Linux Warnquota for Fedora / Ubuntu / RHEL / CentOS

Hello,

In Linux, Most of the People Implement User Quota and Group Quota on Linux and The Might want to send e-mail warnings to the User by e-mail.

It Becomes very Important when the Mail Server is Running and You have implemented Disk Quota / User Quota / Group Quota for Users, So Its the First Basic requirement that We have to inform Users on Their Quota Usage at the Limit which we have configured.

So I am writing this article for Those Who have implemented a Quota and Do not know How to configure quota warning by e-mail.

quota

 

 

1. quota / quota-warnquota package must be Installed.

To Confirm :-

On RHEL / CentOS :- [root@tejas-barot-linux-support ~]# rpm -qa | grep quota # Output should not be empty

On Ubuntu :- root@tejas-barot-linux-support:~# dpkg –list | grep quota # Output should not be empty

2. Partition / Device must be mounted with usrquota

On RHEL / CentOS / Ubuntu :- [root@tejas-barot-linux-support ~]#mount | grep quota # Output should not be empty

3. Quota Must be Enabled on Partition.

4. If Above command is giving you proper output then you are good to go for Further Configuration.

5. Now Open /etc/warnquota.conf and Modify Following values as per your requirement.

Enjoy Disk Quotas :) Enjoy WarnQuota :) Enjoy Linux :) Enjoy Open Source :)

   MAIL_CMD        = "/usr/sbin/sendmail -t"
   FROM            = "linuxsupport@tejasbarot.com"
   SUBJECT         = NOTE: Your mailbox has exceeded allocatted disk space limits
   CC_TO           = "ahmedabad@tejasbarot.com"
   SUPPORT         = "linuxblog@tejasbarot.com"
   PHONE           = "000 111-2222"
   MESSAGE         = Your mailbox has exceeded the allotted limit\
    on this server|Please delete any unnecessary email in your mailbox on:|
   SIGNATURE       = This message is automatically generated by the mail system.

Once you are done with Configuring this Parameters Save and Exit from File

Description of above Configurations :-

MAIL_CMD = Command which used to send an e-mail.

FROM = Which E-Mail ID it will display to Recipient.

SUBJECT = Subject line which you want to Mention for Warning e-mail.

CC_TO = On Which ID it will Send Carbon Copy of the Mail.

SUPPORT =  Email ID which you have to mentioned as Support or anybody else where it should inform too.

PHONE = Of-course It will be a Number which you want to display as your Contact Number.

MESSAGE = Detailed Message OR Instructions Which you want to Send to the User. In Short, Body of the Mail.

SIGNATURE = Text which you have to set as your Signature.

6. Once It is configured properly, then To Send E-mail to all those users who exceeded quota then Execute Following command :-

Execute Command To Send E-Mail to All Those Users / Groups who exceeded quota or Grace Limit :-

[root@tejas-barot-linux-support ~]# warnquota

Execute Command To Send E-Mail to Particular User who exceeded quota or Grace Limit :-

[root@tejas-barot-linux-support ~]# warnquota -u <user-name>

Execute Command To Send E-Mail to Particular Group who exceeded quota or Grace Limit :-

[root@tejas-barot-linux-support ~]# warnquota -g <user-name>

7. That’s IT. Warning for Quota is configured.

Hope this will helps you all, If you face any issue regarding the same or its not working for your some how then please raise your questions / issues then comment down below.

If you like this then Please Click Google +1 Button and Show Your Support. Your Support will encourage me to write more articles.

All Linux User’s Blog Mobile Applications :- http://www.tejasbarot.com/download-mobile-apps/

Please Keep in Touch with Social Networking :- 

Facebook Page :- https://www.facebook.com/AllLinuxUsersBlog

Enjoy Disk Quotas :) Enjoy WarnQuota :) Enjoy Linux :) Enjoy Open Source :)

Ubuntu 10.10 “Maverick Meerkat” released

Hello,

Some time ago a group of hyper-intelligent pan dimensional beings
decided to finally answer the great question of Life, The Universe and
Everything.  To this end, a small band of these Debians built an
incredibly powerful distribution, Ubuntu. After this great computer
programme had run (a very quick 3 million minutes…or 6 years) the
answer was announced.  The Ultimate answer to Life, the Universe and
Everything is…42, and in its’ purest form 101010.  Which suggests that
what you really need to know is ‘What was the Question?’.  The great
distribution kindly pointed out that what the problem really was that
no-one knew the question. Accordingly, the distribution designed a set
of successors, marked by a circle of friends…to ultimately bring Unity
to all things living…Ubuntu 10.10, to find the question to the
ultimate answer.

And with that, the Ubuntu team is pleased to announce Ubuntu 10.10.
Codenamed “Maverick Meerkat”, 10.10 continues Ubuntu’s proud tradition
of integrating the latest and greatest open source technologies into a
high-quality, easy-to-use Linux distribution.

For more :- https://lists.ubuntu.com/archives/ubuntu-announce/2010-October/000139.html

Release notes :- http://www.ubuntu.com/getubuntu/releasenotes/1010

Download Ubuntu 10.10 :- http://www.ubuntu.com/getubuntu

Installing Google Video Chat on Linux | Ubuntu

Hello Friends,

This is happiness to all Linux users specially Ubuntu and Debian Users. Fedora & RPM supported Linux has to wait for some time.

Google released DEB file to Install Google Video Chat on Linux on Ubuntu. In Excitement of fast releasing Google Only Provided DEB files for Ubuntu and Debian based Linux. So Right now Google Video chat cannot be installed on RPM supported Linux. But Sure Google is right now on Process to release RPM very soon.

Below is the procedure to Install Google Video chat on Linux | Ubuntu

1. Click on Link below to Download Google Video Talk plugin
http://dl.google.com/linux/direct/google-talkplugin_current_i386.deb

2. Once Download finished, File is about 5.7 MB. To Install google talk plugin libglew 1.5 or libglew > 1.5 is required.

3. Just Double-Click on DEB file and Install it. If you are going to Install it with GUI then you don’t worry about Dependecies Ubuntu’s GUI Installer will take care of it.

4. Make sure you restart your browser to Use Google Video chat

To Install Google Talk Plugin Using Command, Follow below procedure :-

1) You need root privilege to Install DEB file.

2) Click on Accessories -> Click on Terminal

3) Change your directory where you have download DEB file.

4) Execute dpkg -i google-talkplugin-xxx.deb. If you are getting any dependencies problem Just Install those dependecies First then again execute this command.

5) Make sure you restart your browser to Use Google Video chat

Still waiting from Google to Release RPM very soon.

Enjoy Linux 🙂 Enjoy Google Video Chat on Ubuntu | Debian Linux 🙂

Installing (New) Indian Rupee Font (Symbol) in Linux ( Fedora | RHEL | Ubuntu )

Hello Guys,

As a Indian and as Open Source user I am feeling proud to sharing this howto. This howto will guide you to install and using (New) Indian Rupee  Font (Symbol)  In Linux.

Using This howto You can install and using Indian Rupee Symbol into Fedora RHEL and Ubuntu Linux.

Right now Installing Indian Rupee on Windowzzzz is very easy and very howto you will get, But For Linux i am able to find some howto and combining it here. Hope you all like it.

Here i have made some modifications from Howto and I am doing that in some details with screenshots So you feel very easy to install it.

1) First of all Download ttf fonts for Indian Rupee Symbol.
Link to Download :- http://www.tejasbarot.com/RPMs/indian-rupee-fonts.zip

2) Extract Fonts.zip. Using GUI or from Command. If You want to unzip file using command in Linux then unzip is the command (i.e. unzil Fonts.zip)

3) In Fedora and Ubuntu Double Click on .ttf File. You will get a Option in Right Down Side “Install Font.” Click on Install Font for all three .ttf Files one by one and That’s It. You are done.Below is the screen shot for the same.

Click on Image to Enlarge
Installing Fonts in Linux Using Font Viewer

4) To Test that Fonts for Indian Rupee Symbol is installed or not We will use Open Office. Lets Use OpenOffice Writer to test it.

5) Click on Application -> Click on Office -> Click on OpenOffice.org Writer.

6) Right now Indian Rupee Symbol can only be written in Three Fonts Which You have installed from Fonts.zip
You can use Verdana, Times New Roman and Arial to Type Indian Rupee Symbol On Linux. Below is the screen shot.

Click on Image to Enlarge
Selecting Fonts for Indian Rupee from OpenOffice Writer

7) Now Press a (~) key exact above TAB key without bracket. You dont’t have to combine ~ key with any key combination like CTRL ALT SHIFT. Nothing Just Press the ~ key and you will able to see a Indian Rupee Symbol into OpenOffice Writer. Below is the image for ~ key on Keyboard.

Note :- Still I have not test this fonts into RHEL and Ubuntu but it should work. Because I don’t use Ubuntu as much so guys if you are having any problems or doubts let me know with your errors and doubts.

Thanks to Hitesh Joshi Blog and Layman Linux.

If you don’t find Fonts then E-Mail me on blog(at)tejasbarot(dot)com with a Subject Indian Rupee Fonts so I will send you fonts. If subject line is different then your mail will be ignored.

Hope you all Like it.

Note :-

1) I don’t know anything is copyright for this font to install or not. I am just sharing it.

2) You will get a problem typing open single quote key into any text boxes on internet. While typing open single quote key ` will print. I am trying to find solution but till i do not get it you have to continue with this.

Enjoy Indian Symbol on Linux… 🙂 Waiting for your Comments.