Docker五种存储驱动原理及应用场景和性能测试对比 Docker最开始采用AUFS作为文件系统,也得益于AUFS分层的概念,实现了多个Container可以共享同一个image。但由于AUFS未并入Linux内核,且只支持Ubuntu,考虑到兼容性问题,在Docker 0.7版本中引入了存储驱动, ...
分类:
其他好文 时间:
2021-03-02 11:54:21
阅读次数:
0
环境:ubuntu-server18.4 with desktop installed 问题:安装ubuntu之后启动系统网卡没有自动启动,然后我就在 /etc/netplan/xxxx-netcfg.yaml文件下面加上了下面的信息: ethernets: ens33: dhcp4: true d ...
分类:
Web程序 时间:
2021-03-02 11:45:10
阅读次数:
0
四大核心功能:filter, nat, mangle, raw 1.【清楚默认规则】 iptables -P INPUT ACCEPT iptables -F # 清空所有规则 iptables -X # 清空所有自定义规则 iptables -Z # 计算器0 2.【配置规则】 [vim /etc ...
分类:
其他好文 时间:
2021-03-01 14:16:49
阅读次数:
0
[root@zhaodong zhaodong]# iptables -I INPUT -s 192.168.10.0/24 -p tcp --dport 22 -j ACCEPT [root@zhaodong zhaodong]# iptables -A INPUT -p tcp --dport ...
分类:
系统相关 时间:
2021-03-01 13:25:10
阅读次数:
0
ansible when条件语句用法 参考 基本用法 - hosts: all tasks: - include: Ubuntu.yml when: ansible_os_family == "Ubuntu" - include: RHEL.yml when: ansible_os_family = ...
分类:
其他好文 时间:
2021-02-27 13:41:18
阅读次数:
0
CentOS7 的防火墙配置跟以前版本有很大区别,CentOS7这个版本的防火墙默认使用的是firewall,与之前的版本Centos 6.x使用iptables不一样 一、iptables防火墙 1、基本操作 查看防火墙状态 service iptables status 停止防火墙 servic ...
分类:
系统相关 时间:
2021-02-27 13:22:40
阅读次数:
0
[Desktop Entry] Name=firefox-56 GenericName=Web Browser-Firefox OS Exec=/home/wons/ToolBox/Software/Firefox/firefox-56.0/firefox/firefox %u Terminal=f ...
分类:
系统相关 时间:
2021-02-26 12:52:44
阅读次数:
0
信息介绍 使用对象:安装完中文版Ubuntu,觉得不好看的人 Ubuntu版本:20.04 参考文章:美化、安装QQ&钉钉&微信 一. 配置OS 1.更换源 打开软件"软件和更新" 选择要更换的源 2.搜狗输入法 安装包下载地址:https://pinyin.sogou.com/linux/?r=p ...
分类:
系统相关 时间:
2021-02-25 11:41:56
阅读次数:
0
background 在以5.3为内核的ubuntu中编译3.10的内核时,出现: include/linux/compiler-gcc.h:106:30: fatal error: linux/compiler-gcc5.h错误 尝试了网上说的将当前内核(5.3)的compiler-gcc.h复制 ...
分类:
其他好文 时间:
2021-02-24 13:28:44
阅读次数:
0
ubuntu 系统默认已安装ufw. 1.安装 sudo apt-get install ufw 2.启用 sudo ufw enable sudo ufw default deny 运行以上两条命令后,开启了防火墙,并在系统启动时自动开启。关闭所有外部对本机的访问,但本机访问外部正常。 3.开启/ ...
分类:
系统相关 时间:
2021-02-23 14:33:33
阅读次数:
0