How to protect /etc/resolv.conf after reboot?
utorok 28. novembra 2023
pondelok 27. novembra 2023
piatok 24. novembra 2023
štvrtok 23. novembra 2023
streda 8. novembra 2023
utorok 7. novembra 2023
how to check open ports via nc?
how to check open ports via nc?
$ nc -zv 10.0.32.15 22
-z - only checking, no sending data
-v - verbose
utorok 24. októbra 2023
How to check "lastb" in logs? (redhat)
When someone has bad password or not ssh keys.
streda 18. októbra 2023
pondelok 16. októbra 2023
streda 11. októbra 2023
štvrtok 5. októbra 2023
streda 4. októbra 2023
utorok 3. októbra 2023
pondelok 2. októbra 2023
nedeľa 1. októbra 2023
net-tools-deprecated on Suse 15
how to install route, ifconfig on suse 15?
štvrtok 28. septembra 2023
pondelok 25. septembra 2023
How to sum files and directories in linux?
How to sum files and directories in linux? (try find and wc)
štvrtok 21. septembra 2023
ssh -issue: no hostkeys available --exiting
I installed Ubuntu 22.04 server for testing in my "ansible learning". First problem was with ssh. Ssh is very necessary in ansible communication. How it fixed?
streda 9. augusta 2023
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
piatok 7. júla 2023
štvrtok 22. júna 2023
utorok 20. júna 2023
pondelok 19. júna 2023
pondelok 5. júna 2023
piatok 21. apríla 2023
štvrtok 20. apríla 2023
utorok 18. apríla 2023
streda 12. apríla 2023
pondelok 27. marca 2023
streda 8. marca 2023
utorok 7. marca 2023
piatok 24. februára 2023
utorok 21. februára 2023
Gitlab for students: part 1: user-expire-password.sh
I'm just a normal lad from Kosice. I like Linux, devops and python and lot of thinks from open source world.
nedeľa 19. februára 2023
nmcli and dns
Redhat use nmcli or nmtui tools for configuration of network. Let me explain how connect dns via nmcli too.