Tuesday , 24 January 2017
Home » Server Managment

Server Managment

Log the Total Number of Connections to a Port From an IP Address

Is there any log entries to find-out directly the total number of connections in server? In some high connection high load servers, this log would be helpful to monitor and tune the server with number of connections on it. We can simply sort out the total number of connections in a port by using the command netstat. There isn’t any …

Read More »

How to Change & Set the Default crontab Editor

  Most hardcore command line users and unix geeks love vi, but I prefer nano. If you want to change your default crontab editor to nano, here’s how to do this:   For a one time edit, launch the terminal and type: EDITOR=nano crontab -e If you want to set nano as your default editor in general, you use this command: export EDITOR=/usr/bin/nano …

Read More »

Check Spam on EXIM Mail Server

We can simply find out the details spammers from mail queue itself. Some simple exim commands for check spams are below. First login tho the server via SSH, ssh root@IP then run the following commands exim -bpc This commands shows the total number of mails in the queue. If the result is high(eg:2000) you can confirm spamming. Example [root@EcLinux]# exim …

Read More »

How To Install APF Firewall on Cpanel

Advanced Policy Firewall, or APF, is basically an interface to iptables, which is the standard interface to managing network ports on Linux machines. Interacting with iptables can be complex and error-prone, and APF greatly simplifies working with it. However, APF is still only accessible by ssh. There is no way to make changes in APF through WHM or cPanel. All of the APF configuration files are located in the /etc/apf folder …

Read More »

How to Find and Kill All Zombie Processes

On Unix operating systems, a zombie process or defunct process is a process that has completed execution but still has an entry in the process table, allowing the process that started it to read its exit status. It almost always means that the parent is still around. If the parent exited, the child would be orphaned and re-parented to init, …

Read More »

How to install System Integrity Monitor (SIM) Cpanel

Description: SIM is a system and services monitor for ‘SysVinit’ systems. It is designed to be intuitive and modular in nature, and to provide a clean and informative status system. It does this by consistently verifying that services are online, load averages are in check, and log files are at reasonable sizes. Many other SIM modules sport different and in-depth …

Read More »

CentOS Linux install and configure NTP to synchronize the system clock

Q. How do I install and configure NTP under CentOS Linux 5 server to synchronize the system clock? A. You can easily install NTP (Network Time Protocol, a means of transmitting time signals over a computer network) using yum command under Redhat or CentOS/Fedora core Linux. Procedure Login as the root user Type the following command to install ntp # …

Read More »