Darius-D

导航

2018年8月14日 #

shell编写自动化安装dhcp服务

摘要: #!/bin/bash#Auth:Darius#自动化安装dhcp服务#"$1"为测试IP,用来查看IP段是否能通eno=`ifconfig|awk '{print $1}'|head -1|awk -F ":" '{print $1}'`file=/etc/sysconfig/network-sc 阅读全文

posted @ 2018-08-14 15:15 Darius-D 阅读(289) 评论(0) 推荐(0)

shell搭建CentOS_7基础环境

摘要: #!/bin/bash#Auth:Darius#CentOS_7配置实验环境eno=`ifconfig|awk '{print $1}'|head -1|awk -F ":" '{print $1}'`file=/etc/sysconfig/network-scripts/ifcfg-$enodir 阅读全文

posted @ 2018-08-14 14:26 Darius-D 阅读(198) 评论(0) 推荐(0)