Archivo de la categoría: CentOS

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 not… Read More: extend root filesystem CENTOS 7 »

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 the… Read More: Upgrade Kernel on Centos7 via ELRepo »

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/or… Read More: Find the UUID of a filesystem and add to fstab »

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 for… Read More: fail2ban Centos 7 with firewalld »

firewalld centos 7 firewall

firewall-cmd –get-default-zone firewall-cmd –get-services sudo firewall-cmd –zone=public –permanent –add-service=http sudo firewall-cmd –zone=public –permanent –add-service=https sudo firewall-cmd –zone=public –permanent –add-service=samba sudo firewall-cmd –permanent –zone=public –add-port=3838/tcp sudo firewall-cmd –permanent –zone=public –add-port=8787/tcp sudo firewall-cmd –reload

Git 2.9 by Software Collections centos 7 rhel 7

rh-git29 – A release of Git, a distributed revision control system with a decentralized architecture. As opposed to centralized version control systems with a client-server model, Git ensures that each working copy of a Git repository is its exact copy with complete revision history. EL6 tests EL7 tests Instructions You can get started in three… Read More: Git 2.9 by Software Collections centos 7 rhel 7 »