Categories
DevOps

How to display custom message after vagrant machine is started

Display custom message after the vagrant machine is started.

Categories
SysOps

How to get service PID using systemctl

Use systemctl to get process identifier for specified service.

Categories
SysOps

How to wipe partition-table signatures with one exception

Today I will extend the how to fix device excluded by a filter blog post to include information on how to wipe filesystem or partition-table signatures except for LVM2 members, which is a great idea for automation.

Categories
DevOps

How to execute specific vagrant provisioner every time the virtual machine is started

Use vagrant provisioner to update SSH authorized_keys every time the virtual machine is started.

Categories
SysOps

How to display kernel slab cache information

You can directly inspect kernel slab allocator statistics (/proc/slabinfo file) for detailed information on buffer, inode, dentry, or other caches in the Linux kernel, though slabtop utility will sort and pretty-print information in real-time.

Categories
SecOps

How to define IP address inside multi-domain SSL certificate

Define IP address inside multi-domain SSL certificate.

Categories
SysOps

How to disable Network Manager connectivity checks

Four different ways to disable Network Manager connectivity checks.

Categories
SysOps

How to get package URL on CentOS

Sometimes I need to get the package URL on CentOS to store it using Nexus Repository Manager. At first glance, it is not very obvious how to display package URLs, but the actual process is very simple.

Categories
SysOps

How to use Nginx reverse proxy to limit external calls inside web-browser

Use Nginx reverse proxy to add Content-Security-Policy header and disable phoning home or external analytics inside web-browser.

Categories
SysOps

How to dry-run CentOS upgrade process

Use tsflags plugin to test upgrade process before executing it.