When netplan is not working on Ubuntu servers
utorok 20. decembra 2022
piatok 18. novembra 2022
nedeľa 16. októbra 2022
date 12 - hour clock
When we need only 12 hours date.
streda 13. júla 2022
sshd script
I wrote the script for checking sshd config syntax.
pondelok 13. júna 2022
sshd command
For communication and checking sshd service we can use sshd command.
pondelok 6. júna 2022
ps -p
Sometimes we need find process via number of PID. Welcome to lesson of ps -p!
pondelok 23. mája 2022
How to remove files with ignore case sensitivity?
How to remove files with ignore case sensitivity?
pondelok 16. mája 2022
nedeľa 15. mája 2022
find - user and group
Linux command find is very important. Today we will learn how to find with ownerships. Let's do it.
piatok 13. mája 2022
vigr
edit /etc/group via vigr:
utorok 10. mája 2022
pondelok 9. mája 2022
What is ? in vi(m) editor?
You know this symbol (?). How it works in editor vi and command less?
piatok 6. mája 2022
How to repair read only /etc/fstab?
How to repair read only /etc/fstab?
what is ^ in bash?
Regular expressions are not very friendly for many linux administrators. I will try explain this regular expression ^.
streda 4. mája 2022
editor vi 16: undo?
Niečo vymažeme a zistíme, že vlastne nie to sme chceli. Napríklad IP adresu, však tie sa nikto neučí naspamäť.
pondelok 2. mája 2022
ansible-playbook --syntax-check
very helpfull for checking playbooks: ansible-playbook --syntax-check yaml_is_cute.yml
utorok 19. apríla 2022
find command with size and $PWD
find and size command via $PWD variable:
pondelok 18. apríla 2022
Linux IP forwarding – How to Disable/Enable using net.ipv4.ip_forward
RHCSA question:
Linux IP forwarding – How to Disable/Enable using net.ipv4.ip_forward
rhcsa question: The system time should be set to your (or nearest to you) timezone and ensure NTP sync is configured
rhcsa question: The system time should be set to your (or nearest to you) timezone and ensure NTP sync is configured
streda 6. apríla 2022
failed to load selinux policy freezing
Problem with boot about selinux policy: How to fix?
nedeľa 27. marca 2022
putty on debian
I like putty. How to install putty client on debian? Very easy :-)
štvrtok 24. marca 2022
ssh - ignore case sensitive to hostname via connection
How to set icase sensitive to hostname via ssh connection?
streda 23. marca 2022
7z on Centos7
7z on Centos7
sobota 19. marca 2022
ssh and git
ssh and git
piatok 18. marca 2022
sobota 12. marca 2022
script for creating iso storage
script for creating iso storage
piatok 11. marca 2022
ssh-keygen without passphrase
ssh-keygen without passphrase
pondelok 7. marca 2022
editor vi: set permission in vi
When I write bash script after that I have to set permission. How can we create script with execute permission? Try vi!
utorok 1. marca 2022
ssh check syntax from file
If you create "ansible template sshd_config" for other servers. How to check if it is ok?
pondelok 28. februára 2022
ping from file
ping from file
piatok 25. februára 2022
disable martian_log
How to disable martians log:
štvrtok 24. februára 2022
Ansible playbook for install apache, restart apache and creating file in apache directory
Ansible playbook for install apache, restart apache and creating file in apache directory
streda 23. februára 2022
wget via proxy
How to use wget via proxy?
pondelok 21. februára 2022
bash script for download and upload ssh keys via ansible
I like bash and ansible
štvrtok 17. februára 2022
streda 16. februára 2022
script for check ansible hosts
basic script for check ansible hosts
ansible-playbook for creating files
playbook for creating directory
utorok 15. februára 2022
yamllint - yaml validator to CLI
yaml validator to console: yam
pondelok 14. februára 2022
ansible and /etc/hosts
ansible and /etc/hosts
dpkg-reconfigure openssh-server
Sometimes openssh server doesn't have key files. I mean these files:
nedeľa 13. februára 2022
tar to differnt directory
tar -C
ansible playbook for migrating /etc/hosts
sobota 12. februára 2022
Linux binary permission
only for physical explanation :-) (Only notes to me)
update ubuntu basic script
update ubuntu basic script
piatok 11. februára 2022
chmod sticky bit
Let me explain how to work chmod +t.
Installing editors via ansible on three servers
Creating playbook to installing editors (nano, mc, vim) on all hosts:
štvrtok 10. februára 2022
generate ssh key and send via ansible
basic bash script.
streda 9. februára 2022
How to enable logs in ansible?
logs in ansible:
utorok 8. februára 2022
How to change hostname without reboot?
How to change hostname without reboot?
pondelok 7. februára 2022
rhcsa - 15 task - script (users)
basic script for question 15 (C, D)
ansible - migrating crontab
Every admin on the Earth loves God for discovering electricity and Cron. In this case we mean Cronos, god of times. How migrate cron jobs to other servers via ansible? Easy.
nedeľa 6. februára 2022
disable selinux in configuration file grub
It's easy. Check /etc/default/grub
rhcsa 11-13
my next study
sobota 5. februára 2022
piatok 4. februára 2022
find and size
find more than 5M files in /etc/ directory
štvrtok 3. februára 2022
RHEL8 -graphical installation
My first installation of RHEL 8.5
streda 2. februára 2022
utorok 1. februára 2022
How to generate ssh keys without passphrase
How to generate ssh keys without passphrase
pondelok 31. januára 2022
Ubuntu - expire gpg key
When we have a problem with expire gpg key
nedeľa 30. januára 2022
ansible - ping
ansible communicates via ssh....We need ssh keys to connect. (When we don't have join via ssh keys, ansible will not work)
štvrtok 27. januára 2022
streda 26. januára 2022
notes: ssh and networking
notes: ssh and networking
utorok 25. januára 2022
script for routes RHEL
Bash script for adding routes to configuration files at RHEL, Oracle Linux, Fedora...
nedeľa 23. januára 2022
How to add module permanently?
How to add module permanently?
sobota 22. januára 2022
inxi: list of system info
Inxi is basic tool for information about server.
piatok 21. januára 2022
uname -mrs
Uname is very good tool for checking version of kernel.
How to install zabbix on Centos 8?
Zabbix is monitoring tool. Step by step installation of zabbix.
štvrtok 20. januára 2022
lstopo
Do you need topology of the system? Please use tool lstopo!
streda 19. januára 2022
powertop on centos8
Powertop is the other monitoring tool to cli in linux.
utorok 18. januára 2022
Suse - default gateway
Network configuration on Suse Linux is very very ...entertainment.
pondelok 17. januára 2022
systemctl enable --now
systemctl enable --now
- enable and start together:
nedeľa 16. januára 2022
ntop on centos8
Installation of ntop on Centos8. If you want you can use via bash script.
sobota 15. januára 2022
How to install and configure monit on Centos8:
How to install and configure monit on Centos8:
piatok 14. januára 2022
chmod and verbose
chmod -v is verbose for chmod.
streda 12. januára 2022
hpasmcli
Sometimes we need information about hw. If we have hw from HW we can use command hpasmcli. How works?
utorok 11. januára 2022
chmod -x /usr/bin/chmod
How to repair chmod with permission denied?
pondelok 10. januára 2022
epel repo
script for install epel repo
nedeľa 9. januára 2022
Check processors on linux
Check processors on linux:
sobota 8. januára 2022
creating bonding via dhcp
CREATING BONDING
utorok 4. januára 2022
encfs on centos
How to install encfs on centos? We need epel repository, fuse library and we can start.
nedeľa 2. januára 2022
nmon - tool for performance
Great tool for performance is nmon. We can check cpu, memory, disks, kernel, network, etc. Let's try!
sobota 1. januára 2022
bash script: compile kernel
Script for compile kernel