1
0

add: doc and ctyunos tips

This commit is contained in:
2024-08-26 10:46:21 +08:00
parent 8c2e7957d9
commit dfb1b87772
2 changed files with 24 additions and 0 deletions

24
env/ctyunos.txt vendored Normal file
View File

@@ -0,0 +1,24 @@
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