查看docker支持的网络驱动 [root@localhost ~]# docker info |grep "Network" WARNING: bridge-nf-call-iptables is disabled WARNING: bridge-nf-call-ip6tables is disa ...
分类:
其他好文 时间:
2020-07-06 20:23:49
阅读次数:
81
firewalld防火墙 一、防火墙安全概述 在CentOS7系统中集成了多款防火墙管理工具,默认启用的是firewalld(动态防火墙管理器)防火墙管理工具,Firewalld支持CLI(命令行)以及GUI(图形)的两种管理方式。 对于接触Linux较早的人员对Iptables比较熟悉,但由于Ip ...
分类:
其他好文 时间:
2020-07-06 19:24:38
阅读次数:
61
1.推导:MobileNets中的深度游可分离卷积与标准卷积的算力消耗之比? *(input feature: FxFxC, kernel size: KxKxCxM, padding=same)* 标准卷积的算力消耗:KxKxFxFxCxM; 深度可分离卷积算力消耗:(KxKxFxFxCx1) + ...
分类:
Web程序 时间:
2020-07-06 16:14:01
阅读次数:
79
脚本源码:#!/bin/bashecho_caidan() {# 清空防火墙规则read -ep "是否清空防火墙规则(y/n):" nameif [ $name == y ];then iptables -F echo " 1) 放行端口 2) 封锁端口 3) 放行ip 4) 封锁ip "else... ...
分类:
系统相关 时间:
2020-07-06 11:04:21
阅读次数:
99
centos6中防火墙是iptables,centos7中防火墙是firewalld 在centos7中用service iptables status查看防火墙状态会报错 Redirecting to /bin/systemctl status iptables.service Unit ipta ...
分类:
其他好文 时间:
2020-07-06 10:48:36
阅读次数:
94
1.函数简介 sklearn.svm.SVC(C=1.0, kernel='rbf', degree=3, gamma='auto', coef0=0.0, shrinking=True, probability=False, Tol=0.001, cache_size200, class_weig ...
分类:
其他好文 时间:
2020-07-05 19:25:48
阅读次数:
68
安装平台:centos7.3 1、下载包到指定目录 wget http://nginx.org/download/nginx-1.16.1.tar.gz -P /tmp 2、解压包 tar -zxvf /tmp/nginx-1.16.1.tar.gz -C /tmp 3、安装依赖包 yum -y i ...
分类:
其他好文 时间:
2020-07-04 23:05:57
阅读次数:
109
运行环境:python3.6.9 opencv3.4.10 import cv2 import numpy as np font=cv2.FONT_HERSHEY_COMPLEX kernel = np.ones((7,7),np.uint8) img=cv2.imread('corn.jpg',1 ...
分类:
其他好文 时间:
2020-07-04 22:25:33
阅读次数:
72
#Linux本地提权 (CVE-2019-13272) ##一、漏洞简介 kernel 5.1.17之前版本中存在安全漏洞,该漏洞源于kernel/ptrace.c文件的ptrace_link没有正确处理对凭证的记录。攻击者可利用该漏洞获取root访问权限。 ##二、漏洞影响 影响内核版本 Linu ...
分类:
系统相关 时间:
2020-07-04 00:56:50
阅读次数:
137
注:本文基于MySQL高可用之MHA配置VIPvip配置可以采用两种方式:1、通过keepalived的方式管理虚拟ip的浮动;2、通过脚本方式启动虚拟ip的方式(即不需要keepalived或者heartbeat类似的软件)1、keepalived方式管理虚拟ip#在编译安装Keepalived之前,必须先安装内核开发包kernel-devel以及openssl-devel、popt-devel
分类:
数据库 时间:
2020-07-03 23:24:01
阅读次数:
55