2018年5月4日

摘要: 1.DNS then 进入vi vi /etc/resolv.conf them 修改nameserver=8.8.8.8 阅读全文
posted @ 2018-05-04 10:47 马文奇 阅读(81) 评论(0) 推荐(0) 编辑
摘要: 1. 第一个shell脚本 打开文本编辑器(可以使用 vi/vim 命令来创建文件),新建一个文件 test.sh,扩展名为 sh(sh代表shell),扩展名并不影响脚本执行,见名知意就好,如果你用 php 写 shell 脚本,扩展名就用 php 好了。 输入一些代码,第一行一般是这样: #!/ 阅读全文
posted @ 2018-05-04 09:57 马文奇 阅读(96) 评论(0) 推荐(0) 编辑
摘要: 1.右键 那个电脑勾选enable networking then配置文件信息, thengateway 查看 then生效要重新启动小电脑! 2.用命令行临时配置IP then [root@bogon ~]# ifconfig eth0:0 192.168.94.140 netmask 255.2 阅读全文
posted @ 2018-05-04 08:42 马文奇 阅读(109) 评论(0) 推荐(0) 编辑

导航