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 …
Upgrading to PHP 5.2.5 on RHEL and CentOS
As you probably know, the latest CentOS and RHEL distros are available only with PHP 5.1.6 and if you want to upgrade PHP, you need to install it manually (or …
Basic MySQL operations I
In this post, I will present few basic commands for MySQL administration. You’ll see how to create a database, create user, assign a database for specific user, etc. First I …
How to test BIND version running on DNS server?
BIND, or Berkley Internet Name Domain, is an Internet naming system used for DNS, which allows you to find the sites you are looking for. BIND contains entries for DNS …
Hello world!
# nano hello.sh #!/bin/bash STR=’Hello World!’ echo $STR#!/bin/bash STR=’Hello World!’ echo $STR # chmod +x hello.sh [me@star ~]# ./hello.sh Hello World!