2017年5月8日

摘要: 更新于20171128 关于这个p2p的技术,阿里开源了 "蜻蜓" ,大家可以看看,感觉应该比这个要好用,而且文档也全。 前言 最近在学习python的p2p协议,发现网上找不到好的文章,又仔细找了找终于找到了 "武老师之前讲的视频" ,自己动手做了一下,其实也不太难,不过其中有些地方还是没搞懂。这 阅读全文
posted @ 2017-05-08 19:55 圣诞使者 阅读(1008) 评论(0) 推荐(0) 编辑

2017年5月7日

摘要: 前言 之前有需求要做一个django+ldap用户管理的简单接口,研究了好几个模块,最后终于能实现django用ldap做用户认证了。也是自己的水平有限吧,做了好长时间,现在就和大家分享一下这个过程吧。最终是有两种方法实现这个认证过程,一种是通过django python3 ldap实现的,一种是自 阅读全文
posted @ 2017-05-07 11:39 圣诞使者 阅读(801) 评论(0) 推荐(0) 编辑

2017年3月18日

摘要: 本机环境介绍 虚拟机操作系统版本如下 [root@node1 ~] cat /etc/redhat release CentOS Linux release 7.2.1511 (Core) IP地址为: 安装epel源 rpm ivh http://mirrors.aliyun.com/epel/e 阅读全文
posted @ 2017-03-18 09:47 圣诞使者 阅读(226) 评论(0) 推荐(0) 编辑

2017年3月12日

摘要: yum install y docker nsenter belongs to util linux docker run name mydocker docker inspect f "{{ .State.Pid }}" mydocker nsenter t 14301 m u i n p [ro 阅读全文
posted @ 2017-03-12 11:28 圣诞使者 阅读(164) 评论(0) 推荐(0) 编辑
 
摘要: [root@log node1 ~] cobbler repo add name=logstash 2.3 mirror=http://packages.elastic.co/logstash/2.3/centos arch=x86_64 breed=yum [root@log node1 ~] c 阅读全文
posted @ 2017-03-12 11:27 圣诞使者 阅读(203) 评论(0) 推荐(0) 编辑
 
摘要: note.youdao.com/share/?id=2f8383d6e9824929012b041f069da26e&type=note / IPADDR=192.168.86.4 TYPE=Ethernet BOOTPROTO=static IPADDR=192.168.86.3 NETMASK= 阅读全文
posted @ 2017-03-12 11:27 圣诞使者 阅读(214) 评论(0) 推荐(0) 编辑
 
摘要: snmp 默认监控upd161端口 tcp 也有 [root@bogon ~] netstat nlutp|grep snmp tcp 0 0 127.0.0.1:199 0.0.0.0: LISTEN 7601/snmpd udp 0 0 0.0.0.0:161 0.0.0.0: 7601/snm 阅读全文
posted @ 2017-03-12 11:26 圣诞使者 阅读(314) 评论(0) 推荐(0) 编辑
 
摘要: yum install y java 1.8.0 [root@linux node1 ~] cd /etc/yum.repos.d/ [root@linux node1 yum.repos.d] wget http://pkg.jenkins.io/redhat/jenkins.repo [root 阅读全文
posted @ 2017-03-12 11:24 圣诞使者 阅读(282) 评论(0) 推荐(0) 编辑
 
摘要: 索引 "saltstack入门" "salt state sls 描述文件" "saltstack配置管理高级功能" saltstack入门 192.168.86.3 salt 修改 [root@Zabbix sever salt] salt key L Accepted Keys: Denied 阅读全文
posted @ 2017-03-12 11:16 圣诞使者 阅读(561) 评论(0) 推荐(0) 编辑
 
摘要: yum install curl policycoreutils openssh server openssh clients postfix [root@linux node2 ~] yum install curl policycoreutils openssh server openssh c 阅读全文
posted @ 2017-03-12 11:12 圣诞使者 阅读(202) 评论(0) 推荐(0) 编辑
 
返回顶部