風之力

导航

08 2021 档案

Centos7 解决gcc 4.85版本,升级更改版本gcc
摘要:yum install centos-release-scl scl-utils-build yum -y install devtoolset-9-gcc devtoolset-9-gcc-c++ scl enable devtoolset-9 bash or 请先检查gcc的版本是否低于5,如果 阅读全文

posted @ 2021-08-25 23:40 ZY.Zhou 阅读(388) 评论(0) 推荐(0)

ubuntu下载安装文件和依赖包
摘要:1、apt update 更新包信息 2、发现包的依赖并下载到当前目录,以下载包iputils-ping 为例 apt download `apt-cache depends iputils-ping | grep Depends | cut -d: -f2 | tr -d "<>"` apt do 阅读全文

posted @ 2021-08-20 15:44 ZY.Zhou 阅读(1510) 评论(0) 推荐(0)

fortify的linux环境使用步骤
摘要:​ 安装步骤如下: 1)安装fortify软件。 2)拷贝fortify.license文件到fortify根目录; 3)拷贝*.bin文件到fortify目录下的Core/config/rules目录。.bin文件是fortify静态检查所支持的语言文件; 4)拷贝*.xml到Core/confi 阅读全文

posted @ 2021-08-17 14:17 ZY.Zhou 阅读(2721) 评论(1) 推荐(0)

linux top命令VIRT,RES,SHR,DATA的含义
摘要:VIRT:virtual memory usage 虚拟内存1、进程“需要的”虚拟内存大小,包括进程使用的库、代码、数据等2、假如进程申请100m的内存,但实际只使用了10m,那么它会增长100m,而不是实际的使用量 RES:resident memory usage 常驻内存1、进程当前使用的内存 阅读全文

posted @ 2021-08-11 10:12 ZY.Zhou 阅读(1978) 评论(0) 推荐(0)

docker导出镜像并压缩
摘要:1、使用.tar.gz 导出镜像: docker save nginx:latest | gzip > nginx.tar.gz 还原镜像: gunzip -c nginx.tar.gz | docker load 2、使用7z 如果没有7z先安装 apt install p7zip-full 备份 阅读全文

posted @ 2021-08-10 16:09 ZY.Zhou 阅读(1877) 评论(0) 推荐(0)