How to fix /var/log/maillog log file that stuck writing

If the /var/log/maillog file is stuck writing, restarting the rsyslog service may help in resolving the issue.

service rsyslog restart

However, it is important to understand the potential impact of restarting the rsyslog service, as it can affect the logging for other services running on the server.… Read the rest

How to dealing with jobs

If you have started a huge process and just remember that you've forget do it in screen session, you may try to move this process to the background. You can do this by pressing ctrl+z keys, which will temporary block this process and then run bg, here is example:

We've run maldet command

$maldet -a ./Read the rest

How to flush/clear DNS on your PC

You can flush/clear your DNS cache as per the following:
1) For Windows
– Start -> Run -> type cmd
– in command prompt, type ipconfig /flushdns
– Done! You Window DNS cache has just been flush.
Read the rest

How to install csf in Ubuntu or Linux server

CSF is a firewall that can be installed on linux based severs to enhance the security. It can be installed even on a server based on cPanel. It can be configured to find out hacking attempts through ssh etc. Can be used for ip whitelisting and blacklisting.… Read the rest