拉取镜像 docker pull redis:4.0 在主机/data/redis/conf目录下新建redis.conf文件vim /data/redis/conf/redis.conf # Redis configuration file example. # # Note that in order to read the configuration file, Redis must be # started with the file path as first argument: #
Ububtu安装MySQL后默认外网无法连接,但是很多时候我们想要在外网访问方便管理.在这里,简单叙述一下自己在配置过程中的操作,步骤如下: 以root身份登入mysql mysql -u root -p 创建可外网登陆用户 CREATE USER 'custom'@'%.example.com' IDENTIFIED BY 'user_password'; 为用户授权 GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP ON customer.* TO