一、Legacy和UEFI模式,两者区别? uefi和legacy是两种不同的引导方式。uefi是新式的BIOS,legacy是传统BIOS。在UEFI模式下安装的系统,只能用UEFI模式引导;在Legacy模式下安装的系统,也只能在legacy模式下进系统。 二、磁盘数据擦除 1.首先进入raid ...
分类:
其他好文 时间:
2020-05-14 01:55:42
阅读次数:
166
报错信息: npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! node-sass@4.14.0 postinstall: `node scripts/build.js` npm ERR! Exit status 1 npm ERR! npm ERR ...
分类:
其他好文 时间:
2020-05-14 01:40:00
阅读次数:
704
2. 备份类型 2.1 热备 在数据库正常业务时,备份数据,并且能够一致性恢复(只能是innodb) 对业务影响非常小 2.2 温备 锁表备份,只能查询不能修改(myisam) 影响到写入操作 2.3 冷备 关闭数据库业务,数据库没有任何变更的情况下,进行备份数据. 业务停止 3. 备份方式及工具介 ...
分类:
数据库 时间:
2020-05-14 01:05:37
阅读次数:
92
1.下面的代码能通过编译吗?如果能,有什么潜在的问题? #include <stdio.h>void main(){ char* ptr = (char*)malloc(10); if(NULL == ptr){ printf("\n malloc failed\n"); return; }else ...
分类:
编程语言 时间:
2020-05-13 23:21:23
阅读次数:
64
hashCode public int hashCode() { int h = hash; if (h == 0 && value.length > 0) { //hash 默认值为0(此时还没有计算hash) && String中的字节数组有值(使用 String str="avc"; hash ...
分类:
其他好文 时间:
2020-05-13 23:17:30
阅读次数:
66
kata-containers 接入docker containerd cri-o
分类:
其他好文 时间:
2020-05-13 21:46:50
阅读次数:
81
1.用requests库的ge()函数反问一个网站20次,打印返回状态,text()内容,计算text()属性和content()属性所返回网页内容的长度。 1 import requests 2 for i in range(20): 3 r=requests.get("http://www.go ...
分类:
其他好文 时间:
2020-05-13 16:45:39
阅读次数:
55
use information_schema; select table_name,table_rows from tables where TABLE_SCHEMA = '数据库的名称' order by table_rows desc; ...
分类:
数据库 时间:
2020-05-13 15:20:03
阅读次数:
88
登录进入mysql,执行show variables like 'log_bin';查看是否开启 退出 修改配置文件 vim my.cnf 在[mysqld] 添加一下内容 log_bin=mysql_bin binlog-format=Row server-id=1 系统变量binlog_form ...
分类:
数据库 时间:
2020-05-13 13:56:05
阅读次数:
77
需求 新增加一块盘300G,需要增加到/data中。 解决方案 增加磁盘 初始化物理卷 扩容卷组 扩容逻辑卷 操作步骤 初始化物理卷 查看磁盘信息 将新增加的300G sdb初始化为物理卷 vgdisplay Volume group VG Name centos System ID Format ...
分类:
其他好文 时间:
2020-05-13 11:52:37
阅读次数:
73