Description Description Divide two integers without using multiplication, division and mod operator. If it will overflow(exceeding 32-bit signed integ ...
分类:
其他好文 时间:
2019-12-21 20:28:53
阅读次数:
82
前言: MySQL读写分离是指让master处理写操作,让slave处理读操作,非常适用于读操作量比较大的场景,可减轻master的压力。使用mysql-proxy实现mysql的读写分离,mysql-proxy实际上是作为后端mysql主从服务器的代理,它直接接受客户端的请求,对SQL语句进行分析 ...
分类:
数据库 时间:
2019-12-21 00:19:04
阅读次数:
97
Fri Dec 20 21:53:24 CST 2019 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, ...
分类:
数据库 时间:
2019-12-20 22:24:57
阅读次数:
120
ssh相关 一、配置SSH参数 1. 修改sshd_config文件,命令为: vi /etc/ssh/sshd_config 将#PasswordAuthentication no的注释去掉,并且将NO修改为YES //kali中默认是yes 2. 将PermitRootLogin without... ...
分类:
其他好文 时间:
2019-12-16 22:20:12
阅读次数:
117
Week 4 Quiz Key concepts on Deep Neural Networks(第四周 测验 – 深层神经网络) \1. What is the “cache” used for in our implementation of forward propagation and ba ...
分类:
Web程序 时间:
2019-12-16 11:41:45
阅读次数:
167
错误:The server quit without updating PID file 看错误日志: Setting lower_case_table_names=2 because file system for /usr/local/mysql/data/ is case insensitiv ...
分类:
数据库 时间:
2019-12-15 14:33:53
阅读次数:
147
一、概述docker镜像采用分层分层构建设计,每层称为"layer",layer存放在/data/docker/存储驱动/目录下面这些存储驱动有,AUFS,OverlayFS等,可以通过dockerinfo命令查看存储驱动,centos7.1+默认采用OverlayFS模式.二、OverlayFS介绍OverlayFS是一种堆叠文件系统,建立在其他文件系统之上,并不参与磁盘底层划分,只是将底层文件
分类:
其他好文 时间:
2019-12-12 16:37:25
阅读次数:
131
可能是你开始没有开启SSH服务 1、修改 vim /etc/ssh/sshd_config 找到 PermitRootLogin without passwd 改成 PermitRootLogin yes 2 然后重启 ssh systemctl restart sshd ...
分类:
其他好文 时间:
2019-12-09 01:15:52
阅读次数:
1641
1, 原因是因为:findOneAndUpdate()内部会使用findAndModify驱动,驱动即将被废弃,所以弹出警告!附上官方解释:Mongoose v5.5.8: Deprecation Warnings 2, 解决方法 在使用mongose时全局设置 mongoose.set('useF ...
分类:
其他好文 时间:
2019-12-08 01:22:53
阅读次数:
167