环境准备 本机安装python3.x , Geany ,ensp 安装实验需要的库 paramiko 交换机1配置sys sys SW1 vlan 10 q int g0/0/1 port link acc port def vlan 10 q user-interface vty 0 4 auth ...
分类:
其他好文 时间:
2021-04-05 12:14:39
阅读次数:
0
执行yum命令失败 系统: centos7.8 可以通过以下命令解决 #cd /var/lib/rpm# lsBasenames __db.001 __db.003 Group Name Packages Requirename Sigmd5Conflictname __db.002 Dirname ...
分类:
数据库 时间:
2021-04-05 11:46:34
阅读次数:
0
1、ping命令,如ping www.baidu.com ,用于检测网络是否正常。 2、telnet ip port 用于检测某个指定端口是否开启。 3、curl是常用的命令行工具,用来请求Web服务器。它的名字就是客户端(client)的URL工具的意思。它的功能非常强大,命令行参数多达几十种。如 ...
分类:
其他好文 时间:
2021-04-05 11:43:06
阅读次数:
0
三、Informer 使用示例 在实际的开发工作中,Informer 主要用在两处: 在访问 k8s apiserver 的客户端作为一个 client 缓存对象使用; 在一些自定义 controller 中使用,比如 operator 的开发; 1、下面是一个作为 client 的使用示例: pa ...
分类:
其他好文 时间:
2021-04-02 13:37:49
阅读次数:
0
用python写数据库连接时要用到数据连接池于是就想到了DBUtils ,这个简单pip install DBUtile 安装完后写代码测试一下 from DBUtils.PooledDB import PooledDB Traceback (most recent call last): File ...
分类:
数据库 时间:
2021-04-02 13:02:54
阅读次数:
0
1. 临时密码(关闭redis,密码失效) (1)首先进入redis,如果没有开启redis则需要先开启: 命令行启动:其中a、b一起启动,c则另一命令行启动a、.\redis-server.exe 服务启动b、.\redis.windows-service.conf 服务配置c、.\redis-c ...
分类:
其他好文 时间:
2021-04-01 13:37:58
阅读次数:
0
#include <linux/module.h> // module_init module_exit #include <linux/init.h> // __init __exit #include <linux/cdev.h> #include <linux/fs.h> #define MY ...
分类:
其他好文 时间:
2021-04-01 13:34:35
阅读次数:
0
rsync服务介绍 属于一款实现全量及增量复制同步的软件工具 rsync命令简单应用 rsync==cp [root@backup ~]# rsync /etc/sysconfig/network /tmp/ [root@backup ~]# tree /tmp/tmp├── network└── ...
分类:
其他好文 时间:
2021-04-01 13:31:53
阅读次数:
0
1.pytorch报错:module 'torch.nn' has no attribute 'init 修改/home/expstu1/anaconda3/lib/python3.6/site-packages/torch/nn/__init__.py 文件在最后一行加from .init imp ...
分类:
编程语言 时间:
2021-04-01 13:16:21
阅读次数:
0
declare module '@alipay/bigfish' { function useModel<S>(initialState: string); function request<S>(url: string, options: any); export const history: { ...
分类:
其他好文 时间:
2021-04-01 12:52:52
阅读次数:
0