Linux Installing just security updates with yum Install just the security patches, but not kernel or java patches yum update –security –exclude=kernel* –exclude=java* malcolmJun 18, 2024
Programming Using GitHub with SSH Keys Generate SSH Key on your system$ ssh-keygen -t ed25519 -C “your_email@example.com” View you new SSH Key$ ~/.ssh/id_ed25519.pub Open... malcolmJun 1, 2021
Linux Yum Security Only Update To update your system with YUM but only install the security patches, use the following: # yum update-minimal... malcolmMay 16, 2021
Splunk Splunk Notes To configure the Splunk Forwarder from the command line. # splunk add forward-server 192.168.1.176:9997# splunk add monitor /var/log/messages#... malcolmMay 13, 2021
Uncategorised Podman Command to Generate Service File podman generate systemd [options] container|pod http://docs.podman.io/en/latest/markdown/podman-generate-systemd.1.html malcolmApr 4, 2021
Uncategorised Podman requested IP address X is not available in range Check for a ‘Dangling file’ in /var/lib/cni/networks/podman malcolmApr 4, 2021
UNIX cat a file and remove comments and blank lines $ cat file.txt | grep -v "#" | grep -v "^$" malcolmFeb 9, 2021
MonitoringPrometheus Using the label_replace function in PromQL do something like the following: Then put {{short_hostname}} in the legend field in Grafana malcolmJan 24, 2021
Prometheus Removing old servers from Prometheus Database Use a command similar to the following from a linux command line. malcolmJan 24, 2021
Uncategorized Installing multiple packages from a list cat packages.txt | xargs sudo apt-get install -y malcolmAug 27, 2020