fsck is used to check and optionally repair one or more Linux file systems. File system can be a device name (e.g. /dev/sda2), a mount point (e.g. /, /usr,… ), …
Category: Tips & Tricks
Releasing a message from a quarantine with amavisd-relase
amavisd-new is a high-performance and reliable interface between mailer (MTA) and one or more content checkers: virus scanners, and/or Mail::SpamAssassin Perl module. It is written in Perl, ensuring high reliability, …
Config mta – howto
Centos has a neat application for switching between alternative software packages, called alternatives. Few days ago I noticed that one server doesn’t send logwatch email. I wanted to see what …
HowTo recover MySQL root password
By default, MySQL Server will be installed with root superuser without any password. You can connect to MySQL server as root without requiring password or by keying in blank password. …
RPMforge howto
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 …
Set date and time from command prompt
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 …
How to whitelist hosts or IP addresses in Postfix
If you are administrating a mail server and use blacklists to block spam, sometimes you may have a problem with certain mail servers. This happens because a specific mail server …
SysBench on CentOS – HowTo
If you want to test server performance, you can think about SysBench. SysBench is a modular, cross-platform and multi-threaded benchmark tool for evaluating OS parameters that are important for a …
tftp server on CentOS/RHEL/Fedora
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 …
Check dir size howto
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/# du -hs /dir/location/ …