How to protect /etc/resolv.conf after reboot?
utorok 28. novembra 2023
How to protect /etc/resolv.conf after reboot? (use the chattr command)
pondelok 27. novembra 2023
problems with table create user in icingaweb
problems with table create user in icingaweb:
piatok 24. novembra 2023
db troubleshooting of icinga webpage
db troubleshooting of icinga webpage:
štvrtok 23. novembra 2023
How to add "live Suse" to virtualbox
like this:
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
User root not allowed because shell bash does not exist
or permission denied via ssh keys?
pondelok 16. októbra 2023
How to allow 22 port via ufw?
How to allow 22 port via ufw?
streda 11. októbra 2023
How to get serial number?
How to get serial number?
štvrtok 5. októbra 2023
Cgroups - kernel control group: ssh task
How to use set-property or cgroups.
streda 4. októbra 2023
utorok 3. októbra 2023
wicked configuration on Suse 15
wicked configuration:
How configure network in suse linux?
pondelok 2. októbra 2023
dstat on suse
If we need next monitoring, try dstat.
nedeľa 1. októbra 2023
net-tools-deprecated on Suse 15
how to install route, ifconfig on suse 15?
zypper --non-interactive
zypper --non-interactive ---> what is it?
š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
"problem with proxy to repository server" (problem with bad installation auditd)
proxy problem
pondelok 31. júla 2023
_netdev
(I tried this case study on Almalinux 9 and Almalinux8)
nedeľa 30. júla 2023
How to install wordpress via docker?
How to install wordpress via docker?
štvrtok 27. júla 2023
utorok 25. júla 2023
virtulabox on Debian 12
virtulabox on Debian 12
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
chmod ug+s
How to use write set uid or set gid?
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
Problem with virt-manager (install)
I tried install virt-manager on Redhat. But I had a problem.
streda 19. júla 2023
pvcreate not found
when you have a problem with command pvcreate:
How to install VNC on Debian 12?
It's easy! only click, click and dpkg ;-)
sobota 15. júla 2023
Zoom on Debian 12
How to install zoom on Debian 12?
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
How to install KVM on Debian 12
How to install KVM on Debian 12?
štvrtok 22. júna 2023
How to install ansible semaphore on Debian?
How to install ansible semaphore on Debian?
utorok 20. júna 2023
pondelok 19. júna 2023
Ansible semaphore installation
Ansible semaphore installation
pondelok 5. júna 2023
Enable history with timestamp for new users
How to enable history with timestamp for new users?
piatok 21. apríla 2023
how to install icinga2 on centos7
how to install icinga2 on centos7
štvrtok 20. apríla 2023
How to install ntop on CentOS7
Installation ntop on CentOS7
utorok 18. apríla 2023
How to change default editor?
How to change default editor?
streda 12. apríla 2023
ssh client and ciphers
problem with ciphers on ssh client
pondelok 27. marca 2023
streda 8. marca 2023
Problem with mount (syntax in /etc/fstab)
Problem with mount (syntax in /etc/fstab)
utorok 7. marca 2023
anisble playbook - update only redhat
How can we solve conditions in ansible?
piatok 24. februára 2023
sudo -k
How to kill sudo timeout?
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.
utorok 10. januára 2023
gpt or mbr
How to check gpt or mbr?
utorok 3. januára 2023
grep -im1
Grep is very important command. Let's try with m!