centos7用yum安装redis和mariadb

  |   0 评论   |   0 浏览
  1. yum install redis mariadb mariadb-server -y
  2. 修改配置文件/etc/redis.conf
bind 0.0.0.0  
requirepass wll@1234

启动redis

redis-server/etc/redis.conf &
3. 配置mariadb的root密码

mysql
use mysql
update user set password=password("yoonching")where user='root';
flush  privileges;
exit

参考资料


标题:centos7用yum安装redis和mariadb
作者:SmiteLi
地址:https://smite.site/articles/2020/02/10/1581304332587.html

评论

发表评论