Skip to content

Instantly share code, notes, and snippets.

View OndrejValenta's full-sized avatar

Ondrej Valenta OndrejValenta

View GitHub Profile
@OndrejValenta
OndrejValenta / install_grafana-loki-prometheus_rockylinux9.md
Created March 4, 2024 03:09
Install Grafana/Loki/Prometheus on RockyLinux 9

Installation of Grafana on RHEL

wget -q -O gpg.key https://rpm.grafana.com/gpg.key sudo rpm --import gpg.key

nano /etc/yum.repos.d/grafana.repo and paste

[grafana]
@OndrejValenta
OndrejValenta / install_minio_rockylinux.md
Last active March 4, 2024 02:54
Install Minio.io on RockyLinux

Install standards

Installs also firewalld !!

You can skip this step completely.

sudo dnf -y update sudo yum install -y epel-release sudo dnf install -y tar wget curl nano mc firewalld htop git

@OndrejValenta
OndrejValenta / rocky_linux-docker.md
Created July 1, 2023 23:58
Install Docker on Rocky Linux 9 with normal user being able to up/down containers
@OndrejValenta
OndrejValenta / rocky_linux-zsh-git-python-pipenv.md
Last active July 1, 2023 23:33
Zsh + Git + PipEnv on Rocky Linux KDE

Installation steps for Git + PipEnv on Rocky Linux KDE

Prepare environment

sudo dnf -y update
sudo yum install -y epel-release
sudo dnf install -y wget curl nano mc git
sudo dnf groupinstall -y "Development Tools"
@OndrejValenta
OndrejValenta / enable_serial_console_rhel_in_proxmox.md
Created June 8, 2023 23:31
Enable Serial Console for Rocky Linux 9 / CentOS in Proxmox
@OndrejValenta
OndrejValenta / rocky-linux-9-VM-proxmox-template.md
Last active June 8, 2023 22:30
Preparation of RockyLinux 9 VM template in Proxmox Server

Preparation of RockyLinux 9 VM template in Proxmox Server

Based on standard minimal RockyLinux 9 image

Container is used in IPA domain, therefor IPA client is installed

YOU MIGHT NEED TO UPDATE ROUTING TABLE WITH nmcli

Steps done

@OndrejValenta
OndrejValenta / rockylinux_after_install_setup_proxmox.md
Created June 7, 2023 22:54
Setup Rocky Linux VM in Proxmox to be able to receive any TCP/ICMP packets

These steps are (probably) only applicable for NON QEMU installation of Rocky Linux VM

After installation of Rocky Linux on our Proxmox as Virtual machine (not Linux container) the machine was not accessible from outside world with SSH or ICMP

The solution was to set ipv4.gateway properly.

nmcli con mod ens18 ipv4.method "manual" ipv4.addresses "10.30.0.87/24" ipv4.dns "10.30.0.2" ipv4.gateway "10.30.0.1"

Preparation of RockyLinux 9 template in Proxmox Server

Based on standard Linux Container RockyLinux 9 image Container is used in IPA domain, therefor IPA client is installed

Steps done

dnf update -y
dnf install -y epel-release
@OndrejValenta
OndrejValenta / rocky-linux_9-2_first-steps.sh
Last active February 19, 2024 19:26
First steps after clean minimal Rocky Linux 9.2 install
#!/bin/bash
# Update everything automatically
dnf update -y
# Install nano and other useful stuff because you are not a masochist
dnf install epel-release -y;
dnf makecache
@OndrejValenta
OndrejValenta / install_postgres_rockylinux.md
Last active April 6, 2024 23:47
Install PostgreSQL 15 on RockyLinux 9