If you’re using Ubuntu based distro and you’re trying to install pgAdmin4 from the official site (https://www.pgadmin.org/download/pgadmin-4-apt/) do not just blindly copy and paste commands. One of them will add …
Nothing provides perl(IPC::Run) needed by…
I wanted to update Postgresql 13 on my Rocky8 test server Simple dnf update postgresql13dnf update postgresql13 leaded to the next error Problem 1: cannot install the best update candidate …
Debian server – Setting a Default Gateway
To set up or change default gateway, you can use ip command, route command or you can manually edit /etc/network/interfaces file. Option 1: ip command ip route add default via …
How to upload an ISO image to the Proxmox server using the terminal
ISO images can be easily uploaded via web interface but if you still want to do it “old way”, the directory where Proxmox stores ISO images is /var/lib/vz/template/iso/var/lib/vz/template/iso You can …
How to check the DNS server IP being used (Ubuntu 18.04+)
If you’re using Ubuntu 18.04+ (or distro based on Ubuntu 18.04) and you would like to know which DNS servers are responsible for your connection, you can try the next …
Email alert for SSH logins
It is good idea to get notified when someone logs into your Linux server. First be sure that your server is able to send email (at least Postfix + valid …
Simple pushtogit script
Create new file and add the next lines inside (for example pushtogit.sh) #!/bin/bash echo " ====================== running command from" $PWD cd $PWD git add . echo -n " ====================== …
SUDO CVE-2021-3156 and how to upgrade CentOS 6
Sudo is a powerful utility built in almost all Linux distributions and we have a bad news for you – a recent privilege escalation vulnerability (CVE-2021-3156) has been discovered. The …
Time and date on CentOS 7 Howto
NTP stands for Network Transport Protocol and it is used to keep the time on the servers synced with each other using a common reliable source to get the time. …
Laravel whoops output – How to hide. env passwords
As of Laravel 5.5.13, there’s a new feature that allows you to blacklist certain variables in config/app.php under the key debug_blacklist. When an exception is thrown, whoops will mask these …