How to set up SSH keys on CentOS 7

     SSH keys can serve as a means of identifying yourself to an SSH server using public-key cryptography and challenge-response authentication. The major advantage of key-based authentication is that in contrast to password authentication it is not prone to brute-force attacks and you do not expose valid credentials, if the server has been compromised. […]

Read More

How to set up a software RAID

       RAID 1 consists of an exact copy (or mirror) of a set of data on two or more disks. A classic RAID 1 mirrored pair contains two disks. The array will continue to operate so long as at least one member drive is operational.

Read More

How to restore grub2

1) Boot a server in rescue mode2) Check partitions[root@rescue /]# fdisk -lDisk /dev/sda: 3.7 TiB, 4000787030016 bytes, 7814037168 sectorsUnits: sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisklabel type: gptDisk identifier: 961524F0-9337-4FC8-B4AD-C65D8750BF58Device          Start        End    Sectors  Size Type/dev/sda1        2048    1048575    1046528  511M EFI System/dev/sda2 […]

Read More