Change hostname on CentOS/Fedora
<?prettify linenums=true?>
Just think about micro things
<?prettify linenums=true?>
~~~shell
systemctl status firewalld
Scenario: Master server had a problem and was gone. Promote slave 1 as a master server.
When backup database, don’t use option –databases. It will create use database command.
Master node: db01
WARN: ZFS module does NOT with new kernel. File system xfs is better. Using lvm is a good option.
Goto https://downloads.mariadb.org/mariadb/repositories/#mirror=evowise-ny and select version to generate repository file. For version 10.1, the file content as blow: