1.搜索mysql镜像 $ docker search mysql 2.拉镜像 $ docker pull mysql:5.7.19 3.运行mysql镜像 $ docker run --name mysql -p 3306:3306 -v /home/mysql/data:/var/lib/mys ...
分类:
数据库 时间:
2020-01-21 10:58:20
阅读次数:
91
继上次实现了 Ping 之后,尝试进入更底层的网络接口层实现局域网的 ARP 报文收发 ARP 协议概述 ARP(Address Resolution Protocol) 地址解析协议是用来通过网络层地址(IP地址)去寻找数据链路层地址(MAC地址)的网络传输协议. 在以太网(Ethernet)协议 ...
分类:
其他好文 时间:
2020-01-20 12:54:35
阅读次数:
104
1. 查看当前的数据库连接数 2. 数据库允许的最大连接数 3. 修改数据库最大连接数 4. 关闭/重启数据库 5. 查看当前有哪些用户正在使用数据 6. 当前的session连接数 7. 当前并发连接数 ...
分类:
数据库 时间:
2020-01-19 14:08:27
阅读次数:
95
create a new repository on the command line push an existing repository from the command line 免密传输代码 参考: https://blog.csdn.net/inthuixiang/article/det ...
分类:
其他好文 时间:
2020-01-19 11:08:34
阅读次数:
119
HTML标签语义化,就是尽量使用有相对应结构含义的HTML标签,少用无语义的。比如<span>或<div>就是无意义的,看不出是什么东西,而<address>一看就知道这里面的是地址,<em>标签一看就知道这个是强调的内容。HTML标签语义化可以理解为利用HTML标签区分于不同的内容。 怎么判断你的 ...
分类:
Web程序 时间:
2020-01-19 09:30:26
阅读次数:
86
公式 1. RVA = 内存地址 ImageBase 2. 判断RVA在哪一个节上: 1. RVA =节n.VirtualAddress 2. RVA char str[] = "ABC"; int main() { printf("Address: %p\n", &str); printf("V: ...
分类:
其他好文 时间:
2020-01-18 01:29:28
阅读次数:
106
vim /etc/mysql/mysql.conf.d/mysqld.cnf 将 bind-address = 127.0.0.1 改为 bind-address = 0.0.0.0 然后重启 /etc/init.d/mysql restart ...
分类:
数据库 时间:
2020-01-17 20:58:18
阅读次数:
81
Docker镜像制作 1、Docker镜像有没有内核? 从镜像大小上面来说,一个比较小的镜像只有十几MB ,而内核文件需要一百多兆, 因此镜像里面是没有内核的,镜像在被启动为容器后将直接使用宿主机 的内核,而镜像本身则只提供相应的rootfs,即系统正常运行所必须的用户空间的文件系统,比如 /dev ...
分类:
其他好文 时间:
2020-01-17 19:26:55
阅读次数:
129
1. Introduction Welcome, gentle reader. It is assumed you know what an IP address, a network address, a netmask, routing and DNS are. If not, I recomm... ...
分类:
其他好文 时间:
2020-01-17 13:46:48
阅读次数:
79
tcp和udp的区别:https://www.jianshu.com/p/c63b082ac565 1.基于tcp # 服务端 import socket ? # 创建服务端socket对象 server = socket.socket() ? # 绑定IP和端口 server.bind(('192 ...
分类:
其他好文 时间:
2020-01-17 09:54:40
阅读次数:
73