02 2022 档案

摘要:机器准备 系统 配置 说明 ip 平台 ubuntu live server 18.04 4H8GB50GB 双网卡 计算节点 A1 VM ubuntu live server 18.04 4H8GB50GB 单网卡 控制节点 B1 VM A1: 双网卡:1.桥接 2.主机模式 特别注意主机模式的网 阅读全文
posted @ 2022-02-24 19:12 Luciferl 阅读(105) 评论(0) 推荐(0)
摘要:import pandas as pd df = pd.read_excel('djyy.xlsx',sheet_name='purged',usecols=[0,1,2,7,9],dtype='str') # 读取excel usecols 指定读取哪几列 支持 ['A','B','C',...] 阅读全文
posted @ 2022-02-23 14:19 Luciferl 阅读(35) 评论(0) 推荐(0)
摘要:def test(request, *args, **kwargs): with open('templates/课程学习相关表结构设计 v0.2.0.md', 'r', encoding='UTF-8') as f: content = f.read() return render(request 阅读全文
posted @ 2022-02-15 15:33 Luciferl 阅读(54) 评论(0) 推荐(0)
摘要:1. 利用[model._meta.verbose_name]增加针对mysql表注释的处理 修改django/db/backends/base/schema.py 文件,table_sql 函数,如下: if self.connection.client.executable_name =='my 阅读全文
posted @ 2022-02-15 14:24 Luciferl 阅读(607) 评论(0) 推荐(0)
摘要:lan口解绑eth0,桥接模式一定要勾选 添加wan口 物理设置选择 eth0 ,协议PPPoE 开启ipv6 dhcp/dns里高级设置取消勾选 禁止解析 IPv6 DNS 记录 允许ssh转发 防火墙 -- 通信规则 drop-wan-ssh 修改 动作改为 接受 其他路由器无线中继或者无线桥接 阅读全文
posted @ 2022-02-09 12:02 Luciferl 阅读(3582) 评论(0) 推荐(0)