Docker 四种网络模式 四种网络模式摘自 Docker 网络详解及 pipework 源码解读与实践 docker run 创建 Docker 容器时,可以用 --net 选项指定容器的网络模式,Docker 有以下 4 种网络模式: host 模式,使用 --net=host 指定。 cont ...
分类:
其他好文 时间:
2021-05-04 15:20:18
阅读次数:
0
第六周1、自建yum仓库,分别为网络源和本地源(1)vim/etc/yum.repos.d/base.repo(2)yumrepolist2、编译安装http2.4,实现可以正常访问,并将编译步骤和结果提交。(1)下载源码wgethttp://archive.apache.org/dist/httpd/httpd-2.4.25.tar.gz(2)解包及准备所需安装包tarxvfhttpd-2.4.
分类:
其他好文 时间:
2020-11-12 13:46:18
阅读次数:
8
##1.自建yum仓库,分别为网络源和本地源。 备份yum源配置 [root@centos6 ~]#ll /etc/yum.repos.d/ total 28 -rw-r--r--. 1 root root 1991 Jun 26 2018 CentOS-Base.repo -rw-r--r--. ...
分类:
系统相关 时间:
2020-09-18 01:29:17
阅读次数:
41
环境说明: |系统|IP|所需服务 |--|--|-- |CentOS7|192.168.159.144|nginx、mysql、php|(wordpress) 实验前请关闭防火墙和SELINUX,并配置好网络源 1. 安装nginx //安装依赖包 [root@longnian ~]# yum - ...
分类:
系统相关 时间:
2020-08-08 17:44:45
阅读次数:
101
一、自建yum仓库,分别为网络源和本地源本地yum源先检查系统有没有安装autofs#rpm-qautofsautofs-5.0.7-109.el7.x86_64进去/etc/yum.repos.d将其他文件进行备份#cd/etc/yum.repos.d/#mkdirbak#mv*bak/新建本地yum文件#vimBase.repo[base]name=CDROMrepobaseurl=file:
分类:
其他好文 时间:
2020-07-20 11:03:36
阅读次数:
75
YUM:YellowdogUpdateModifier,rpm的前端程序,可解决软件包相关依赖性,可在多个库之间定位软件包,up2date的替代工具yumrepository:yumrepo,存储了众多rpm包,以及包的相关的元数据文件,放置在特定的目录repodata下yum客户端配置文件:/etc/yum.conf:为所有仓库提供公共配置[root@Centos7yum.repos.d]#cd
分类:
其他好文 时间:
2020-07-16 18:19:20
阅读次数:
93
一、自建yum仓库,分别为网络源和本地源。网络源:1、首先创建yum仓库:[centos@localhost~]$yuminstallcreaterepo2、将原来的yum网络源禁用。[root@localhostyum.repos.d]#mvCentOS-Base.repoCentOS-Base.repo.bak3、编辑CentOS-Base.repo[base]name=BaseRepoonm
分类:
其他好文 时间:
2020-06-17 10:54:51
阅读次数:
47
环境:ubuntu系统可以连接公网 备份:sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak 编辑/etc/apt/sources.list文件 阿里源: eb http://mirrors.aliyun.com/ubuntu/ bioni ...
分类:
系统相关 时间:
2020-06-04 20:05:23
阅读次数:
117
虚拟机选择网络选择桥接(无线网不打勾) 选择阿里云centos镜像站1、备份原有的CentOS-Base.repo到/etc/yum.repos.d/目录下,也可移动到自定义目录下mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS ...
分类:
系统相关 时间:
2020-05-24 16:47:23
阅读次数:
87
1、自建yum仓库,分别为网络源和本地源vim/etc/yum.repos.d/base.repoyumrepolist网络源:yumrepolist2、编译安装http2.4,实现可以正常访问解包并进入目录下载依赖包编译安装三大步./configuremakemakeinstall启动服务写入文件实现开机自动启动vim/etc/rc.d/rc.local服务启动成功3、创建一个2G的文件系统。块
分类:
其他好文 时间:
2020-04-06 23:57:10
阅读次数:
127