33 articles Linux Page 2 / 4

Installing & Configuring Fail2ban to Secure your Server

As we have mentioned previously, how to Secure your Server SSH Login. Today, we are going to Install and Configure Fail2ban, to black list illegitimate connections, most likely (DDOS, Bruteforce Attacking, etc..) on your Server. Fail2ban is not available in CentOS package repository. Therefore, we need to install EPEL (Extra Packages for Enterprise Linux) repository…

How to mount Cloud / VPS Cloud in Rescue

When we boot Server into Rescue using GParted or Knoppix, we need to mount the Logical Volumes in order to fix whatever issue we have. However, we may receive “mount: unknown file system type LVM2_member” Now, let’s scan our Logical Volumes using lvscan From the output, it seems the Logical Volumes have not been activated.…

Securing SSH Login

*UNIX Servers, like any Device once it’s connected to the Internet, it could be under any Cyber Attacks. In this article, we will try to reach Best Practice Security methods, in order to secure our Server(s) login from non-authorized users. First, when you access your *UNIX Server, it may show you the following: As we…

Increase LVM Partition to Take Up Remaining Space

This is the process of increasing the LVM Partition to fill use up added disk space after a cloud server is reconfigured. Overview: Remove and Recreate physical LVM Partition(/dev/sda2) Extend LVM Physical Volume(pvresize) Extend LVM Logical Volume(lvresize) Extend Filesystem into remaining space(xfs_growfs//resize2fs) In this example a Cloud Server configuration: Configuration: CPU: 2 vCore RAM: 2…