1. 安装omc包时提示缺失libcares.so.2
sudo yum install c-ares
2. 安装kvdb依赖libatomic.so.1
sudo yum install libatomic
3. 安装mariadb 10.3(系统仓库自带)
sudo yum install mariadb-server

增加： /etc/my.cnf.d/mariadb-server.cnf两行配置项：
bind-address=0.0.0.0
port=33066

sudo systemctl enable mariadb
sudo systemctl start mariadb

mysql -uroot -p
ALTER USER 'root'@'localhost' IDENTIFIED BY '1000omc@kp!';
grant all privileges on *.* to 'root'@'localhost' IDENTIFIED by '1000omc@kp!' with grant option;
grant all privileges on *.* to 'root'@'127.0.0.1' IDENTIFIED by '1000omc@kp!' with grant option;
grant all privileges on *.* to 'root'@'%' IDENTIFIED by '1000omc@kp!' with grant option;
flush privileges;



4