Configure Nginx to use HTTP/2 protocol on Ubuntu 18.04   Recently updated !

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   Recently updated !

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 /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 […]


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 […]


OpenZFS: ZFS on RHEL 7 CentOS 7

OpenZFS is the open source implementation of ZFS which is an advanced and highly scalable storage platform. Although ZFS was originally designed for Sun Solaris, you can use ZFS on most of major Linux distributions with the help of the […]