05 2022 档案

优化yum源
摘要:#!/bin/bash #备份原有的yum文件 cp /etc/yum.repos.d/CentOS-Base.repo{,.bak} #更新yum文件为阿里云,和epel curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyu 阅读全文

posted @ 2022-05-15 11:16 爱学习的渣渣 阅读(25) 评论(0) 推荐(0)

centos 7安装docker服务的脚本
摘要:#!/bin/bash #yum 安装包更新 yum update -y #卸载旧版 yum remove docker docker-common docker-selinux docker-engine -y #安装docker依赖包 yum install -y yum-utils devic 阅读全文

posted @ 2022-05-14 21:53 爱学习的渣渣 阅读(80) 评论(0) 推荐(0)

导航