前提:我们有了镜像才可以创建容器 如,下载一个centos镜像来测试学习 docker pull centos 新建容器并启动 docker run 【可选参数】 image #参数说明 --name= “Name” 容器名字 tomcat01,tomcat02。用来区分不同的容器 -d 后台方式运 ...
分类:
其他好文 时间:
2021-04-05 12:42:27
阅读次数:
0
现在,你已经学会了修改文件,然后把修改提交到Git版本库,现在,再练习一次,修改readme.txt文件如下: Git is a distributed version control system. Git is free software distributed under the GPL. 然 ...
分类:
其他好文 时间:
2021-04-05 12:32:31
阅读次数:
0
1 首先 添加dns服务器 vi /etc/resolv.conf 在文件中添加如下两行: nameserver 8.8.8.8 nameserver 8.8.4.4 保存退出,重启服务器。之后再ping 一次试一试 如果没有解决 继续: 2 设置一个文件: vi /etc/sysconfig/ne ...
分类:
其他好文 时间:
2021-04-05 12:20:08
阅读次数:
0
PAT (Advanced Level) Practice 1027 Colors in Mars (20 分) 凌宸1642 题目描述: People in Mars represent the colors in their computers in a similar way as the E ...
分类:
其他好文 时间:
2021-04-05 12:15:31
阅读次数:
0
centos下搭建Jenkins持续集成环境(安装jenkins) 1、安装JDK yum install -y java 2、安装jenkins 添加Jenkins库到yum库,Jenkins将从这里下载安装。 1 wget -O /etc/yum.repos.d/jenkins.repo htt ...
分类:
其他好文 时间:
2021-04-05 12:10:46
阅读次数:
0
##第一部分Mem行: total 内存总数: 15.7G used 已经使用的内存数: 15.6G free 空闲的内存数: 93M shared 当前已经废弃不用,总是0 buffers Buffer 缓存内存数: 298M cached Page 缓存内存数:14G 对操作系统来讲是Mem的参 ...
分类:
其他好文 时间:
2021-04-05 11:44:12
阅读次数:
0
本文主要讲解如何重启RHEL 8或者CentOS 8网络以及如何解决RHEL8和CentOS8系统的网络管理服务报错 1、redhat8系列官方使用nmclit进行IP地址修改和配置: 将network停止并禁止: systemctl stop network systemctl mask netw ...
分类:
其他好文 时间:
2021-04-02 13:33:25
阅读次数:
0
网卡文件路径 路径:/etc/sysconfig/network-scripts/ 配置文件解析 DEVICE=ens33 # 网卡的设备名称 NAME=ens33 # 网卡设备的别名 TYPE=Ethernet #网络类型:Ethernet以太网 BOOTPROTO=none #引导协议:stat ...
分类:
其他好文 时间:
2021-04-02 13:26:44
阅读次数:
0
Centos7 Centos7源镜像修改 # Insatll wget yum install -y wget # Backup repo; mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup m ...
分类:
系统相关 时间:
2021-04-02 13:06:44
阅读次数:
0
首先安装MySQL服务: wget -i -c http://dev.mysql.com/get/mysql57-community-release-el7-10.noarch.rpm yum -y install mysql57-community-release-el7-10.noarch.rp ...
分类:
数据库 时间:
2021-04-02 12:58:53
阅读次数:
0