摘要: for i in $(echo $(cat /etc/pcdn/pcdn.conf |grep nics |awk '{print $2}') |awk 'BEGIN{FS=","; OFS=""; ORS=""}{for(x=1;x<=NF;x++){print $x"\n"}}'); do ec 阅读全文
posted @ 2023-03-07 13:32 饲养员的猪 阅读(25) 评论(0) 推荐(0)
摘要: sql通用语法 SQL分类 DDL 操作数据库表结构,表中字段的 创建数据库 create schema test; create databases test; 创建表 示例 create table user( id int null comment '编号', name varchar(50) 阅读全文
posted @ 2023-03-05 21:43 饲养员的猪 阅读(110) 评论(0) 推荐(0)
摘要: 添加完磁盘后,重启虚拟机。重启过后,使用命令查看磁盘,命令如下: [root@localhost ~]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 20G 0 disk ├─sda1 8:1 0 500M 0 part /boot 阅读全文
posted @ 2020-11-13 21:37 饲养员的猪 阅读(320) 评论(0) 推荐(0)
摘要: A卷https://blog.csdn.net/m0_46621937/article/details/106708016 B卷https://blog.csdn.net/m0_46621937/article/details/106789678 C卷https://blog.csdn.net/m0 阅读全文
posted @ 2020-11-13 19:00 饲养员的猪 阅读(185) 评论(0) 推荐(0)
摘要: Docker安装 使用xserver1节点,自行配置YUM源,安装docker服务(需要用到的包为xserver1节点/root目录下的Docker.tar.gz)。安装完服务后,将registry_latest.tar上传到xserver1节点中并配置为私有仓库。要求启动registry容器时,将 阅读全文
posted @ 2020-11-13 14:17 饲养员的猪 阅读(407) 评论(0) 推荐(0)
摘要: 有一个文件ip.txt,每行一条ip记录,共若干行,下面哪个命令可以实现“统计出现次数最多的前3个ip及其次数”?(B)(10分) A.uniq -c ip.txt | sort -nr | head -n 3 B.sort ip.txt | uniq -c | sort -rn | head -n 阅读全文
posted @ 2020-11-13 11:42 饲养员的猪 阅读(827) 评论(0) 推荐(0)
摘要: 网络管理 使用eNSP模拟器,启动S5700交换机。通过一条命令在S1交换机上创建vlan101、vlan102,配置g0/0/1端口为access模式,所属vlan101,配置g0/0/2端口为trunk模式,放行vlan101、vlan102。将以上所有操作命令和返回结果以文本形式提交大答题框。 阅读全文
posted @ 2020-11-13 11:14 饲养员的猪 阅读(2322) 评论(0) 推荐(0)