摘要: PXEz自动化 在PXE服务器操作: *yum -y install dhcp xinetd tftp tftp-server* *yum -y install system-config-kickstart* *yum -y install syslinux* *[root@localhost k 阅读全文
posted @ 2024-03-11 22:56 三思博客 阅读(7) 评论(0) 推荐(0) 编辑
摘要: yum总纲 yum源搭建 首先本文档讲解两种搭建方式,第一有网络环境和第二种无网络环境。 第一种:有网络环境 首先 进入系统执行:以下命令,获取网络源 wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/C 阅读全文
posted @ 2024-03-11 22:45 三思博客 阅读(6) 评论(0) 推荐(0) 编辑
摘要: awk第一天 1.用awk 打印整个test.txt (以下操作都是用awk工具实现,针对test.txt) awk '{print}' test.txt [root@master ~]# awk '{print}' test.txt hello world\! usr/root usr/root 阅读全文
posted @ 2024-03-11 22:40 三思博客 阅读(24) 评论(0) 推荐(0) 编辑
摘要: 第十九天--第二十天 1.使用awk 打印 passwd 第二行 awk 'NR==2' /etc/passwd 2.统计/etc/services文件中有井号开头的行 grep -c '^#' /etc/services 或者 awk '/^#{c++} END{print c}' /etc/se 阅读全文
posted @ 2024-03-11 22:39 三思博客 阅读(13) 评论(0) 推荐(0) 编辑