作为一个网络工程师经常需要测试网络是否通,经常用的是ping,telnet,可是针对UDP的相关端口上面的两个命令并不适用,这时我们可以用NC这个小工具。 centos安装: yum install nc 常用选项 -g<网关> 设置路由器跃程通信网关,最多可设置8个。 -G<指向器数目> 设置来源 ...
分类:
其他好文 时间:
2020-07-05 15:13:11
阅读次数:
85
1.密码特殊字符 [root@VM_0_111_centos redis]# cat mybigkeys.py #!/usr/bin/env python import sys import redis def check_big_key(r, k): bigKey = False length = ...
分类:
其他好文 时间:
2020-07-05 13:53:48
阅读次数:
153
准备 服务器:3台机器——1台主、2台工作节点,可以使用virtualbox 搭建虚拟机 主机名centos versionipdocker versionflannel version主机配置备注 master01 7.7.1908 192.168.56.101 19.03.8 v0.12.0-a ...
分类:
其他好文 时间:
2020-07-05 13:39:07
阅读次数:
92
1 安装yum -y install dnsmasq开放udp tcp 53 端口2,修改配置文件 dnsmasq.conf# grep -Ev "^$|^[#;]" /etc/dnsmasq.conf 查看文件中未注释的内容信息# vi /etc/dnsmasq.conf #指定上游dns服务器 ...
分类:
其他好文 时间:
2020-07-05 10:51:30
阅读次数:
71
在前面的1主2从架构中Redis 主从架构实践 CentOS 64-bit-basic 192.168.127.130 redis(主) CentOS 64-bit 192.168.127.128 redis(从) CentOS 64-bit_2 192.168.127.129 redis(从) 如 ...
分类:
其他好文 时间:
2020-07-05 00:41:32
阅读次数:
118
1、kvm异常一: Validating install media '/home/CentOS-7-x86_64-Minimal-1908.iso',目录问题,核查该目录是否有此文件! 2、缺少目录: 创建study01目录 ...
分类:
其他好文 时间:
2020-07-05 00:29:13
阅读次数:
70
1、安装宝塔 #CentOS系统 wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh #Ubuntu系统 wget -O install.sh http://download.bt.cn/i ...
分类:
Web程序 时间:
2020-07-05 00:21:57
阅读次数:
203
安装平台:centos7.3 1、下载包到指定目录 wget http://nginx.org/download/nginx-1.16.1.tar.gz -P /tmp 2、解压包 tar -zxvf /tmp/nginx-1.16.1.tar.gz -C /tmp 3、安装依赖包 yum -y i ...
分类:
其他好文 时间:
2020-07-04 23:05:57
阅读次数:
109
1、打开centos的yum文件夹输入命令cd /etc/yum.repos.d/2、用wget下载repo文件输入命令wget http://mirrors.aliyun.com/repo/Centos-7.repo如果wget命令不生效,说明还没有安装wget工具,输入yum -y instal ...
分类:
其他好文 时间:
2020-07-04 20:51:52
阅读次数:
154
安装环境:CentOS Linux release 7.2.1511 (Core) 1.准备工作: 下载confluence6.7.1:wget https://downloads.atlassian.com/software/confluence/downloads/atlassian-confl ...
分类:
其他好文 时间:
2020-07-04 20:45:14
阅读次数:
74