Docker File构建镜像 关于DockerFile 在Docker中创建镜像最常用的方式,就是使用Dockerfile。Dockerfile是一个Docker镜像的描述文件,我们可以理解成火箭发射的A、B、C、D…的步骤。Dockerfile其内部包含了一条条的指令,每一条指令构建一层,因此每 ...
分类:
其他好文 时间:
2020-06-29 13:37:58
阅读次数:
63
Dockerfile介绍 Dockerfile 是一个文本文件,记录了镜像构建的所有步骤。 第一个Dockerfile,构建镜像的过程详解 用 Dockerfile 创建 centos-vim,就是编写Dockerfile文件,在基础镜像centos:centos7.4.1708上安装vim,镜像构 ...
分类:
其他好文 时间:
2020-06-29 13:34:49
阅读次数:
51
$ sudo curl -sL -o /etc/yum.repos.d/khara-nodejs.repo \ https://copr.fedoraproject.org/coprs/khara/nodejs/repo/epel-7/khara-nodejs-epel-7.repo$ sudo y ...
分类:
Web程序 时间:
2020-06-29 13:05:57
阅读次数:
301
List CentOS7.3 prometheus-2.2.1.linux-amd64.tar.gz redis_exporter-v0.30.0.linux-amd64.tar.gz ` 节点名 IP 软件版本 硬件 网络 说明 Prometheus 192.168.43.144 list 里面都 ...
分类:
系统相关 时间:
2020-06-29 11:48:36
阅读次数:
103
转:https://www.echoxu.cn/logrotate/#logrotate%E4%BB%8B%E7%BB%8D 说起日志切割,很多人会选择用crontab脚本定时执行已编写好的日志分割脚本,殊不知在linux上内置了日志分割工具,它就是logrotate且其在centos7上默认安装了 ...
分类:
其他好文 时间:
2020-06-29 11:37:31
阅读次数:
181
1、学习Linux中的师傅推荐的经验贴: https://www.runoob.com/linux/linux-system-boot.html 2、进行安装vm ware 14及centos6 的安装步骤: https://www.runoob.com/w3cnote/vmware-install ...
分类:
其他好文 时间:
2020-06-29 11:25:44
阅读次数:
97
今日学习内容 # Ajax: # 免费网站空间 :http://free.3v.do/ # Wampserver 配置方法 1. 修改:httpd-vhosts.conf文件,增加Require all granted 使用#关闭Require local或直接删除即可 #Require local ...
分类:
其他好文 时间:
2020-06-29 11:16:53
阅读次数:
68
1、wc 统计文件行数的选项是( )C A、-L B、-w C、-l D、-c 2、linux 用户创建命令( )A A、useradd B、chown C、chmod D、groupadd 3、有一些文件某普通用户无法读取,说明其权限位缺少哪个权限( )D A、w B、s C、x D、r 4、ba ...
分类:
其他好文 时间:
2020-06-29 00:30:19
阅读次数:
159
1、cobbler check失败 httpd does not appear to be running and proxying cobbler, or SELinux is in the way. Original traceback: Traceback (most recent call ...
分类:
其他好文 时间:
2020-06-28 22:55:20
阅读次数:
118
1、编写脚本selinux.sh,实现开启或禁用SELinux功能 [root@centos7 scripts]# cat selinux.sh #!/bin/bash . /etc/init.d/functions STATUS=`getenforce` start(){ [ $STATUS != ...
分类:
其他好文 时间:
2020-06-28 22:32:22
阅读次数:
77