Overview of the Three Essential Tools grep: Filters and searches for specific patterns in text. sed: Modifies and replaces content in files, particularly effective for line-based operations. awk: Analyzes and processses file content, especially powerful for column-based operations. Regular Expressio...
Social engineering involves deception where attackers impersonate trusted entities to trick users into revealing credentials or sensitive data. Malicious login attempts often utilize automated tools for brute-force or dictionary attacks against user account passwords. Sensitive information exposure...
This guide walks through deploying a production-ready Kubernetes cluster using kubeadm on CentOS 7, targeting version 1.28.9. The topology consists of one control-plane node and two worker nodes. Kernel Upgrade for Stability Older kernel versions may cause unexpected behavior in container runtimes a...
Docker Installation on CentOS 7 Registry Mirror Configuration To improve image download speed, configure Alibaba's registry mirror by editing /etc/docker/daemon.json: { "registry-mirrors": ["https://91cntlkt.mirror.aliyuncs.com"] } Restart the Docker service after making changes:...
What is YUM YUM (Yellowdog Updater, Modified) is a dependancy-aware package management tool for RPM-based Linux distributions that simplifies the entire lifecycle of software management, from installation to removal, compared to manual RPM management. YUM Repository Basics A YUM repository is a coll...
Overview This section outlines the process of installing Docker on CentOS 7, covering both online and offline installation methods. Only CentOS 7 and later versions with kernel 3.10 or higher are supported. Online Installation of Docker Check the system version: cat /etc/redhat-release Install requi...
This guide outlines the steps to deploy a private GitLab instance on a CentOS 7 system. Prerequisites Install required dependencies: sudo yum install curl policycoreutils openssh-server openssh-client sudo systemctl enable sshd sudo systemctl start sshd sudo yum install postfix sudo systemctl enable...
Add a new physical disk to the system. The system should detect it as /dev/sdb. Create a physical volume (PV) from the new disk: pvcreate /dev/sdb Verify the PV was created: pvs Display detailed PV information: pvdisplay Extand the existing volume group (VG) by adding the new PV: vgextend vg_templat...
Allocate a minimum of 8GB RAM to the CentOS 7 virtual machine to ensure sufficient memory for the Docker containers. System Preparations Map the required service hostnames by appending the following entries to the /etc/hosts file: cat <<EOF >> /etc/hosts 127.0.0.1 adhoc-1 adhoc-2 namenod...
Prerequisites A virtual machine running CentOS 7 is required for this setup. Installing Docker 17.09.0-ce Remove Existing Docker Components Uninstall any previously installed Docker packages: yum remove docker\* Remove the container-selinux package to avoid conflicts: yum remove container-selinux-1....