Skip to content

Instantly share code, notes, and snippets.

View IvanCl4udio's full-sized avatar

Ivan Cl4udio IvanCl4udio

View GitHub Profile
@IvanCl4udio
IvanCl4udio / Readme.md
Last active October 2, 2023 14:32
Install CRI-O on Debian 11

How install CRI-O on Debian 11

# Create a variable with version of OS and CRIO accordingly
OS=Debian_11
CRIO_VERSION=1.24

# Add repos list
echo "deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/$OS/ /"|sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list
@IvanCl4udio
IvanCl4udio / Readme.md
Last active October 2, 2023 14:30
Disable IPV6 on Debian

How disable IPV6 on Debian

# Edit file /etc/sysctl.conf and add the following 
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
net.ipv6.conf.tun0.disable_ipv6 = 1
@IvanCl4udio
IvanCl4udio / Howto.md
Last active October 2, 2023 14:29
How install CRI-O on Ubuntu 22.04 LTS

How install CRI-O on Ubuntu 22.04 LTS

OS=Debian_11

CRIO_VERSION=1.23

echo "deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/$OS/ /"|sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list
@IvanCl4udio
IvanCl4udio / Readme.md
Last active October 2, 2023 14:28
How configure Bridge for KVM

How configure Bridge for KVM

  1. Show the connections with nmcli
sudo nmcli connection show

NAME               UUID                                  TYPE      DEVICE   
Conexão cabeada 1  f54c4eaa-528e-334f-855f-bcfe2417409a  ethernet  enp3s0f1 
@IvanCl4udio
IvanCl4udio / Readme.md
Last active October 2, 2023 14:11
How install Ingress Nginx on k8s cluster

How install Ingress NGinx

helm upgrade --install ingress-nginx ingress-nginx \
  --repo https://kubernetes.github.io/ingress-nginx \
  --namespace ingress-nginx --create-namespace
  

How fix when WSL2 fails to start with a message of logon not allowed

Open a powershell with administrator privilegies and run:

powershell restart-service vmcompute
@IvanCl4udio
IvanCl4udio / init.vim
Created December 8, 2023 19:29
Neovim configuration
" ~/.config/nvim/init.vim
" Options
set background=dark
set clipboard=unnamedplus
set completeopt=noinsert,menuone,noselect
set cursorline
set hidden
set inccommand=split
set mouse=a
set number