This week, my wife and I converted our vacation into a staycation due to the worsening COVID-19 pandemic. Coincidentally, the weatherman also predicted a mid-week snowstorm. So Thursday morning, when I woke up to 9 inches of snow, I was not surprised. However, I was surprised when I received an email from my hospital, offering… Continue reading I got the COVID-19 vaccine today.
Author: Hussein
Avada Cache Buster
I use the Avada theme on some of my WordPress sites. However, when I update the style the browser continues using the cached version. To solve this, I wrote a little script to go in the child theme functions.php. It changes Fusion’s CSS version to the time the folder was last modified, causing the browser… Continue reading Avada Cache Buster
Quick Command Line Video Excerpt
Do you have a video file you want to extract a clip from? I found it difficult to locate this information and learned a lot in the process. Most importantly, the order of options in avconv command matters. You can refer to the manual here. avconv -ss [start time = hh:mm:ss] -i [input filename] -t… Continue reading Quick Command Line Video Excerpt
Lenovo Thinkpad Tablet 2 Reformat Guide
10/4/2017 Update: I was just in the bios and I tested the touch screen. It works for pretty much everything on the screen! Check the end of the article for updated information about Windows 10. Objective: Format the drive, install Windows 8.1, install minimum drivers and let Windows Update do the rest. I bought the… Continue reading Lenovo Thinkpad Tablet 2 Reformat Guide
How to get your Logitech DiNovo Mini to work in Ubuntu
I am writing this post because I forgot to bookmark the forum thread where I originally read the solution. So I backtracked using the .bash_history file, and compared it with an original version. Start by unpairing the keyboard from your computer. Then open /lib/udev/rules.d/97-bluetooth-hid2hci.rules Remove KERNEL==”hiddev*”, from the following line KERNEL==”hiddev*”, ATTRS{idVendor}==”046d”, ATTRS{idProduct}==”c70[345abce]|c71[3bc]”, \ so… Continue reading How to get your Logitech DiNovo Mini to work in Ubuntu
Compile Latest Ganglia for All Versions of Debian and Ubuntu
I have learned a lot since I wrote the original how-to. I do not have time to write a nice story but follow the steps below and you should be fine. This will provide you with the latest version of Ganglia on any Debian based distro. Objectives: 1. Download latest sources from Ganglia git repository.… Continue reading Compile Latest Ganglia for All Versions of Debian and Ubuntu
Setup a KVM VPS Host, LVM on Software RAID1 and a Virtual pfSense Router
We are here today to setup a KVM host on CentOS 6 (or Linux variant). The host will have logical volumes backed by software RAID1 and a virtual pfSense router. With this setup you can securely and reliably host multiple applications on the same server. I am writing these instructions for Linux users. I do… Continue reading Setup a KVM VPS Host, LVM on Software RAID1 and a Virtual pfSense Router
New Server for a Small Office
I recently setup an HP 6200 Pro Small Form Factor PC. It had 12GB of RAM and 2x 250GB 7200RPM disks running software RAID 1 on CentOS 6. It was for a small office where the server was 10 years old and died. This beauty is dual core with hyperthreading! A perfect candidate to virtualize… Continue reading New Server for a Small Office
Reset Supermicro IPMI Password
I forgot my IPMI password. Did you do this too? Do you have root access via SSH to the installed operating system? If you answered yes to both these questions, I have good news for you. Here is how to do this via SSH to the installed Linux operating system. Download the IPMICFG utility on… Continue reading Reset Supermicro IPMI Password
Logrotate MySQL Cron Error
I have been receiving the following email report: /etc/cron.daily/logrotate: error: error running shared postrotate script for ‘/var/log/mysql.log /var/log/mysql/mysql.log /var/log/mysql/mysql-slow.log ‘ run-parts: /etc/cron.daily/logrotate exited with return code 1 Most recommendations to fix this problem suggest updating the debian-sys-maint password for the MySQL server to match the one in /etc/mysql/debian.cnf. This will not fix the problem if… Continue reading Logrotate MySQL Cron Error