Install MySQL 8.0 on CentOS8
Install MySQL Yum Repository
Example: Download “mysql80-community-release-el8-1.noarch.rpm“
wgetInstall “mysql80-community-release-el8-1.noarch.rpm“
yum install mysql80-community-release-el8-1.noarch.rpmAdd “sudo”, if needed.
Check Repo list# yum ...
Perfect Cheat Sheet for Port Forwarding with iptables
For example, we assume that the packets received at the Node A’s interface “192.168.0.3” will be forwarded from another interface “172.20.0.1” to the destination Node B “172.20.0.11”.
Forward From Node A (192.168.0.3) to Node B (172.20.0.11)In the f ...
How To Add Swap File on CentOS
Create Swap File
Here, as an example, create a 400MB swap file “/swpfile”.
dd if=/dev/zero of=/swapfile bs=1M count=1048mkswap/swapfilechmod 600/swapfileAfter the swap file “/swpfile” is created, enable the file.
swapon/swapfileYou can check the status with the ...