How to Use Fail2ban to Stop/Prevent SSH Brute Force on Linux

Brute-force break-in attempts are quite frequent against the SSH server. However, there is an open source software that can help you deal with this problem automatically, namely fail2ban. Fail2ban provides a way to protect private virtual server( VPS ) from malicious behavior by intruders or hackers automatically. This program works by scanning through log files…

How to Enable EPEL Repository on CentOS 7 / RHEL 7

Epel repository is an open source package for developers and system administrators to perform the installation of RPM packages via yum on their virtual private server (VPS). EPEL repository is in addition to the existing repository and it provides 100 % high quality software packages for Linux distributions, including RHEL (Red Hat Enterprise Linux), CentOS…

How to Remove/Uninstall Nginx Installed from Source on CentOS 7 / RHEL 7

Nginx web server which is growing in popularity because it focuses on high concurrency, high performance while maintaining low memory usage. However, due to certain reasons webmaster can not use Nginx server. For server on CentOS 7 and RHEL 7, removal step for Nginx is quite different from older version. Therefore, in this article, I…

How to Grant a New User to Root Privileges on CentOS 6 / CentOS 7

One recommended way to manage virtual private server (VPS) or a dedicated linux server is not using the root account as the main access for SSH login. This is because usually the hackers will try to brute force your root password and potentially get access to your server. Instead of using the default root account,…

How to Hide PHP Version in Linux

In general, most of the web server software has been installed with default settings that will lead to information leakage. One of them is a PHP software. PHP (Hypertest Preprocessor) is one of the most popular server-side HTML embedded scripting language for the websites today. In the current challenging times, there are lots of attacker…

Bloggers.com