修改已经创建的docker容器的端口映射

修改已经创建的docker容器的端口映射
0) docker container list –all 结果中的CONTAINER ID列为容器id 1) docker inspect <容器id> | grep Id 查看容器hash,<容器id>由步骤0)获得 2) docker stop <容器id> 停止运行中的容器 3) vim /var/lib/docker/containers/[容器hash]/hostconfig.json 编辑容器配置文件,<容器hash>由步骤1)获得 修改PortBindings参数配置,宿主机8001端口...

docker 安装 IAST 扫描器 及配置方法

docker 安装 IAST 扫描器 及配置方法
不得不说官方openrasp 对于扫描器这块文字写的是真的差,请接受我无情的吐槽!!! 下面说一下如何在docker中安装最新的OpenRasp IAST 扫描器 对了,友情提醒:IAST扫描器 无法在windows下使用哦。   首先你需要自己装一个docker mysql:5.7,这里具体的方法自行百度吧,别忘了映射出3306的端口即可。 下面开始讲具体的安装rasp 扫描器的具体方法: ###下载python环境,...

uilding ‘psutil._psutil_windows’ extension error: Microsoft Visual C++ 14.0 is required

uilding ‘psutil._psutil_windows’ extension     error: Microsoft Visual C++ 14.0 is required
报错信息: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 Collecting psutil==5.6.3 Using cached psutil-5.6.3.tar.gz (435 kB) Installing collected packages: psutil Attempting uninstall: psutil Found existing ins...

alpine Failed to build lxml 【Could not find function xmlCheckVersion in library libxml2. Is libxml2 installed?】

alpine Failed to build lxml 【Could not find function xmlCheckVersion in library libxml2. Is libxml2 installed?】
百度的RASP 扫描器真的是坑啊。。。大坑啊。。也可能是测试版的问题吧。。。 【Could not find function xmlCheckVersion in library libxml2. Is libxml2 installed?】解决方案,我们先看看报错信息: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56...

ERROR: Could not build wheels for multidict which use PEP 517 and cannot be installed directly

ERROR: Could not build wheels for multidict which use PEP 517 and cannot be installed directly
ERROR: Could not build wheels for multidict which use PEP 517 and cannot be installed directly 解决方案在最下面,如果不想看错误,就直接拉到最下面即可。 这里我们先看错误:   这里是某个软件的报错 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 ...

矩阵与矩阵的乘积 、矩阵与向量的乘积

矩阵与矩阵的乘积 、矩阵与向量的乘积
矩阵与矩阵的乘积 矩阵乘法   矩阵与向量的乘积 先上运算,再解读: 一个矩阵乘以一个列向量相当于矩阵的列向量的线性组合。 一个行向量乘以矩阵,相当于矩阵的行向量的线性组合。 方程组: 在二维平面中,相当于找两条直线的交点。 写成如下形式: 把方程组看成是Ax=b,相当于是寻找矩阵A的列向量的某个线性组合,使得等于b。可以引申出来:二维平面的任意两个向...

docker 安装最新RASP 及 相关环境搭建

docker 安装最新RASP 及 相关环境搭建
首先要自己装好docker环境。这里只教全部的RASP docker环境的安装。 Docker安装MongoDB、ElasticSearch 安装RASP需要的管控后台,必须要安装MongoDB、ElasticSearch。既然全程Docker里面安装,那么就简单了。具体安装方法请查看:centos7 docker 安装最新 MongoDB、ElasticSearch 都安装完毕后记得开放端口例如:9200、27017 firewall-cmd --zone=public --add-port=9200/tc...

无需登陆 查看 飞客茶馆-信用卡论坛-m.flyertea.com 油猴脚本

无需登陆 查看 飞客茶馆-信用卡论坛-m.flyertea.com 油猴脚本
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 // ==UserScript== // @name 飞客茶馆-信用卡论坛-m.flyertea.com // @namespace http://tampermonkey.net/ // @version 1 // @description 自动展开阅读+去广告+自动展示评论。 // @author shrimp // @match ...

CSDN 文字内容页 广告完全过滤净化油猴脚本

CSDN 文字内容页 广告完全过滤净化油猴脚本
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 11...