extend root filesystem CENTOS 7

Saltar al final de los metadatos Creado por Fredrik Mikker, modificado por última vez por Martin Sharples el jul 25, 2017 Ir al inicio de los metadatos Version This article was written for version 6 of OP5 Appliance System, it could work on both lower and higher version if nothing else is stated. Articles in community space is notSeguir leyendo

Upgrade Kernel on Centos7 via ELRepo

Install the ELRepo and GPG key rpm –import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org yum install -y http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm Enable kernel updates from elrepo yum-config-manager –enable elrepo-kernel Remove old kernel stuff yum remove -y kernel-{devel,tools,tools-libs} Install the ELRepo built kernel and grub2-tools yum install -y kernel-ml kernel-ml-{devel,tools,tools-libs} grub2-tools We ensure these exist on the off chance they were removed during theSeguir leyendo

Find the UUID of a filesystem and add to fstab

use blkid sudo blkid /dev/sda2: LABEL=”NTFSDISK” UUID=”8C14553212372BD7″ TYPE=”ntfs” PARTLABEL=”Basic data partition” PARTUUID=”6120d102-a321-2dg3-a3c2-abc3b31313a3″ /dev/sda1: UUID=”727cac18-044b-4504-87f1-a5aefa774bda” TYPE=”ext3″ /dev/sdb: UUID=”467c4aa9-963d-4467-8cd0-d58caaacaff4″ TYPE=”ext3″ Find UUID and add to fstab # # /etc/fstab # Created by anaconda on Fri Feb 2 13:55:13 2018 # # Accessible filesystems, by reference, are maintained under ‘/dev/disk’ # See man pages fstab(5), findfs(8), mount(8) and/orSeguir leyendo

fail2ban Centos 7 with firewalld

How to install Fail2Ban on CentOS 7 On this page Installing Fail2Ban Configure settings for Fail2Ban Add a jail file to protect SSH. Running Fail2Ban service Tracking Failed login entries Checking the banned IPs by Fail2Ban Check the Fal2Ban Status Unbanning an IP address Most Linux servers offer an SSH login via Port 22 forSeguir leyendo