Configure Nginx to use HTTP/2 protocol on Ubuntu 18.04

Introduction Nginx is a fast open source web server. It has gained in popularity due to low memory usage, scalability, configuration options, and variety of supported protocols. HTTP/2 is a new version of the Hypertext Transport Protocol, which is used […]

Cleaning solution for dogs sprayed by skunk

Dogs and Skunks don’t mix well. Our dog has been sprayed a few times by skunks and still hasn’t learned to stay away! The first time she was sprayed right in the face, on leash, with myself six feet away. […]

Installing Fail2Ban on EdgeRouter to control iptables

The EdgeRouter doesn’t support any IP blacklisting natively, but it does allow the installation of Debian packages. By installing & configuring the fail2ban package on the EdgeRouter, the iptables firewall is automatically adjusted to ban IP addresses found to be […]

EdgeRouter Fail2Ban settings persistence after upgrades

A prior post details installing and configure Fail2Ban on a Ubiquiti EdgeRouter. Additions installed on EdgeRouters do not persist through upgrades because new install images overwrite the filesystem. The following method automatically re-installs Fail2Ban and restores prior settings. Copy Fail2Ban […]

mysql 8.0 – Show detailed warning messages executing mysqlimport or mysql LOAD DATA

1) Add log-warnings and max error count statements to /etc/my.cnf These configuration options cause detailed warning messages to be written in /var/log/mysql.log [mysqld] log-warnings max-error-count=9999999999 2) Start the mysql client session using the –show-warnings option mysql -u… -p -hlocalhost –show-warnings Adding the –show-warnings option […]

mysql /etc/my.cnf

innodb_buffer_pool_size = 12G # 60% – 70% of your RAM size innodb_log_buffer_size = 16M # 16M or 32M innodb_log_file_size = 3G # 25% of buffer pool size innodb_write_io_threads = 32 # 32 based on core and drive count, 64 is […]

GFS2: Global File System 2 on RHEL CentOS

Global File System 2 or GFS2 is a shared-disk file system for Linux computer clusters. GFS2 differs from distributed file systems (such as AFS, Coda, InterMezzo, or GlusterFS) because GFS2 allows all nodes to have direct concurrent access to the same shared block storage. In addition, GFS or GFS2 can also be used as […]

How to fix ZFS after updating to a newer kernel

Step 1: Clean up and Reinstall DKMS Modules Most of the time, the ZFS on Linux messes up the DKMS modules after the update. I suggest to clean up and reinstall DKMS modules once again. As of December 12, 2018, […]