Journal of my recent activities

sudo fsck.ext4 -fv /dev/sda1

Force and verbose disk check.

#linux

Show hostname in zsh.

Add to ~/.zshrc

export RPROMPT="%m"

or

PROMPT="%m $PROMPT"

For KLL-ERP servers: OneDoc

#linux #zsh #oh-my-zsh

sudo nmap -p- IP
sudo nmap -A -T4 IP

fail2ban-client status
fail2ban-client status sshd

Considering the pros and cons of running the Docker on the production env

Should I Use Docker in Production Environment?

7 Cases When You Should Not Use Docker

Find each occurrence of 'foo' (in all lines), and replace it with 'bar'.

:%s/foo/bar/g

#vim

In the OVH there are available new distros: Alma and Rocky. So far I think it's better to wait before deciding to move to Debian, and change the ecosystem for legacy projects.

#linux

SELinux

Verify problems: audit2allow -w -a

Change configuration by setsebool, audit2allow -a -M name is not recommended

audit2allow

#linux #selinux