摘要: less /etc/passwd 查看用户文件 passwd tom[用户名] 修改密码 useradd suguihua[用户名] 新增用户名 vim /etc/passwd 将xiaoqiang 的x 删除之后 则不需要密码可以直接登录 less /etc/shadow 查看密码文件 less 阅读全文
posted @ 2023-03-03 09:42 槑槑DE 阅读(62) 评论(0) 推荐(0) 编辑
摘要: [root@inner ~]# tcpdump -i any -s 0 -w trunkm.pcaptcpdump: error while loading shared libraries: libpcap.so.1: cannot open shared object file: No such 阅读全文
posted @ 2022-12-14 21:17 槑槑DE 阅读(1071) 评论(0) 推荐(0) 编辑
摘要: 要获取不包含百分比符号的内存占用率: #free -t | awk 'NR ==2 {print "Current Memory Utilization is: "$3/$2*100}' #free -t | awk 'FNR ==2 {print "Current Memory Utilizati 阅读全文
posted @ 2022-10-20 08:31 槑槑DE 阅读(239) 评论(0) 推荐(0) 编辑
摘要: 1. 错误提示: Gtk-WARNING **: Error loading image 'file:///usr/share/themes/Ambiance/gtk-3.0/assets/button-toolbar-active-focused.png': Unable to load imag 阅读全文
posted @ 2022-09-30 08:25 槑槑DE 阅读(570) 评论(0) 推荐(0) 编辑
摘要: 1、启动网络管理器运行systemctl restart NetworkManager2、创建主备绑定连接 nmcli connection add con-name bond0 type bond ifname bond0 mode active-backup 3、将物理网卡eth2和eth3添加 阅读全文
posted @ 2022-09-22 21:00 槑槑DE 阅读(409) 评论(0) 推荐(0) 编辑
摘要: https://baijiahao.baidu.com/s?id=1748980460185046641&wfr=spider&for=pc 1、安装bind(服务器) yum -y install bind bind-chroot 2、配置named.conf文件 vi /etc/named.co 阅读全文
posted @ 2022-09-13 13:56 槑槑DE 阅读(755) 评论(0) 推荐(0) 编辑
摘要: 1、centos7.2下配置dhcp v4或v6服务 安装dhcp-server centos7及以前版本的操作系统使用命令: yum install dhcp centos8使用命令: yum install dhcp-server 配置ipv4服务器 1、设置centos操作系统所在服务器的ip 阅读全文
posted @ 2022-09-13 13:50 槑槑DE 阅读(1112) 评论(0) 推荐(0) 编辑
摘要: 1.1 scp 命令-拷贝文件 scp local_file remote_username@remote_ip:remote_folder eg : scp G96S.Z.16m root@192.168.33.1:/home/ieb/ 将本地文件G96S.Z.16m 拷贝到 192.168.33 阅读全文
posted @ 2022-09-13 13:47 槑槑DE 阅读(61) 评论(0) 推荐(0) 编辑
摘要: The capture session could not be initiated on interface 'enp2s0' (You don't have permission to capture on that device). Please check to make sure you 阅读全文
posted @ 2021-12-17 15:32 槑槑DE 阅读(310) 评论(0) 推荐(0) 编辑
摘要: 接口规范 1、筛选并排序获取所有请求参数,不包括字节类型参数,如文件、字节流,剔除 sign 字段,剔除值为空的参数,并按照第一个字符的键值 ASCII 码递增排序(字母升序排序),如果遇到相同字符则按照第二个字符的键值 ASCII 码递增排序,以此类推2、拼接将排序后的参数与其对应值,组合成“参数 阅读全文
posted @ 2021-03-08 14:18 槑槑DE 阅读(1492) 评论(0) 推荐(1) 编辑