解决从github上拉代码时报错“Failed to connect to localhost port 1080: Connection refused” 需要两行命令解决问题主要原因是使用了proxy代理,我们只需要关闭代理 git config --global http.proxy //查看 ...
分类:
其他好文 时间:
2021-06-05 18:13:54
阅读次数:
0
STP与MSTP 1. STP简介 2. 生成树的算法 2.1 选择根网桥 2.2 选择根端口 2.3 选择指定端口 2.4 STP选举案例 3. 桥协议数据单元BPDU 4. MSTP 4.1 MSTP的网络层次 4.2 MSTP相关配置命令 1. STP简介 STP——Spanning Tree ...
分类:
其他好文 时间:
2021-06-05 18:04:06
阅读次数:
0
# for 循环内部使用的 `key 的变量` in 字典 for k in xiaoming: print("%s: %s" % (k, xiaoming[k])) test = {"name": "小明", "age": 18, "height": 175} print(test["age"]) ...
分类:
编程语言 时间:
2021-06-05 18:03:04
阅读次数:
0
picoctf_2018_echo_back 题目分析 简单的格式化字符串,修改got@pus为main函数地址制造循环即可: 先制造循环 修改printf@got为system@plt 输入/bin/sh获取shell 最终EXP from pwn import * sh:tube = proce ...
分类:
其他好文 时间:
2021-06-05 18:01:10
阅读次数:
0
因为某种应用场景我需要将特定目录下的txt文件进行清理,核心命令如下: find 目录 -name '*.txt' -type f -print -exec rm -rf {} \; 例如: find /home/tech/data_log -name '*.txt' -type f -print ...
分类:
系统相关 时间:
2021-06-05 17:53:08
阅读次数:
0
IP地址的设置 在配置网络之前我们先要知道centos的网卡名称是什么,centos7不再使用 ifconfig 命令,可通过命令 ip addr 查看,如图,网卡名为ens32,是没有IP地址的 动态IP 修改网卡配置文件 vi /etc/sysconfig/network-scripts/ifc ...
分类:
其他好文 时间:
2021-06-05 17:52:05
阅读次数:
0
1:查看防火状态 systemctl status firewalld service iptables status 2:暂时关闭防火墙 systemctl stop firewalld service iptables stop 3:永久关闭防火墙 systemctl disable firew ...
分类:
系统相关 时间:
2021-06-05 17:51:23
阅读次数:
0
一、Docker内部网络地址的变化 1. 初始状态下 初始状态,指的是在无任何镜像,无任何容器时... 在Linux服务器上跑ip addr 命令,会有三个网关: 2. 开启一个容器后,多了一对网卡 Tomcat01容器网关信息: 是261:262的 Linux服务器网关信息: 同样多了一个网管信息 ...
分类:
其他好文 时间:
2021-06-05 17:44:50
阅读次数:
0
由于 linux 内核自动升级,需要重新编译 NVIDIA 驱动 具体方法如下: 更改 BIOS 的显示输出为核显 进入系统,执行以下命令 整合于: https://blog.csdn.net/JerryZhang__/article/details/108865176 https://blog.c ...
分类:
系统相关 时间:
2021-06-05 17:43:05
阅读次数:
0
查看所有的表 :list 查看表中所有数据:scan 'staff' 前10条: scan 'test-table',{'LIMIT' => 10} 后10条: scan 'test-table',{'LIMIT' => 10, REVERSED => TRUE} 查看表结构:desc 'staff ...
分类:
其他好文 时间:
2021-06-05 17:36:21
阅读次数:
0