1.USB启动盘制作找一个u盘至少8G大小。打开github链接下载制作镜像,比如:tinycore-redpill.v0.9.4.3.img.gzhttps://github.com/pocopico/tinycore-redpill解压后,使用Rufus制作工具,把镜像写入u盘2.USB启动并制...
1.安装wgetyum install wget2.备份原来的源cd /etc/yum.repos.dmv CentOS-Base.repo CentOS-Base.repo.bak3.下载替换源wget http://mirrors.163.com/.help/CentOS7-Base-163.r...
1.修改所有redis.conf配置,如端口6001-1006vim redis.confbind 127.0.0.1#69行,注释掉bind项或不修改,默认监听所有网卡protected-mode no#88行,修改,关闭保护模式port 6001#92行,修改,redis监听端口,daemoni...
前言:测试环境ubuntu18.04在两台服务器之间安装iperf3apt install iperf3 -y放脚本的服务器上必须安装了python3,且安装了paramiko模块apt install python -yapt install python3-pip -ypip3 install ...
代码示例# -*- coding: UTF-8 -*-#!/usr/bin/env pythonimport time,math,socket,structimport MySQLdb,psutil###### 内存信息 #######def getMemoryState(): phymem ...
A类地址10.0.0.0/810.0.0.0 - 10.255.255.255B类地址172.16.0.0/12172.16.0.0 - 172.31.255.255C类地址192.168.0.0/16192.168.0.0 - 192.168.255.255...
1. 首先通过串口线与交换机的console连接登陆该交换机2.不需要进入sys,可以直接在现有的状态下输入命令,然后选择Yreset saved-configuration3.此时配置已经清空,现在进行重启操作。输入reboot,并在接下来的第一个询问中选择“N”,第二个询问中选择“Y”等待交换机...
创建一个账户为is,密码为xxx#创建用户aaalocal-user is password cipher xxxlocal-user is privilege level 15 #最高权限local-user is service-type ssh #走ssh协议quit#创建ssh ...
user-interface console 0authentication-mode passwordset authentication password cipheridle-timeout 20 0 #设置空闲超时时间为20分钟,默认10分钟display this #查看配置结果...
1.配置登录管理的用户名、认证级别、口令local-user adminpassword simple satelitservice-type telnetlevel 3save2.H3C提权超级终端(基础密码system)super 3syslocal-user adminpassword sim...