简版centos常见操作
摘要:无chkconfig、iptables、ifconfig、netstat、 关闭防火墙 systemctl stop firewalld 查看ip地址 ip addr 配置ip地址 vi /ect/sysconfig/network-script/ifcfg-eth0 service netwrok
阅读全文
posted @
2019-02-22 14:23
蕙芷兰馨
阅读(154)
推荐(0)
linux下文本处理
摘要:vim 中处理单个文件 :%s/hello/hi/g 将当前文件中的所有hello替换为hi sed 可处理一个目录下指导文件的文本 sed -i "s/hello/hi/g" *.xml 将当前目录下所有xml文件中的hello替换为hi
阅读全文
posted @
2019-02-21 14:58
蕙芷兰馨
阅读(164)
推荐(0)
Linux操作之——配置samba
摘要:1)配置 vi /etc/samba/smb.conf 2)添加smb用户并设置密码 3)重启smb服务 4)检测selinux是否开启,需要关闭 5)关闭selinux
阅读全文
posted @
2017-12-21 10:42
蕙芷兰馨
阅读(191)
推荐(0)