(I tried this case study on Almalinux 9 and Almalinux8)
pondelok 31. júla 2023
nedeľa 30. júla 2023
štvrtok 27. júla 2023
utorok 25. júla 2023
pondelok 24. júla 2023
kernel parameters
Why use /etc/sysctl.conf?
we use for some kernel parameters: (for example net.ipv4.ip.forward)
- in /proc/sys/net/ivp4/ip_forward is "live kernel data"
It's not necessary explain each command (sysctl -p = p = load parameters from file)
[root@Mr ~]# cat /proc/sys/net/ipv4/ip_forward
0
[root@Mr ~]# vi /etc/sysctl.conf
[root@Mr ~]# cat /etc/sysctl.conf | grep -i ipv4
net.ipv4.ip_forward=1
[root@Mr ~]#
[root@Mr ~]# sysctl -p
net.ipv4.ip_forward = 1
[root@Mr ~]# cat /proc/sys/net/ipv4/ip_forward
1
[root@Mr ~]#
more: https://www.kernel.org/doc/html/v4.14/admin-guide/kernel-parameters.html
nedeľa 23. júla 2023
sobota 22. júla 2023
Selinux and fcontext
fcontext command:
when you use selinux policy, you work with tool fcontext
how to check:
(for example: you have to change the apache directory:)
štvrtok 20. júla 2023
streda 19. júla 2023
pvcreate not found
when you have a problem with command pvcreate:
sobota 15. júla 2023
utorok 11. júla 2023
Mac address problem with ssh connetion (Ubuntu 20.04)
Problem ssh hello@server -- not running