一. 安装docker与k3s 1. 安装Docker curl -fsSL https://get.docker.com -o get-docker.sh && sh get-docker.sh 2. 启动Docer并开机自启 systemctl start docker systemctl en ...
分类:
其他好文 时间:
2020-06-08 13:06:28
阅读次数:
157
1、KDC 添加用户 ,输入密码 HTTP@HADOOP.COM 2、客户机(linux),kerberos客户端安装 3、客户机(linux),kerberos客户端配置 4、关闭客户机防火墙 systemctl stop firewalld.service 5、配置客户机host文件 6、客户机 ...
分类:
其他好文 时间:
2020-06-08 12:55:03
阅读次数:
154
centos7以后是这样的,7以前就是别的版本了 1.systemctl get-default命令获取当前模式 2.systemctl set-default graphical.target 修改启动模式(修改为图形界面,要是修改为命令行就multi-user.target) 2.systemc ...
分类:
系统相关 时间:
2020-06-07 11:06:34
阅读次数:
146
Linux上启动docker命令 systemctl start docker.service systemctl status docker.service docker关于容器相关命令 docker ps // 查看所有正在运行容器 docker stop containerId // cont ...
分类:
其他好文 时间:
2020-06-06 11:08:42
阅读次数:
64
1,安装 下载生成证书工具 wget https://pkg.cfssl.org/R1.2/cfssl_linux-amd64 wget https://pkg.cfssl.org/R1.2/cfssljson_linux-amd64 wget https://pkg.cfssl.org/R1.2/ ...
分类:
其他好文 时间:
2020-06-05 23:19:17
阅读次数:
78
<!-- profile docker config --> <profiles> <profile> <id>docker</id> <build> <plugins> <plugin> <groupId>com.spotify</groupId> <artifactId>docker-maven ...
分类:
编程语言 时间:
2020-06-05 14:53:25
阅读次数:
135
以下Ansible-Ploybook功能: 🚫禁止Root用户登录 lineinfile 模块替换前备份(格式为sshd_config.13019.2020-05-25@17:48:55~) shell 模块支持正则 查看修改后的内容是否有变化 systemd 服务模块(restarted sto ...
分类:
其他好文 时间:
2020-06-05 10:28:14
阅读次数:
165
journalctl 日志查看方法 来源:https://www.cnblogs.com/leigepython/p/10302056.html 1 概述 日志管理工具journalctl是centos7上专有的日志管理工具,该工具是从message这个文件里读取信息。Systemd统一管理所有Un ...
分类:
系统相关 时间:
2020-06-05 10:21:24
阅读次数:
106
namespace->docker使用namespace来格里容器的运行环境,比如容器的文件系统、用户环境、进程namespace->k8s用于业务容器的隔离,把容器创建到指定的namespace,A业务与性Linux39,B业务的所有容器运行在magedu下载镜像doeckerpull查看下载的镜像dockerimages启动镜像dockerstart-p-it镜像ID/bin/ba
分类:
其他好文 时间:
2020-06-04 12:11:27
阅读次数:
98