Systemd – run a script before system shutdown
Here systemd will execute /srv/app_shutdown_script.sh before the system reboots. Refer to the following steps. Create a systemd Unit file with the following content. # cat /etc/systemd/system/exec-before-shutdown.service [Unit] Description=Shutdown run script…
Read more »logrorate: error: lines must begin with a keyword or a filename (possibly in double quotes)
Logrotate command returns the following error: # logrotate -vf /etc/logrotate.d/mylog reading config file mylog reading config info for /var/log/mylog.log error: iptables:1 lines must begin with a keyword or a filename…
Read more »
How to convert a .cer to .pem format
The following OpenSSL command will convert a .cer file to .pem format. $ openssl x509 -inform der -in certificate.cer -outform pem -out certificate.pem
Read more »
Squid configuration to allow internet access to specific AD group
Squid is a caching web proxy server helps in speeding up a web server by caching repeated requests, caching web, DNS and other computer network lookups for a group of…
Read more »
Squid Kerberos authentication configuration on Linux/Debian/Ubuntu/CentOS
Squid is a caching web proxy, provides a wide variety of uses, including speeding up a web server by caching repeated requests, caching web, DNS and other computer network lookups…
Read more »
Configure a Linux system as a wifi router or hotspot
This article provide a simple and precise steps to create a Wi-Fi Hotspot or router on Ubuntu / Debian / Fedora / CentOS / RHEL/ Arch Linux system using nmcli…
Read more »
sudo log configuration on Linux

sudo-io configuration on Linux

DRBD Cheat Sheet
