搜索内容

最新文章

  • 系统运维

    centos 安装dnsmasq

    1. 安装 yum -y install dnsmasq 开放udp tcp 53 端口 2. 修改配置文件 dnsmasq.conf vi /etc/dnsmasq.conf #指定上游dns服务器 resolv-file=/etc/resolv.dnsm……
    editor 2024-01-03
  • 系统运维

    python logging

    import logging # create logger logger_name = "example" logger = logging.getLogger(logger_name) logger.setLevel(logging.ERROR) # create file……
    editor 2023-12-21
  • 系统运维

    VSCode终端出现乱码

    1. 字符编码原理 VSCode终端调用的是cmd.exe,使用中文出现乱码时,需要解决cmd的编码设置。 可以通过chcp命令来查看当前cmd的编码设置 chcp GBK2312的编码是9……
    editor 2023-12-19
  • 未分类

    python爬虫zol图片库

    import requests from lxml import html import re from concurrent.futures import ThreadPoolExecutor etree = html.etree def get_detail_href(url)……
    editor 2023-12-05
  • 系统运维

    学校版xshell和xftp

    家庭/学校免费
    editor 2023-11-20
  • 系统运维

    centos7下报错: import requests ImportError: No module named requests

    1、看好python版本,是python2 还是python3,然后pip 安装requests。 pip3 install requests 2、如果安装了requests执行脚本还是报错,则需要安装python-req……
    editor 2023-10-27
  • 网络运维

    华为ENSP CE12800模拟分布式VXLAN实验注意事项

    一、模拟器BUG 1、如果同子网vxlan tunnel up状态,但还是无法ping通,将接入子接口配置清除重新配置 [~HUAWEI-GE1/0/0.10]clear configuration this 2、leaf……
    editor 2023-10-17
  • 网络运维

    华为S5700配置acl策略

    editor 2023-10-17
  • 网络运维

    IPV6知识

    IPv6系列基础篇(上)——地址与报文格式 背景 以IPv4为核心技术的Internet获得巨大成功,但随着网络技术的飞速发展,IPv4地址资源的枯竭,以及其……
    xiaobeikelian 2023-10-10
  • 系统运维

    linux lvm扩容

    fdisk -l 查看信息 lsblk -f查看文件系统类型 操作系统的文件类型和普通磁盘的类型不一样 1.创建分区: fdisk /dev/sda (n → p →t(8e)- w-q) 2.创建pv卷 pvcrea……
    editor 2023-09-13