Linux物理机旧的磁盘已经满了,加了一块新的机械硬盘,下面说说如何格式化这块硬盘 1、运行 “fdisk -l”,查看磁盘情况,根据磁盘标识符或者磁盘大小确定新加的磁盘是哪个,笔者这里新加的磁盘是 /dev/sda [root@bogon /]# fdisk -l 磁盘 /dev/sdb:1000 ...
分类:
系统相关 时间:
2020-07-19 18:00:44
阅读次数:
99
1、Docker 在安装docker前,先安装docker的包 sudo yum install -y yum-utils \ device-mapper-persistent-data \ lvm2 配置docker的仓库,从docker官方仓库下载会太慢,我们就将仓库配置到阿里云(类似于mave ...
分类:
编程语言 时间:
2020-07-19 11:22:28
阅读次数:
78
for i in range(1, 4+1): name = 'r%s' % i eth0 = { 'mac' : '00:00:00:00:0%s:01' % i, 'ipAddrs' : ['10.0.%s.1/24' % i] } eth1 = { 'ipAddrs' : ['192.168. ...
分类:
Web程序 时间:
2020-07-18 22:53:30
阅读次数:
92
例子 1 border-radius:2em; 等价于: border-top-left-radius:2em; border-top-right-radius:2em; border-bottom-right-radius:2em; border-bottom-left-radius:2em; 例 ...
分类:
其他好文 时间:
2020-07-18 22:30:05
阅读次数:
94
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>关键词分类</ti ...
分类:
其他好文 时间:
2020-07-18 13:38:03
阅读次数:
143
虽然我已经安装了GPU版的pytorch,但是只能使用CPU的。 安装的pytorch版本pytorch1.5.1-py36-cu102-cudn70 执行: >>> import torch >>> import torchvision >>> torch.cuda.is_available() ...
分类:
其他好文 时间:
2020-07-18 13:33:18
阅读次数:
406
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document< ...
分类:
其他好文 时间:
2020-07-18 11:29:22
阅读次数:
61
nload工具 nload用于实时查看网卡流量,默认系统都没有安装,首先安装方式如下: $ yum install -y epel-release $ yum install -y nload 使用也非常简单,如下: $ nload Device eth0 [192.168.0.110] (4/5) ...
分类:
其他好文 时间:
2020-07-18 00:32:24
阅读次数:
107
谐波的具体生成方法参看论文 Harmonic and Intermodulation Analysis of Nonlinear Devices Used in Virtual Bass Systems 具体的matlab代码为 function Ha = calculate_harmonics() ...
分类:
其他好文 时间:
2020-07-17 19:25:00
阅读次数:
76
条件: 系统:CentOS 7 网卡: eth0 内网 网关:192.168.1.1 eth1 外网 网关:10.0.0.1 配置: 先安装net-tools:yum -y install net-tools route del default #删除默认路由 route add -net 192. ...
分类:
其他好文 时间:
2020-07-17 11:31:43
阅读次数:
74