Categories
SysOps

How to use virtual memory filesystem to store Varnish Shared memory Log

Varnish Shared memory Log can put a major strain on the disk (I/O write operations). The solution is to store it on the virtual memory filesystem.

Categories
SysOps

How to restart systemd service in case of failure

Configure systemd service to be restarted in case of failure.

Categories
SysOps

How to determine which services need to be restarted

Use needrestart utility to determine which services need to be restarted after the upgrade.

Categories
SysOps

How to deal with many small log files using Filebeat

Use Filebeat to deal with many small log files.

Categories
SysOps

How to log SSL cipher and protocol information in Nginx

Define custom Nginx log format to store SSL cipher and protocol information.

Categories
SysOps

How to access rdiff-backup repository using fuse

Use FUSE (filesystem in userspace) to access rdiff-backup repository.

Categories
SysOps

How to enforce dynamically generated passwords for basic authentication

Use HAProxy with Lua to enforce dynamically generated passwords for basic authentication.

Categories
SysOps

How to create custom bash prompt

Today, I will show you my personal shell prompt, so you could define your own custom bash prompt.

Categories
SysOps

How to execute rc.local shell script during boot using systemd

Execute rc.local shell script during boot using systemd compatibility generator.

Categories
SysOps

How to perform shell script analysis

Perform shell script analysis using shellcheck, a shell script static analysis tool.