Question How to remove the following errors when noticed in “/etc/hosts.allow” and “/etc/hosts.deny” files. 1) auth|security:err| error sshd[7275222]: warning: /etc/hosts.allow, line0: missing newline or line too long 2) auth|security:err| error sshd[7275222]: warning: /etc/hosts.deny, line0: missing newline or line too long Answer To remove the errors do the following on the management node as root. Go to the Read More
Category: Linux Family
Red Hat, Centos, Debian, Ubuntu, Fedora and the likes
Also including MySQL, Apache, Wordpress etc…
How to Allow SSH Access Based on Country
GeoIP database has records of Geographical location based on IP address. Using this database we can search for any IP belonging to which country using the Linux command line. This article will help you to allow SSH or FTP (vsftpd) access based on the user’s country. This example uses TCP wrappers to secure your services. Read More
Using Multiple SSL Certificates in Apache with One IP Address
When website administrators and IT personnel are restricted to use a single SSL Certificate per socket (combination of IP Address and socket) it can cost a lot of money. This restriction causes them to buy multiple IP addresses for regular https websites from their domain host or buy hardware that allows them to utilize multiple Read More
How to Redirect www to non-www in Apache with .htaccess
Sometimes you may need to redirect www URLs to non-www URLs for your website for SEO benefits. Here’s how to redirect www to non-www in Apache htaccess. You can use these steps to ensure that there is only one version (non-www) of your website available online. How to Redirect www to non-www in Apache htaccess Read More
How to Install WordPress with LAMP on CentOS Stream 9
WordPress is a commonly used PHP-based CMS (Content Management System). For small businesses, personal blogs & websites, WordPress can be a good fit. In this article, we are going to learn how to install WordPress on CentOS Stream 9. So, let’s get started. Pre-requisites : 1, A system with CentOS Stream 9 installed and running.2, Read More
Data Dump(dd) to Create a Forensic Image with Linux
There are a few Linux distributions designed specifically for digital forensics. These flavors contain examiner tools, and are configured not to mount (or mount as read only) a connected storage media. The Data Dump(dd) command is available on all Linux distributions and is able to read and write to an unmounted drive because it is Read More