Fork me on GitHub
摘要: 关闭SELINUX ##查看SELINUX状态 /usr/sbin/sestatus -v getenforce #修改config配置文件,重启后即可 vi /etc/selinux/config #SELINUX=enforcing改为SELINUX=disabled #临时关闭(不用重启机器) 阅读全文
posted @ 2018-04-20 20:51 秋夜雨巷 阅读(1111) 评论(0) 推荐(0) 编辑
摘要: 定义 策略模式(Strategy Pattern)也叫政策模式,是一种比较简单的模式。 英文原话:Define a family of algorithms,encapsulate each one,and make them interchangeable. 翻译:定义一组算法,将每个算法都封装起 阅读全文
posted @ 2018-04-20 15:00 秋夜雨巷 阅读(329) 评论(0) 推荐(0) 编辑
摘要: 定义 责任链模式(Chain of Responsibility Pattern)是一种常见的行为模式。 责任链模式英文原话是:Avoid coupling the sender of a request to its receiver by giving more than one object 阅读全文
posted @ 2018-04-20 11:22 秋夜雨巷 阅读(12460) 评论(0) 推荐(2) 编辑