Introduction If you ever have the need to understand the usage of the top command to show how loaded a *nix system is, then the best resource I have found is the following great post by Gary Newell. It contains
Useful Zabbix Operations
Introduction Some helpful Zabbix operations that always take me an age to find so putting here to make my life easier! Putting hosts into maintainence mode https://www.zabbix.com/documentation/2.4/manual/maintenance Restart zabbix agent service zabbix-agent restart
Install and Configure a TFTP Service on CentOS
Introduction If you are in need of a TFTP for config backups then sometimes the “old school” ways of doing things are still useful. Bear in mind the TFTP protocol incorporates no encryption so be wary about using it across
How to mount LVM partitions from rescue mode (Fedora/CentOS/RedHat)
Introduction If you ever run in to a scenario where you have a VM which won’t boot. You will need to use an install disc to get into rescue mode. Solution Boot your rescue media. Scan for volume groups: #
Install Apache2 mod_wsgi Ubuntu
Introduction First place to start is the docs: https://modwsgi.readthedocs.io/en/develop/user-guides/quick-installation-guide.html Advises to install dev packages for apache and python if not installed. Use the latest version from source rather than using the versions in the repos. Once you’ve built from source,
Linux Upgrade Conky Seamod Font issues
Introduction Decided to upgrade mint to the latest version Sarah. Very straight forward task thanks to the Mint team. I did end up with conky Seamod looking odd on though on startup. First it was in windowed mode and secondly
Find and Change All Permissions Recursively
Introduction A couple of pretty simple bash commands for finding and changing permissions on all files and directories recursively. Obviously you need to understand what permissions you want in advance so check the man pages and online but for when
Change Ownership Recursively for a Single User FreeBSD
Introduction So if you’ve read this and thought, it doesn’t work on FreeBSD then you are right. It doesn’t. Try this instead: You can use this portable find command with something like this. find . -user old-user -exec chown new-user:new-group
Change Ownership Recursively for a Single User Linux
Introduction Chown has a nice feature that will allow you to change ownership of files and directories recursively for a single user without even needing to find them. First cd into the root source directory required to change ownership of the
rsync directory tree including only files that match a certain find result
Introduction If you’ve ever needed to use regex to find specific files in a directory then you’ll know how useful it is and how much time it saves. This is for when you need to then rsync those files to