Enable http/2 in Apache

Directadmin update httpd to support http/2 su - # yum update # cd /usr/local/directadmin/custombuild # ./build update # ./build update_versions # ./build set php1_mode php-fpm # ./build php n #…
Read More

MySQL Shell 8.x

mysql
No Comments
MySQL Shell – Create and Restore a MySQL backup MySQL Shell is an advanced client and code editor for MySQL. In addition to the SQL functionality, similar to mysql client,…
Read More

vi/vim tricks

vi or vim is a powerful text editor that comes installed by default in most Linux and Unix systems. You’ll find many tutorials online that’s get you started quickly. There’s also the command vimtutor that…
Read More

SELinux on CentOS

What is SELinux Security Enhanced Linux (SELinux) is a Linux Security Module (LSM) that is built into the Linux kernel. SELinux provides an additional layer of system security. The standard…
Read More

Using UUID as a Primary Key

mysql
No Comments
MySQL UUIDs A UUID is a 128-bit number represented by a utf8 string of five hexadecimal numbers separated by dashes. A UUID value looks like: aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee There are 5 different versions. MySQL uses UUID version 1. mysql> SELECT…
Read More
Menu