If you want to take care about your users quota and your storage space, check this … 1. Create new file (for example quota_notify inside /usr/local/sbin/ ) 2. Copy next content inside quota_notify #!/usr/bin/perl -w # Author <jps@tntmax.com> # # This script assumes that virtual_mailbox_base in defined # in postfix’s main.cf file. This directory [...]
Continue reading about Postfix quota notification email script
MySQL Workbench is a cross-platform, visual database design tool developed by MySQL. It is the highly anticipated successor application of the DBDesigner4 project. MySQL Workbench will be available as a native GUI tool on Window, Linux and OS X. MySQL Workbench 5.2 RC provides: 1. Data Modeling 2. Query (upgrade from MySQL Query Browser) 3. [...]
What is the worst, the most poorly designed, buggiest, prone-to-breakdown, driver-devouring, update-eluding, the worst piece of crap application you’ve ever see? It is hard to say, but lets be honest… Samsung PC Studio is the first candidate for this title…
The RPMforge project is an open source project that provides RPM packages for various distributions (RH, CentOS, Fedora, …). To enable RPMforge you can install the rpmforge-release package for your distribution. For RHEL5 / CentOS-5: i386 # wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.1-1.el5.rf.i386.rpm # rpm -Uvh rpmforge-release-0.5.1-1.el5.rf.i386.rpm x86_64 # wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.1-1.el5.rf.x86_64.rpm # rpm -Uvh rpmforge-release-0.5.1-1.el5.rf.x86_64.rpm For older releases (RHEL [...]
If the Linux server time and date is wrong and you need to set it to new values from the shell prompt, you should use date command. You must login as root user to use date command. Also from command prompt you can check and set system clock (hwclock command). Use the following syntax to [...]
Continue reading about Set date and time from command prompt
Trivial File Transfer Protocol (TFTP) is a file transfer protocol, with the functionality of a very basic form of File Transfer Protocol (FTP). It was first defined in 1980 and it is used for operations like firmware upgrade on network devices. This post won’t be the history lesson . To install tftp server on RH [...]
It is useful to know how to check the size of a folder. All you need to do is to run next command: # du -hs /dir/location/ For example: [root@myserver /]# du -hs /mail/mydomain.com/ 837M /mail/mydomain.com/ In this case, the size is shown in MBs.
Hi there… Its been a while since my last post and that seems like a tradition for my blogs… Few posts and then couple months of inactivity… Well, you know, I’m busy, I’m sick, tired etc.. At the end I would like to announce a couple articles about Sysbench, mod_fcgid and other “Nuclear science” utilities… [...]
# nano hello.sh #!/bin/bash STR=’Hello World!’ echo $STR # chmod +x hello.sh [me@star ~]# ./hello.sh Hello World!