To install mysql 8 on centos 7, please follow here.
Tuesday, April 30, 2019
How to install phpmyadmin for mysql 8 in Centos 7
How to install mysql 8 in Centos 7
Install mysql yum repo
Wednesday, April 10, 2019
Create a mini lab for practicing ansible using docker
To practice ansible, you need to have at least 2 machines. I suggest using containers rather than VM, since containers can be quickly spawned, and are light on the resources.
Tuesday, April 9, 2019
Troubleshooting sshd fail to start
I encountered this issue, and journalctl just does not give enough information on what has happened to make ssh failed to start. So after searching around, I found that I can check the /etc/ssh/sshd_conf for any syntax error, just by running it with extended test (-T) flag. What this flag do is, check the validity of /etc/ssh/sshd_config, throw out error if any, and exit. So to check the issue in the configuration file, just run:
# /usr/sbin/sshd -T
Another way is, you can also start sshd manually with debug flag (-d), and it will throw out any error that stopping it from starting:
# /usr/sbin/sshd -d
Monday, April 8, 2019
/boot Keeps Filling Up On Kernel Update
This is an issue I encountered in one of my friend's ubuntu 16.04 box. He tried to do kernel update, but the /boot keeps filling up with old initramfs image files, making the update process failed. Then I found a post here, that says that if /var/lib/initramfs-tools is not being cleaned up from old kernel files, /boot will keep on being filled up with old initramfs images. So to clean it up: