会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
查灵海
博客园
首页
新随笔
联系
订阅
管理
2022年10月13日
debian 10之后 systemctl
摘要: 添加系统开机ssh systemctl enable ssh ystemctl enable ssh Synchronizing state of ssh.service with SysV service script with /lib/systemd/systemd-sysv-install.
阅读全文
posted @ 2022-10-13 14:50 查灵海
阅读(749)
评论(0)
推荐(0)
2019年3月27日
bind中的log
摘要: 下面是可用的分类和相关的简明描述,以后的BIND版本中会包含更多的分类:default: 默认分类,没有分类的日志都使用这个分类的配置.general: 没有分类的日志都记录在此分类中.database: 服务器内部使用存储zone和缓存数据.security: 允许/拒绝的请求.config: 配
阅读全文
posted @ 2019-03-27 09:28 查灵海
阅读(269)
评论(0)
推荐(0)
2019年3月6日
bind9 安装
摘要: apt-get install bind9 bind9-doc dnsutils named-checkconf //测试配置文件 dig 在dnsutils
阅读全文
posted @ 2019-03-06 17:20 查灵海
阅读(194)
评论(0)
推荐(0)
debian中的源
摘要: 修改/etc/apt/sources.list文件,再执行apt-get update更新索引 中科大镜像站
阅读全文
posted @ 2019-03-06 10:07 查灵海
阅读(628)
评论(0)
推荐(0)
2018年12月28日
最新的kali linux2018已经不再支持原有的vmwaretools
摘要: 最新的kali linux2018已经不再支持原有的vmwaretools,即使安装了也不能实现主机与客户机之间的交互(比如从主机复制文件到客户机)。安装open-vm-tools替代vm tools能够完美实现“自动适应客户机”(即自动适应客户机的分辨率,随意改变窗口大小),和与宿主机之间文件的复
阅读全文
posted @ 2018-12-28 10:53 查灵海
阅读(1644)
评论(0)
推荐(0)
2018年7月5日
isc-dhcp-server log
摘要: ddns-update-style none; option domain-name-servers 125.219.192.2,222.88.88.88,202.102.224.68,211.84.208.2; default-lease-time 86400; max-lease-time 17
阅读全文
posted @ 2018-07-05 09:09 查灵海
阅读(803)
评论(0)
推荐(0)
2018年6月26日
dhcpd 某一ip段的统计
摘要: sort -n -t '.' -k 4 dhcpd.leases | egrep 'ip地址' -c 统计该ip段数量 sort -n -t '.' -k 4 dhcpd.leases | egrep 'ip地址' 显示该ip段
阅读全文
posted @ 2018-06-26 16:38 查灵海
阅读(127)
评论(0)
推荐(0)
2018年6月20日
dhcpd中的mac
摘要: cat dhcpd.leases|grep -o '\<[0-9a-f]\{2\}:[0-9a-f]\{2\}:[0-9a-f]\{2\}:[0-9a-f]\{2\}:[0-9a-f]\{2\}:[0-9a-f]\{2\}\>' grep -A 5 可以显示匹配内容以及后面的5行内容 grep -B
阅读全文
posted @ 2018-06-20 08:21 查灵海
阅读(186)
评论(0)
推荐(0)
2017年11月7日
linux dhcpd.leases统计发出去的ip数量
摘要: 查了查还是这个命令 cat dhcpd.leases|grep -o '\<[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\>' -c cat dhcpd.leases|grep -o '\<172\.[0-9]\{1,3\}\.[0-9
阅读全文
posted @ 2017-11-07 17:49 查灵海
阅读(366)
评论(0)
推荐(0)
2017年10月16日
bind中的view语句
摘要: 9. view语句 视图(view)语句的定义和使用: view view_name [class] { match-clients { address_match_list } ; match-destinations { address_match_list } ; match-recursiv
阅读全文
posted @ 2017-10-16 09:02 查灵海
阅读(1506)
评论(0)
推荐(0)
公告