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 …
Category: Tips & Tricks
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/ …
Small update…
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, …
How do I check what version of Centos/Fedora/RH my server is running?
You can run the command below at a command prompt to see what version of Centos/Fedora/RH your server is running. [root@hydra:~]# cat /etc/redhat-release CentOS release 5.2 (Final)[root@hydra:~]# cat /etc/redhat-release CentOS …